Search Result for: Development Category

Articles

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

Create a New directory

User the following code in terminal to create new
Read More

Get the page title

Use the following code to get the page
Read More

Check if a module exists and then display

Use this code to check if a module exists and only then
Read More

Installing PHP GD

PHP is not limited to creating just HTML output. It can also be used to create and manipulate image files in a variety of different image formats, including GIF, PNG, JPEG, WBMP,
Read More

Get site name

Use the following code to get the site name in
Read More

Display the module position

Use the following code to display the module position <jdoc:include type="modules" name="left" style="xhtml" /> Specify the position “left” “right”
Read More