Categories
CMS Joomla Mastering Development

Router, keep only item alias in SEF URL

For a particular reason, I need to keep in the SEF URL only the alias of the item to have a URL like this www.mywebsite.com/**myItemAlias** but of course without creating a direct menu to the item because I need it to be automatic. My router code : // No direct access to this file defined(‘_JEXEC’) […]

Categories
CMS Joomla Mastering Development

Router, keep only item alias in SEF URL

For a particular reason, I need to keep in the SEF URL only the alias of the item to have a URL like this www.mywebsite.com/**myItemAlias** but of course without creating a direct menu to the item because I need it to be automatic. My router code : // No direct access to this file defined(‘_JEXEC’) […]

Categories
CMS Joomla Mastering Development

Router, keep only item alias in SEF URL

For a particular reason, I need to keep in the SEF URL only the alias of the item to have a URL like this www.mywebsite.com/**myItemAlias** but of course without creating a direct menu to the item because I need it to be automatic. My router code : // No direct access to this file defined(‘_JEXEC’) […]

Categories
CMS Drupal Mastering Development

Query to output title, alias and menu

I need a database SELECT query that will output the node title, alias, status and parent item for each node in our website. We are running Drupal 8. I’m brand new to Drupal and trying to find my way around. Help with this would be much appreciated! Thanks, Heather

Categories
Mastering Development System & Network

How to get a report of room mailboxes with Powershell

I tried to run this command. It runs smoothly but fields City and Country are not filled. What am I doing wrong? Get-Mailbox -RecipientTypeDetails RoomMailbox -ANR ‘de-‘ -Properties * | Select DisplayName,RecipientTypeDetails,alias,PrimarySmtpAddress,city,co | export-csv C:\Output\room-de2.csv

Categories
CMS Drupal Mastering Development

Pager for custom view query plugin which displays data from external api Drupal 8

Hi I have a requirement to display the data from external api but should not be imported into any entities. What I did is I have written a custom view query plugin which displays the data from external api. What I did is I have used the GuzzleHttp Client to get the data. Here is […]

Categories
CMS Drupal Mastering Development

Custom tokens breaking on upgrade to Drupal 9

I’m getting a crash on node save when my node contains a custom token. I’m using the Token Filter module to display tokens in node content. To make the tokens I followed this tutorial, which is similar to the Token documentation. Now, with Drupal 8.8, when I save a new node that contains one of […]

Categories
CMS Joomla Mastering Development

How to set article options and associations programmatically?

I work on a custom Joomla 3 module that creates articles programmatically based on user input. I can create the articles, but I could not find a way to set the article options and associations when the article is created. I found this article on where the options are stored in the Joomla DB, but […]

Categories
Mastering Development

Branch.io initSession returns empty BranchUniversalObject JSON and BranchLinkProperties JSON

I’m trying to add a sharing feature to my existing app using Unity Branch SDK. I created the short URL using the following code. BranchUniversalObject universalObject = new BranchUniversalObject(); BranchLinkProperties linkProperties = new BranchLinkProperties(); string deviceUniqueIdentifier = SystemInfo.deviceUniqueIdentifier; universalObject.canonicalIdentifier = $”xLeague/{deviceUniqueIdentifier}”; universalObject.canonicalUrl = “http://xleague.games/”; universalObject.title = MetaDataManager.Title; universalObject.contentDescription = MetaDataManager.Description; universalObject.imageUrl = MetaDataManager.Image; linkProperties.controlParams.Add(“$desktop_url”, “http://xleague.games/xleague-solitaire-share/”); […]

Categories
Mastering Development

Context hook interfares with React Navigation routing

My React Native (0.61.5)/React 16.9.0 app has nested 3 layer react navigation (5.x) routing structure like below: App.js (NavigationContainter/StackNavigator) SplashScreen.js AppScreen.js (TabNavigator) EventStackScreen.js (StackNavigator) Event.js (screen) Chat.js (screen) Newevent.js (screen) Editevent.js (screen) GroupStackScreen.js (StackNavigator) Group.js (screen) Newgroup.js (screen) ContactStackScreen.js (StackNavigator) Contact.js (screen) Newcontact.js (screen) *The file extension indicates that it is a single file. The […]