News and returning from entering Comments problem
Posted: Sat Jun 17, 2006 12:26 am
My site for film editors society in Norway is up and running CMSMS v 0.13, News 2.03 and Comments 1.6.
I am using a different page for displaying some News details - not the one that contains the news tag itself.
This detailpage has no vertical menu so there is more room horisontally for content. This is for articles published through the news module.
The news [more]link works and the newsdetail displays fine in this detailpage and so does the link for adding comments and the comments that already have been entered.
BUT: When a new (or the first) comment is entered and the Submit button is clicked - or the cancel button is clicked - and one is supposed to return to the previous page including the (new) comments this does not happen. Instead one is returned to an empty detailpage.
How can I fix it so I return to the detailpage WITH the news/comments when submitting/canceling the comment?
Try it out: www.filmklippere.com/index.php?page=magasinet click on the [les mer] link under the picture and ad a comment or cancel it before submitting. (Send=Submit, Avbryt=Cancel)
I am using a different page for displaying some News details - not the one that contains the news tag itself.
Code: Select all
{cms_module module='news' dateformat="%d.%m.%Y" category='Publisert, Artikkel' number='4'
moretext='les mer' summarytemplate="summary3sistepubl.tpl"
detailtemplate="detailonly.tpl" detailpage="69" lang="nb_NO"}This detailpage has no vertical menu so there is more room horisontally for content. This is for articles published through the news module.
The news [more]link works and the newsdetail displays fine in this detailpage and so does the link for adding comments and the comments that already have been entered.
BUT: When a new (or the first) comment is entered and the Submit button is clicked - or the cancel button is clicked - and one is supposed to return to the previous page including the (new) comments this does not happen. Instead one is returned to an empty detailpage.
How can I fix it so I return to the detailpage WITH the news/comments when submitting/canceling the comment?
Try it out: www.filmklippere.com/index.php?page=magasinet click on the [les mer] link under the picture and ad a comment or cancel it before submitting. (Send=Submit, Avbryt=Cancel)