HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Breadcrumbs

Login / Search

 [ Join | More ]
 Add topic 
Posted
Item has a rating of 5 (Liked by Guest)  
Rating:
#90761 (In Topic #18322)
Avatar

Fan in action

Removal/disabling breadcrumbs

Hi guys n gals,
Is there anyway of being able to disable breadcrumbs to anyone lower than a admin?

Cheers

Be gentle, I'm new to this :)
Back to the top
 
Posted
Item has a rating of 5 (Liked by Roy 'a Day' Jones)  
Rating:
#90765
Avatar

Community saint

This is no global option that I am aware of but you can modify the templates easily enough.

Just add the following code to check if the current user is admin:

Code

{+START,IF,{$IS_ADMIN}}

// Place existing breadcrumb code here

{+END}


You will need to modify several templates. To find them just search the templates for "breadcrumbs".

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: