Fiji Web Design
Welcome, Guest
Please Login or Register.    Lost Password?
Re:mosLoadModules On Prepare (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:mosLoadModules On Prepare
#595
scorrea5 (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:mosLoadModules On Prepare 1 Year, 7 Months ago Karma: 0  
admin wrote:
$joomla_out = ob_get_contents();
ob_clean();
mosLoadModules ('position', 2); 
$modules_out = ob_get_contents();
ob_clean();

echo $joomla_out;

$row->text .= $modules_out;
QUOTE:
Sure.. In your code, check if you are on an article page. To do this you test for the URL parameters "option" and "task". The parameter "option" should be set to "com_content" and "task" should be "view". eg:
if (mosGetParam($_REQUEST, 'option') == 'com_content' && mosGetParam($_REQUEST, 'task') == 'view') {

// put your code in here.. 

}
Hello again!!! how i can do the same but for joomla 1.5 ???? thankyou!!!!
 
Report to moderator   Logged Logged  
 
Last Edit: 2009/01/14 09:57 By scorrea5.
  The administrator has disabled public write access.
      Topics Author Date
    thread link
mosLoadModules On Prepare
scorrea5 2008/08/12 13:33
    thread link
thread linkthread link Re:mosLoadModules On Prepare
admin 2008/08/13 08:34
    thread link
thread linkthread linkthread link Re:mosLoadModules On Prepare
scorrea5 2008/08/13 10:57
    thread link
thread linkthread linkthread linkthread link Re:mosLoadModules On Prepare
admin 2008/08/13 21:01
    thread link
thread linkthread linkthread linkthread linkthread link Re:mosLoadModules On Prepare
scorrea5 2008/08/14 10:59
    thread link
thread linkthread linkthread linkthread linkthread link Re:mosLoadModules On Prepare
scorrea5 2009/01/14 09:56
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Joomla Downloads

DownloadsDownload our free Joomla! Components, Modules and Plugins.