Forums / Developer / people on a web 's ez P

people on a web 's ez P

Author Message

jb bianchi

Saturday 06 August 2005 11:25:45 am

Konrad Mazurkiewicz

Saturday 06 August 2005 12:37:44 pm

Hi,
use for example in pagelayout.tpl and find groups

{$current_user|attribute(show,2)}

jb bianchi

Saturday 06 August 2005 4:11:54 pm

thank's for your answer but I do it and I try this:

{if eq($main_parent_node_id,13)}
hello 
{elseif eq($main_parent_node_id,199)}
  no
{elseif eq($main_parent_node_id,210)}
yes
{else}
either
{/if}

if i'm anonymous it shows either, if I'm administrator or editor1 or editor2 it shows hello.
never yes or no...

jb bianchi

Saturday 06 August 2005 4:25:47 pm

sorry it's fault.
In fact i do this

{if eq($current_user.main_parent_node_id,13)}
hello 
{elseif eq($current_user.main_parent_node_id,199)}
  no
{elseif eq($current_user.main_parent_node_id,210)}
yes
{else}
either
{/if}

but no change.

jb bianchi

Monday 08 August 2005 1:45:37 am

i have a new prblem. If I do this u=in the pagelayout.tpl :

{$current_user.contentobject.main_parent_node_id}
it shows nothing.

But If I do it in the flat_top.tpl, this code shows the good number of the user.

How can it's possible.

thank's