[pmwiki-users] Group Title?

Patrick R. Michaud pmichaud at pobox.com
Thu Jun 1 12:59:09 CDT 2006


> 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.

Pm






More information about the pmwiki-users mailing list