Page 1 of 1

Couple of Questions

Posted: Thu Nov 16, 2006 5:10 pm
by k-r-c
Just found this cms. Seems really good.

Ive done some serious searching today but i havent found a definate answer to what i want.

Bascially using the frontendusers mod i will have roughly 5/6 groups with plenty of users in each group. I will have a site with roughly 8 pages, but certain users have access to certain pages. Now ive seen this is possible by protecting the page to the certain groups but my main problem is customising the menu so it only shows the pages they are allowed to access.

for e.g

i have page 1, page 2, page 3 and page 4.

But user 1 only needs to see pages 1-3 so i dont want page 4 to show up on the menu for this user. How would i go about this?

Also things i havent searched for yet, as i need something which is possible for what i need above is he ability for the groups to only be able to see certain news articles (perhaps just view the main category and a category which has been allocated to that group, and the same applies for downloads where they have their own category and a general for all to view category.


Hope that makes sense, and although i do have knowledge of web design, html etc this cms is pretty new to me so keep the answer as simple as possible.

Thanks in advance.

Re: Couple of Questions

Posted: Mon Nov 20, 2006 9:44 am
by k-r-c
Anyone?

Re: Couple of Questions

Posted: Mon Nov 20, 2006 10:41 am
by cyberman
Welcome in forum ...

If I've understood right you can do it with frontendusers and custom content module ...

http://dev.cmsmadesimple.org/projects/frontendusers/
http://dev.cmsmadesimple.org/projects/customcontent/

Re: Couple of Questions

Posted: Mon Nov 20, 2006 10:51 am
by k-r-c
I already have both of those.

Front End Users is great and so is custom content, but it doesnt solve the problem where i want different links in the menu for different groups (users).

What i want is something to show different links on the left for different users.

Re: Couple of Questions

Posted: Mon Nov 20, 2006 10:55 am
by cyberman

Re: Couple of Questions

Posted: Mon Nov 20, 2006 11:00 am
by k-r-c
Yeh thanks i saw that already but being new to this cms i didnt quite understand it, and was hoping for a more simple explanation.

Re: Couple of Questions

Posted: Tue Nov 21, 2006 11:15 pm
by cyberman
You have to replace your menu call with something like this

Code: Select all

<!--customContent: startif group=group1 -->
{menu template='simple_navigation.tpl' collapse='1' items="page-1,page-2,page-3"}
<!--customContent: endif -->
<!--customContent: startif group=group2 -->
{menu template='simple_navigation.tpl' collapse='1'}
<!--customContent: endif -->
Group1 has only access to page 1, page 2 and page 3. Group2 will see full menu.