[pmwiki-users] Group Title?

Ben Wilson dausha at gmail.com
Thu Jun 1 14:00:22 CDT 2006


On 6/1/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > On 6/1/06, Ben Wilson <dausha at gmail.com> wrote:
> > > You know. I've never thought of this. What about having a title for a group?
>
> On Thu, Jun 01, 2006 at 12:53:11PM -0500, Ben Wilson wrote:
> > Something like:
> >
> > Markup("grouptitle", 'directives', "/\(:grouptitle(.*?):/e",
> > 'GroupTitle("$1");');
> > function GroupTitle($t) {
> >     global $FmtV;
> >     $t = trim($t);
> >     $FmtV['$GroupTitle'] = $t;
> > }
>
>
> My suggestion is:
>
>     {GroupAttributes$Title}
>
> and then place the title for the group as a (:title:) directive
> in the GroupAttributes page.
>
> Or, one could do
>
>     {Group.$Title}
>
> and place the group's title as a (:title:) directive in the
> group's home page.

I was anticipating it being in GroupAttributes, but wouldn't a page's
(:title:) override the group title in this context?

-- 
Ben Wilson
"Mundus vult decipi, ergo decipiatur"




More information about the pmwiki-users mailing list