Search Result for: Joomla Category

Articles

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

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

Verify if your on the home page or default page from the menu module

This is yet another way to identify a page in Joomla. This is a very handy code to
Read More

Use code to verify featured pages

<? if(JRequest::getVar('view') == "featured") { ?>   Code to be displayed only on featued page which is also home page <? }
Read More