« Return to Thread: hiding sidebar for general users

Re: hiding sidebar for general users

by Lukas Renggli-2 :: Rate this Message:

Reply to Author | View in Thread

Hi Esteban,

> How do I hide sidebar for general users, and allow it for "admin"  
> users?
> I can took off +sidebar+ div from "environment " template... but  
> then I don't have the commands for admins neither.

If you have loaded Pier-Security you can set the view permissions of  
the side-bar to the admin only. This means you remove all the  
permissions from Group and Others of the side-bar page. In this case  
it won't be displayed.

> And here is another dumb question: Is there a way to have  
> "childrens" (from a children component) in a specific order?

I don't exactly understand what you mean by order. When you embed the  
children using links they are always inserted in a specific order.

        +first-component+
        +second-component+
        +third-component+

Lukas


>
> Thanks in advance,
> Esteban
>
> "Querer es suscitar las paradojas"
> Camus - El mito de Sísifo
>
>
> _______________________________________________
> SmallWiki, Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki

--
Lukas Renggli
http://www.lukas-renggli.ch



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

 « Return to Thread: hiding sidebar for general users

LightInTheBox - Buy quality products at wholesale price