Page 1 of 1

[SOLVED] Protected content issue

Posted: Sat Dec 08, 2012 5:20 pm
by nervino
Hi, if I set a page's content type as "Protected Content", the "Permissions" and "Option" tabs have the same content (in both tabs you can choose a list of FEU groups that may have access to the page).
I'm using cmsms 1.11.3 and FrontEndUsers 1.21

Is it a bug..or it's me?

Thank you

Re: Protected content issue

Posted: Sat Dec 08, 2012 6:10 pm
by calguy1000
just tested. works fine here.

Re: Protected content issue

Posted: Sat Dec 08, 2012 6:32 pm
by nervino
I had upgraded from 1.11.2.1 to 1.11.3. Maybe something went wrong.
I'll try to do a 1.11.3 fresh install.

Thank you

Re: Protected content issue

Posted: Sun Dec 09, 2012 3:57 pm
by nervino
Well, I've found that the issue is due to an additional TAB that I added in the template.

In the template I put:

Code: Select all

{content block=help label="Help Text" assign=helptxt tab=Help}
{if $helptxt}
<div id="triggerhelp">Help</div>
<div id="helptxt" class="alert alert-info alert-block" style="width:920px;display:none;">
{$helptxt}
</div>
<div style="clear:both;"></div>
{/if}
this code generates a tab called "Help" That I use to add help text for the page.

The issue only occurs when the page content is set to "Protected Content".
If I remove the content block from the template, the options tab has the correct content.

Is my way of add a tab wrong?

Re: Protected content issue

Posted: Sun Dec 09, 2012 4:04 pm
by calguy1000
No its actually a bug in FEU... fixed in svn.

Re: Protected content issue

Posted: Sun Dec 09, 2012 4:52 pm
by nervino
Great! Thanks.