Forums

[MOD] Don't load ChronoComments at frontpage

SoulEvil 20 Nov, 2008
Hi,
I dunt know have anyone posted. But by myself i have just modded it to save queries on my frontpage (that page you dont need to load ChronoComments plugin)

$uri = & JFactory::getURI();

$suri = $uri->getQuery(); 

if ($suri == "") {

}

else{

$mainframe->registerEvent( 'onPrepareContent', 'plgContentChronocomments' );

}
elvar 18 Mar, 2009
Sorry i do not get it.. Where exactly (which file) i need to change this code?

I will also exclude somoe categories to load ChronoComments at all (i know there is disable option in admin for it but it still loads css and js)

Thanks...
Max_admin 25 Mar, 2009
Hi, the file is plugins/content/chronocomments.php

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Maxvn 02 Apr, 2009
Hi Max,

I'm also looking for the solution for this problem, and could you give me a full support for this one. I need to know exactly what i have to do ?

Thank for your help,
Regard,
Maxvn
Maxvn 04 Apr, 2009
Thank Max,
It's really helpful, but i want to know how to remove all of chrono code in fontpage ?
Could you show me how to do this, i want to "diet" 😛 for my homepage so that it can easy to crawl by search engine ^^

Thank for your help

Regard,
Maxvn
Max_admin 15 Apr, 2009
Hi Maxvn,

I suggest you wait for the new ChronoComments release, I will fix all these issues!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Maxvn 17 Apr, 2009
Thank Max,
i will waiting for the new ChronoComments release.😀
soamz 03 Sep, 2009
Dude, this worked..
triumph, do boi, winny, thoi trang be gai, xe day tre em, do dung cao cap cho be, thoi trang cong so, vay lien cong so, ban buon quan ao, do lot[/url]

Hi,
I dunt know have anyone posted. But by myself i have just modded it to save queries on my frontpage (that page you dont need to load ChronoComments plugin)

$uri = & JFactory::getURI();

$suri = $uri->getQuery(); 

if ($suri == "") {

}

else{

$mainframe->registerEvent( 'onPrepareContent', 'plgContentChronocomments' );

}

warriorgov79 07 Sep, 2009
Thanks SoulEvil & soamz. It works, but it also took out the plugin from the rest of my site. Previous comments and the form disappeared from all articles. I had to remove the mod.

Aloha,
warriorgov79
This topic is locked and no more replies can be posted.