Problem: Template VS Page Logic

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
zims
Forum Members
Forum Members
Posts: 13
Joined: Mon Mar 24, 2008 8:26 pm

Problem: Template VS Page Logic

Post by zims »

Hello,

This got no action in the Modules forum, so I'm posting it here, and hopefully someone will look at it.

I have a layout template that contains only the following line:

Code: Select all

{cms_module module="FrontEndUsers" form="login"}
I have a page (not cached) that uses this template, which displays the login form, as expected. However, when I click on the "Forgot Your Password" and "Forgot Your Login Details" links, I am taken nowhere. The links seem to bring me to the same login form that I am already on.

Now, I take the above line of code, and insert it into the page itself. In the template, I replace it with this:

Code: Select all

{content}
At this point, everything works correctly. Clearly, this is strange, because it only works when the {cms_module} tag is inside the page, not inside the template. Similar behavior occurs with other modules (e.g., News), not just Front End Users.

I'm running a default installation of CMSMS 1.2.3 with FrontEndUsers 1.4.2 and CustomContent 1.5 installed. No changes to any of the default templates have been made.

Thanks in advance to anyone who can shed some light on this.

Zims
zims
Forum Members
Forum Members
Posts: 13
Joined: Mon Mar 24, 2008 8:26 pm

Re: Problem: Template VS Page Logic

Post by zims »

*bump*
Post Reply

Return to “CMSMS Core”