Problem: Template VS Page Logic

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
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,

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 »

Anyone? It seems to be very easy to replicate on my end.

Thank you,

Zims
Post Reply

Return to “Modules/Add-Ons”