InMotion Hosting Support Center
Section 1: Joomla 2.5 Templates - defined('_JEXEC') or die
_JEXEC is a variable defined in Joomla's main index.php file. When you check if the variable has been defined yet, you can learn whether a file is being accessed directly or is being included as it should.
Hits: 12,591
Section 2: Joomla 2.5 Templates - $showRightColumn
The $showRightColumn variable has a 1 or 0 value. If there are no modules being loaded in the right column, it has a value of 0, or false. Likewise, if modules are being loaded, it has a value of 1, or true.
Hits: 5,794
Section 3: Joomla 2.5 Templates - $this->countModules('position-3')
The $this-countModules() function returns the total number of active modules for the given position. In this tutorial, we'll show you how it works.
Hits: 10,511
Section 4: Joomla 2.5 Templates - $this->params->get('templatecolor');
When using $this-params-get() in a Joomla 2.5 template file, you can call the value of a parameter set by the user for the template. For example, if your template allows the user to enter the background color of the template, using $this-params-get you can grab the color the user entered.
Hits: 28,428
Section 5: Joomla 2.5 Templates - JFactory::getApplication()
While JFactory::getApplication() can be used in many different ways, it appears it is only used in the Beez2 template to get the value of the site's title and description (which are Advanced Options) for the template.
Hits: 36,497
Section 6: Joomla 2.5 Templates - JFactory::getDocument()
In the Beez2 template, JFactory::getDocument is called in order to tell Joomla to include an additional javascript file in the page.
Hits: 15,260
Section 7: Joomla 2.5 Templates - $this->
The $this variable is used quite often in the Beez2 Joomla 2.5 template, and it references the JDocumentHTML Object.
Hits: 6,130
Section 8: Joomla 2.5 Templates - $this->baseurl
In this tutorial, we'll show you how to use the $this-baseurl variable within a Joomla template to reference your site's URL.
Hits: 26,683
Section 9: Joomla 2.5 Templates - $this->template
$this-template in a Joomla 2.5 template can be used to get the folder name of the current template, which is helpful for dynamically creating URLs to css and other files.
Hits: 12,641
Section 10: Joomla 2.5 Templates - $this->language
The $this-language variable in Joomla 2.5 can be used to reference the current language being used, such as en-gb or es-es.
Hits: 7,039
Section 11: Joomla 2.5 Templates - $this->direction
$this-direction in a Joomla 2.5 template gives you access to the direction text has been set to (for example ltr - left to right).
Hits: 3,103
Section 12: How to add a new position to a Joomla 2.5 Template
In the following Joomla 2.5 template tutorial, we'll show you how to add a new position to your template.
Hits: 17,555
Section 13: Joomla 2.5 Templates - $files = JHtml::_(stylesheet)
$files = JHtml::_(stylesheet) is used in our Joomla 2.5 template's index.php file as a method of loading a css file, general.css
Hits: 7,066

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!