[pmwiki-users] Directive Help

Patrick R. Michaud pmichaud at pobox.com
Sun Sep 25 08:54:13 CDT 2005


On Sat, Sep 24, 2005 at 11:29:22PM -0400, DaveG wrote:
> I have this in my config.php:
>   Markup('^Categories:', 'directives', '/^Categories:/','%p 
> categories%<b>Categories</b><br /> ');
>   Markup('^Category:', 'directives', '/^Category:/','%p 
> categories%<b>Categories</b><br /> ');
> 
> The Category one works correctly, the Caterories does not seem to apply 
> the formatting. I don't see any immediate difference... anyone help? 
> Example: http://www.solidgone.com/pmwiki/index.php?n=Main.WikiSandbox

Did you get it working?  It appears to be working now -- here's the
results of "view source" on your WikiSandbox...

    Category: ABC 

produces

    <p class='categories' ><b>Categories</b><br />  ABC
    </p>

and 

    Categories: DEF

is producing

    <p class='categories' ><b>Categories</b><br />  DEF
    </p>

Pm




More information about the pmwiki-users mailing list