[SOLVED] FEU Problems

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
schug.trent
Forum Members
Forum Members
Posts: 28
Joined: Sun May 18, 2008 7:53 pm

[SOLVED] FEU Problems

Post by schug.trent »

I have CMSMS version 1.5.1

Is anyone else having a problem with the FEU module with custom content?

When I login it doesn't display what it is supposed to. It should display some html located after the {if $customcontent_loggedin}. I have nearly the exact same code on a different site with an older version of CMSMS and it works fine.

Code: Select all


<table border="0" cellspacing="0" cellpadding="0" width="580" align="center">
<tbody>
<tr>
<td class="main2" width="580" align="center" valign="top"><br>
<p>{cms_module module=CustomContent}         {if $customcontent_loggedin}    {cms_module module=FrontEndUsers form=logout}  Thank You for logging in, please enjoy the coupons below.<br> {cms_module module='printing'}</p>
<table id="Table_01" style="height: 185px;" border="0" cellspacing="0" cellpadding="0" width="250" align="center" bgcolor="#ffffff">
<tbody>
<tr>
<td rowspan="3"><img src="coupons/images/coupons_01.jpg" alt="" height="185" width="25"></td>
<td colspan="2"><img src="coupons/images/coupons_02.jpg" alt="" height="75" width="225"></td>
</tr>
<tr>
<td class="main" height="88" align="center"><span class="medium">$5 Off</span><br> Get $5.00 off your check when you spend at least $25.00</td>
<td rowspan="2"><img src="coupons/images/coupons_04.jpg" alt="" height="110" width="27"></td>
</tr>
<tr>
<td><img src="coupons/images/coupons_05.jpg" alt="" height="22" width="198"></td>
</tr>
</tbody>
</table>
<p class="medium" align="center"> </p>
<p class="main">{else} <br> You must first log in before you can view the specials. <br>Your username should be your email address.  {cms_module module=FrontEndUsers form=login nocaptcha="1"}</p>
<p class="main">or</p>
<p class="large" align="center">{cms_selflink page="register" text="Click Here to Register"}</p>
<p>{/if}</p>
<p> </p>
<p> </p>
<br><br></td>
</tr>
</tbody>
</table>
Any ideas? is this a bug in the new version of CMSMS
Last edited by schug.trent on Wed Jan 07, 2009 8:18 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: FEU Problems

Post by Dr.CSS »

Are you getting any errors, you have the last if in a p...

{/if}
schug.trent
Forum Members
Forum Members
Posts: 28
Joined: Sun May 18, 2008 7:53 pm

Re: FEU Problems

Post by schug.trent »

Tried it both ways. No difference it doesn't leave the login screen when I submit the username and password.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: FEU Problems

Post by Dr.CSS »

Leaving login screen, you mean like it still says to login or?...
schug.trent
Forum Members
Forum Members
Posts: 28
Joined: Sun May 18, 2008 7:53 pm

Re: FEU Problems

Post by schug.trent »

correct. It just clears the forms is all pretty much.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: FEU Problems

Post by Dr.CSS »

I find it hard to read table based layouts but to me it doesn't look like the right syntax, have you tried to use the exact same code as the other 'working' site?...
schug.trent
Forum Members
Forum Members
Posts: 28
Joined: Sun May 18, 2008 7:53 pm

Re: FEU Problems

Post by schug.trent »

Yeah, it is really the same. The only difference is the content that shows up when you're logged in. The settings for custom content and everything else is the same too. Is anyone else having problems with this? Could it just be a bug?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: FEU Problems

Post by Dr.CSS »

Sometimes a link is the best bet...
schug.trent
Forum Members
Forum Members
Posts: 28
Joined: Sun May 18, 2008 7:53 pm

Re: FEU Problems

Post by schug.trent »

Yeah... But that's no fun!


Edit:

Figured it out. Used this:

Code: Select all

{if $ccuser->loggedin() && $ccuser->memberof('members')
Last edited by schug.trent on Wed Jan 07, 2009 8:18 pm, edited 1 time in total.
Post Reply

Return to “Modules/Add-Ons”