[pmwiki-users] Directive Help
DaveG
pmwiki at solidgone.com
Sun Sep 25 11:24:26 CDT 2005
Well, it does work now. I worked on it for a few hours, changing the
directive name, style, etc, but I couldn't get a second directive
working. Only thing I can think of is that FileZilla or caching was
causing a problem. I was doing a 'shift-reload' to force a refresh on
the browser though, which I presume would mitigate a caching issue. I'll
try a new FTP client and see if that helps. Very frustrating :)
~ ~ Dave
Patrick R. Michaud wrote:
>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