<jdoc:include type=”modules” name=”POSITION-NAME” />
Example : <jdoc:include type=”modules” name=”position1″ />
The above mentioned code will load all the modules that are assigned to the position “position1”
<jdoc:include type=”modules” name=”POSITION-NAME” />
Example : <jdoc:include type=”modules” name=”position1″ />
The above mentioned code will load all the modules that are assigned to the position “position1”
<?php echo $this->baseurl ?>
<?php echo JURI::base(); ?>
<?php
$app = JFactory::getApplication();
$templateDir = JURI::base() . ‘templates/’ . $app->getTemplate();
echo $templateDir;//template path
?>
<?php $editor =& JFactory::getEditor(); echo $editor->display( 'story', $story , '600', '300', '5', '2' ); ?>
<?php $dVar=new JConfig(); echo $dVar->dbprefix //jos_ ?>
<?php $user = & JFactory::getUser(); if($user_id=$user_id=$user->get('id')) echo "Logged in user" ?>
<?php $user = & JFactory::getUser(); echo $user_id=$user_id=$user->get('id'); ?>