Joomla Create Plugin For Custom Component

956 Views

In this tutorial I will show you how to create a custom plugin for your Joomla extension. This allows you to extend your component to other developers.

Joomla Redirect User With Code

637 Views

This tutorial I will show you how to redirect users in your custom Joomla component. You can also send a message such as a success, warning, info.

Load Layout From Another View

636 Views

There are many times in Joomla when you need to include a layout from another view, this could be a side bar or a view that contains items that should be on each pages.

Format Date In Joomla

705 Views

In this tutorial I will teach you how to format the date. The date can be from an article, an extension or even the current date.

Get Files In Directory

568 Views

In this tutorial I will teach you how to get a list of files in any directory using PHP.
Here we enter the path to the folder that we want to list the items inside images/people

// Search the people folder
foreach (new DirectoryIterator('images/people') as $file) {

// If this is a file then get the name
  if ($file->isFile()) {
      echo $file->getFilename() . "\n";
  }
}

That’s it. If you find this tutorial useful, leave a comment.

Weeks Between Two Dates

526 Views

In this tutorial I will teach you how to get the weeks between two dates in PHP 5 and above.

PHP Calculate Percentage

1602 Views

In this tutorial I will teach you how to calculate percentage increase and percentage decreased in PHP.

Welcome to Western Studios

We provide professional website and mobile softwares including Joomla, Wordpress and more.