Hi,
The solution for now is in Artio Joomsef -> Extension Manager -> JComments
Handling = Don't SEF
But i found other bug, i think.I implemented jcomments in a our component (com_swphotogallery) that we show photos.
http://www.portugal-live.net/P/gallery.htmlEverthing working well, but the problem is when i receive one e-mail for new comments and i use the quick moderation.
When i click in publish, tis process the url:
/index.php?option=com_jcomments&task=cmd&cmd=publish&id=145&hash=99802cd0efa5b101837aa97cf04e285f&format=raw&lang=p
then go to home page and show /index.html#comment-145
I Don't know, but we need to change the getCmdLink function to redirect, after finnish the $cmd, to the
./com_jcomments/tpl/default/tpl_email_administrator.php:
function getCmdLink($cmd, $title, $comment)
{
$link = JCommentsFactory::getCmdLink($cmd, $comment->id);
return '<a href="' . $link . '" title="' . $title . '" target="_blank">' . $title . '</a>';
}
In my component com_swphotogallery tpl, i inserted the code:
<?php
/* Implement the Jcomments Component */
$comments = JPATH_SITE.DS. '/components/com_jcomments/jcomments.php';
if (file_exists($comments)) {
require_once($comments);
echo JComments::showComments($this->photo->id, 'com_swphotogallery', $this->photo->name);
}
?>
Other problem is when the visitors write a new comments, ythis not send the $this->photo->name
Any help? Thanks.
Bruno Azevedo