> Is is possible to access the section_id in the
> pagelayout.tpl or any of the templates?
>
> I've tried {$node.section_id} and {$section.section_id} to > no avail.
> > Is is possible to access the section_id in the
> > pagelayout.tpl or any of the templates?
> >
> > I've tried {$node.section_id} and {$section.section_id}
> to
> > no avail.
>
> $DesignKeys:used.section
>
> is what you are looking for. > Bruce
> > > Is is possible to access the section_id in the
> > > pagelayout.tpl or any of the templates?
> > >
> > > I've tried {$node.section_id} and
> {$section.section_id}
> > to
> > > no avail.
> >
> > $DesignKeys:used.section
> >
> > is what you are looking for.
> > Bruce
>
> That is it, thanks Bruce,
> > Mike
$DesignKeys is a way to know the section you are actually in. In order to retrieve a section assigned to a current content object you may issue:
let sectionID=cond(is_unset($node),'0',$node.object.section_id)
> > > > Is is possible to access the section_id in the
> > > > pagelayout.tpl or any of the templates?
> > > >
> > > > I've tried {$node.section_id} and
> > {$section.section_id}
> > > to
> > > > no avail.
> > >
> > > $DesignKeys:used.section
> > >
> > > is what you are looking for.
> > > Bruce
> >
> > That is it, thanks Bruce,
> >
> > Mike
>
> $DesignKeys is a way to know the section you are actually
> in. In order to retrieve a section assigned to a current
> content object you may issue:
>
> let > sectionID=cond(is_unset($node),'0',$node.object.section_id)
An easier way: let sectionID=first_set($node.object.section_id,0)