ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Read n comments closing the <a> tag

Sadowskin 06 Oct, 2008
I know there's a new version coming up, but I don't know if it is for the plugin too...
The 'read n comments' link was had different html in IE and FF3.

On line 94 of the ChronoComments.php file of the plugin (under plugins/content/) it reads
$language = '<a href="'.JRoute::_('index.php?option='.JRequest::getVar('option').'&id='.$row->id.'&view=article#comments').'">'.JText::_( 'READ N COMMENTS' );

Shouldn't that be ?
$language = '<a href="'.JRoute::_('index.php?option='.JRequest::getVar('option').'&id='.$row->id.'&view=article#comments').'">'.JText::_( 'READ N COMMENTS' ).'</a>';
to close the <a>-tag?

And while we're at it give the link a .chronocommentslink class?
Because the <div class="chronocommentslink">... in the translationfile makes it a div inside a hyperlink, which isn't best css practice? I think that will only work in FireFox, btw not IE...

$language = '<a class="chronocommentslink" href="'.JRoute::_('index.php?option='.JRequest::getVar('option').'&id='.$row->id.'&view=article#comments').'">'.JText::_( 'READ N COMMENTS' ).'</a>';

Just my thoughts.
You can move this to Hacks, admin
Max_admin 06 Oct, 2008
Hi Sadowskin, please try V1.2 as its already out and let me know if you are still experience the same issue!

Cheers

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com