Hi Max,
I have a problem with the comments link showing up in unwanted places. See examples here:
1. http://www.brackan.nu/index.php/hallar/aranaeshallen
2. http://www.brackan.nu/index.php/historik
1 is an Eventlist component page (from http://www.schlu.net/)
2 is a simple Category List Layout page (Joomla core)
I run a Joomla 1.5.7 installation.
Any ideas on how to get rid of 'em?
Best regards,
Bruno
I have a problem with the comments link showing up in unwanted places. See examples here:
1. http://www.brackan.nu/index.php/hallar/aranaeshallen
2. http://www.brackan.nu/index.php/historik
1 is an Eventlist component page (from http://www.schlu.net/)
2 is a simple Category List Layout page (Joomla core)
I run a Joomla 1.5.7 installation.
Any ideas on how to get rid of 'em?
Best regards,
Bruno
Hi Bruno,
Check this post :
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=17&t=11476#p16338
Regards
Max
Check this post :
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=17&t=11476#p16338
Regards
Max
Thanks. I searched the forums briefly for a solution before I posted, but didn't find it.
HOWEVER - it only solved no 2 in my original post. The unwanted link inside the Eventlist component page is still there. Sorry to bother you with these things, but I simply do not have enough PHP knowledge to understand how I can solve it myself... :?
/Bruno
HOWEVER - it only solved no 2 in my original post. The unwanted link inside the Eventlist component page is still there. Sorry to bother you with these things, but I simply do not have enough PHP knowledge to understand how I can solve it myself... :?
/Bruno
No problems, show me the fix code you added and show me the non SEF URL to the events page!
Regards
Max
Regards
Max
Ah! Got it. I changed line 17 in the ChronoComments.php plugin to:
Things now work perfectly again!
Thank you so much for your help!
/B
if((JRequest::getVar('option') == 'com_newsfeeds')||(JRequest::getVar('option') == 'com_contact')||(JRequest::getVar('option') == 'com_eventlist'))return;
Things now work perfectly again!
Thank you so much for your help!
/B
Great, Thanks!
Hi Max,
Sorry to be such a pain. I have the "Read XX Comments>>" bug on pages with Section/Category lists; SEF turned on and "Add suffix to URLs" off in Joomla ( 1.5.8 ) global config.
All of the links point to: mydomain.com/submit-an-article#comments.
Can't find exactly where in the /plugins/content/ChronoComments.php file to apply the fix; nothing in my error log. Help appreciated. Thanks...
Aloha,
warriorgov79
Sorry to be such a pain. I have the "Read XX Comments>>" bug on pages with Section/Category lists; SEF turned on and "Add suffix to URLs" off in Joomla ( 1.5.8 ) global config.
All of the links point to: mydomain.com/submit-an-article#comments.
Can't find exactly where in the /plugins/content/ChronoComments.php file to apply the fix; nothing in my error log. Help appreciated. Thanks...
Aloha,
warriorgov79
Got it!
After:
Added:
After:
if((JRequest::getVar('print') == '1')&&($configs->get('disable_onprint') == '1'))return;
Added:
if(JRequest::getVar('view') == 'section')return;
if(JRequest::getVar('view') == 'category')return;
great!
This topic is locked and no more replies can be posted.