Frontpage and a few other questions

plazmatick 11 Jan, 2009
Hi,

Is it possible to put Insert comment text link underneath the last edited date in blog view.
Now it is below content but up from last edited info.

How to not show Insert comment text link on frontpage items?

muchos tenxos,
markus
Max_admin 12 Jan, 2009
Hi Markus,

#1 - in plugisn/content/chronocomments.php try to replace onAfterDisplayContent with onBeforeDisplayContent

#2- edit the same file at :
$language = '<br /><a href="'.$page_link.'#comments">'.JText::_( 'READ N COMMENTS' )."</a>";
				$row->text = $row->text.str_replace("{n}", count($blogcomments), $language);


Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
plazmatick 12 Jan, 2009
Hi admin,

I can't find onAfterDisplayContent in that php file.
GreyHead 12 Jan, 2009
Hi Markus,

I think he must mean line 5
$mainframe->registerEvent( 'onPrepareContent', 'plgContentChronocomments' );
That's where the PlugIn event trigger is set.

Bob
plazmatick 12 Jan, 2009
Hi GreyHead,

so i have to replace onPrepareContent with onBeforeDisplayContent?

I did so, and nothing changed. Comment link text is still up from last modified date.😟
Max_admin 12 Jan, 2009
Hi, ok try to use : onAfterDisplayContent instead ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
plazmatick 13 Jan, 2009
still the same thing. Like I did no changes at all!
Max_admin 13 Jan, 2009
Hi plazmatick,

Ok, may be I misunderstood something, can you show me a screenshot of how its now and how you want it to be and I will try to find something ? I'm very busy nowadays trying to finish a new version for another extension!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
plazmatick 16 Jan, 2009
Now it looks like this:
Frontpage and a few other questions image 1

Even contact form is upper than modified date:
Frontpage and a few other questions image 2


I'd like it to look like this:
Frontpage and a few other questions image 3

Frontpage and a few other questions image 4

in other word Chromo segment to be below Last Modified date.

thanx!
Max_admin 18 Jan, 2009
Please copy and paste here the code of your plugins/content/Chronocomments.php file and I will edit it and give you the final code, make sure you put your code between the code tags of the forums here!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger