Search Result for: Development Category

Articles

Get an Article ID

Use the following code to get the ID of an
Read More

Display the main Joomla content

Using the following code to display the main Joomla article
Read More

Use the following code in Javascript to scroll #Anchol links to #Anchor points

//scrolling jQuery('a[href*=#]:not([href=#])').click(function() { if (location.pathname.replace(/^\//,'') === this.pathname.replace(/^\//,'') || location.hostname ===
Read More

Remove blue focus lines around links or selections

Add the following code to you CSS to remove the blue outlined when focusing on an
Read More

Adding SSH Key in BitBucket repository in 2 minutes

Use the following steps to establish a connection with a BitBucket repo using an SSH
Read More

DigitalOcean WordPress Droplet – Unable to upload to uploads folder issue

perform the following commands in SSH on your droplet. sudo chown -R www-data:www-data /var/www/wp-content/uploads and sudo chmod -R 774 /var/www And then give access to the
Read More

Unable to upload files, NGINX / Ubuntu / WordPress

I could not upload images on a new droplet created in Digital Ocean. Specifications of the droplet: Ubuntu server running NGINX. I ran the following script to change permissions
Read More

Script to create basic calling link to website

Simple script to create a call back link, that will mainly be useful on mobile
Read More

Check login status of user in joomla

Use the following script to check if the user is logged into or logged out of Joomla <?php if(JFactory::getUser()->guest) { //do user logged out stuff echo 'Login'; } else
Read More