How to check home page or not – Joomla
<?php if(JRequest::getVar(‘view’) == ‘featured’ ) : echo ‘ Home page'; else : echo ‘Inner page'; endif; ?>
View ArticleHow to check frontpage page or not – Joomla
<?php if(JRequest::getVar(‘view’) == “frontpage” ) { ?> Home page <?php } else { ?> Inner Page <?php }; ?>
View ArticleArticle name from article id in a module page – Joomla
<?php $dVar=new JConfig(); mysql_connect($dVar->host,$dVar->user,$dVar->password); mysql_select_db($dVar->db); $articleResult = mysql_fetch_assoc(mysql_query(“SELECT * FROM...
View Articlehow to add a new position – joomla 1.6
You can add a new position in joomla template by editing the “templateDetails.xml” . Example : <position>debug</position> This code to be added within the “<positions>’ tags.
View Articleinclude a module inside a content item – Joomla 1.6
The code “{loadposition POSITION-NAME}” will help you to add a module in the content . Follow the below given steps to include a module inside the content 1) Create a module from admin side and assign...
View ArticleDisable next and previous article – joomla 1.6
You can disable the text “Next” and “Prev” by disabling the plugin “Content – Page Navigation”
View Articleget admin email address in a component – joomla
$dVar=new JConfig(); $toAddres = $dVar->mailfrom;
View ArticleHow To Reset Admin Password – Joomla
1) Login to phpmyadmin and select db and the table (jos_users) that store users details ie table with name end with “_users”2) Make sure that the username exists in the table( let the user name be...
View ArticleHow to get article title
<?php $id= JRequest::getVar(‘id’); $objTitle = $article->load($id); echo $objTitle->get(‘title’); ?>
View Article
More Pages to Explore .....