Skip to main content
43
results
Andrew Fletcher
In this instance, I'll check the beginning of the string.  I want to focus on the href's that start with /node/.  Which has been added using the variable $catchPhrase. Using the Drupal service path_alias to return the node.nid as follows: /** * Load the node nid from the URL alias. * * @param string $url URL string. * * @return any */ public function getNodeNidFromAlias($url, $phrase) { // Default values. $nid = null; ...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository,...
Andrew Fletcher
To sort through a multidimensional array seems to be a function that I...
Andrew Fletcher
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
Oh the treasure of a client coming to you with a site they have removed the previous dev on... treasure hunt.  Not. Anyway, gaining access to an old site, working through the errors I came across this deprecated code Deprecated function: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in common_check_language() (line 306 of /path/to/file).  What has happened and options available array_key_exists() became deprecated in...
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I...
Andrew Fletcher
Updating to PHP 8.1, I found this interesting code stop... Deprecated function:...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
In this article, you will learn how to update a newsletter template...
Andrew Fletcher
There are times when other Joomla! administrators of the site leave a page without tapping one of the methods to close it... save & close or close.  Subsequently, when a page hasn't been closed, a padlock appears to prevent another administrator's accessing the page(s) to make changes.  Great for content management, not so great if the person is uncontactable. Selecting this menu option allows Joomla! administrators to perform a global check-in of all currently pending or...
Andrew Fletcher
Cached data - keep it or clear it out? You might have noticed, but...
Andrew Fletcher
Adding a new user to your Joomla! website using Community Builder. Out of the...
Andrew Fletcher
In this article, I will show you how to update an existing member's details...
Andrew Fletcher
In this article, I'll show you how to create a new an Acy Mailing 5...