Forums

Print article without comments?

jminker 07 Sep, 2008
Hello Max🙂

I'm testing ChronoComments on my new Joomla test site and it looks like an excellent extension so far. Thanks for all your hard work.🙂

Question: Is there a way to print an article (using the Joomla print icon) without printing any comments or the ChronoComments text area?

Jim
Max_admin 07 Sep, 2008
Hi jminker,

good idea, open your plugins/content/ChronoComments.php file and find this line near the top:

JPlugin::loadLanguage( 'com_chronocomments' );


add below it :

if(JRequest::getVar('print') == '1')return;


let me know the results!🙂

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jminker 07 Sep, 2008
Max, that did the trick!

Thanks,
Jim
This topic is locked and no more replies can be posted.