Memberspages - pages shown in TOC

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

Post Reply
Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Memberspages - pages shown in TOC

Post by Tata » Wed Apr 29, 2009 6:08 am

I have installed the plugin and have this page structure:

Code: Select all

<h1>Documents<h1>
<H2>Public</H2>
<H2>For Members Only Section</h2>
#cmsimple $output.=memberslogin();#
<H3>Memberspage 1</H3>
#CMSimple $output.=memberspage("Warning","100,101,2,301");$output.=wd_list('./downloads');#<A href="some_internal_link">LINK</A>
<H2>Warning</H2>
<P>#CMSimple hide#</P>
<P>You have no rights to enter this page.</P>
<H2>Login Error</H2>
<P>#CMSimple hide# </P>
<P>Wrong login and/or password. Try again!</P>
I have defined all paths and parameters in the config and set the hide_pages to true.
I also tried to move the Warning and Login Error pages to H1,H2, H3.
The problem is that I still see the memberspages in the TOC. The only visible shall be the Members Only Section page.
Have I missed something?
plugin version: 1.7, CMSimple 3.2, pluginloader>2.0 beta 9
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Till
Posts: 337
Joined: Tue May 20, 2008 7:20 am
Location: Germany: Bremen
Contact:

Re: Memberspages - pages shown in TOC

Post by Till » Wed Apr 29, 2009 7:32 am

Tata wrote:Have I missed something?
Maybe this thread?

The dropdown menus don't handle memberpages very well (or vice versa). And it seems that the DHTML menu version mikey and Jens are using shows the hidden toc items, although the pages are not accessible by people not possessing the right. Maybe, there are other DHTML toc versions which behave differently than that one described in the thread mentioned.

The CSS dropdown menu I am using does not show hidden toc items. However, as soon as somebody logs in the person sees all menu items, but can access only his own pages.

Till

beate_r
Posts: 174
Joined: Thu May 22, 2008 11:44 pm
Location: Hessen / Germany

Re: Memberspages - pages shown in TOC

Post by beate_r » Wed May 06, 2009 9:59 pm

Tata,

did You check if there is no empty line before the <DOCTYPE.. in the html sent to the browser? If the html code contains white space before the html output, memberspages does not work correctly (among other modules).

Beate

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Memberspages - pages shown in TOC

Post by Tata » Thu May 07, 2009 4:43 am

I don't use any dropdownmenu on the page and there is also no empty line before <DOCTYPE.
Have a look at http://spisskepodhradie.sk/?VZN_a_zapis ... komisii_MZ
If you need, I'll PM you the login.
There are now 2 login forms now (both in template and on the H2 page, but it makes not problem, though.
The accesslevels are:
admin - has access to the entire H2 section incl. H3
poslanec - has access to the entire H2 section incl. H3
clen - has access only to one of H3 sections
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply