1
Hello
I have Made a private Module , I have Problem with Comments post ..
When Comment Posted it redierect the Browser to Comment ID Not found. and i know why but cant figuer out how to solve it.
$modversion['hasComments'] = 1;
$modversion['comments']['itemName'] = 'pid';
$modversion['comments']['pageName'] = 'view.php';
as u can see the comment itemname is 'pid'
Now the Comments add Ok the Problem Only with the Redierect after the comment posted .. it dose not redirect me to none cooment .. the Reason is in the View page i Use 'cid' and 'pid' .. where cid is Category Id and pid is the item Id ..
so the redierect url looks like this
view.php?pid=4&com_id=8&com_rootid=8&com_mode=thread&com_order=0#comment8
when the redirect url should include the cid like this
view.php?cid=1&pid=4&com_id=8&com_rootid=8&com_mode=thread&com_order=0#comment8
So How to Fix it where the Redierect url includes cid ..