[Solved] Comments Module - prevent replacement of content-block
Posted: Thu Nov 08, 2007 12:33 am
Hi there,
it is a long road to build a dream-site for someone not that experienced with programming. However, I learn a lot. Which on the one hand doesn't let me progress as fast as I'd like. On the other hand, since I work on my CMSMS-site I learned more about practical web-desgn than probably ever before!
However, I came across another problem I can not solve on my own. It's a, hopefully small, problem with the comments module. It works great until someone makes an mistake. In that case, it looks like the page is reloaded and the usual content-block {content} in my template is replaced with the content of the comments template. However, the comments area is also displayed in it's intended place in the template (both comments areas show different captcha codes).
The html source I looked at, supports my guess. Exactly where the content of the content-tag should be nested, I find the output of the comments template with the error codes. The comments form below (where actually intended) does not show the error messages.
I disabled all options, took the default template, but still, when an input error occures, the content block is replaced. I realised, that the index.php is called directly and not the articles url when an error occurs (also happens when url-rewrite is off).
I wonder if anyone had the same problem and if so, what settings did you make? Has anyone an idea of what this could be?
I run on the latest official cmsms release.
best regards
nils
it is a long road to build a dream-site for someone not that experienced with programming. However, I learn a lot. Which on the one hand doesn't let me progress as fast as I'd like. On the other hand, since I work on my CMSMS-site I learned more about practical web-desgn than probably ever before!
However, I came across another problem I can not solve on my own. It's a, hopefully small, problem with the comments module. It works great until someone makes an mistake. In that case, it looks like the page is reloaded and the usual content-block {content} in my template is replaced with the content of the comments template. However, the comments area is also displayed in it's intended place in the template (both comments areas show different captcha codes).
The html source I looked at, supports my guess. Exactly where the content of the content-tag should be nested, I find the output of the comments template with the error codes. The comments form below (where actually intended) does not show the error messages.
I disabled all options, took the default template, but still, when an input error occures, the content block is replaced. I realised, that the index.php is called directly and not the articles url when an error occurs (also happens when url-rewrite is off).
I wonder if anyone had the same problem and if so, what settings did you make? Has anyone an idea of what this could be?
I run on the latest official cmsms release.
best regards
nils