[pmwiki-users] Markup in variable

Dominique Faure dominique.faure at gmail.com
Mon Mar 13 07:21:01 CST 2006


On 3/13/06, Peter Kümmel <syntheticpp at gmx.net> wrote:
> Hi there,
>
> pmwiki is great! The learning curve is so steep,
> but now I've a problem:
>
> I use a style were I could set a copyright variable,
> and I wanna replace the copyright notice with a picture,
> which needs to be packed into a markup (:pic:).
>
> This works,
>
> $SkinCopyright = '&copy; 2006 N.N.';
>
> but this not:
>
> $SkinCopyright = '(:pic:)';
>
> Any ideas?
>
>

Markup directives need to be interpreted (by the PmWiki internal
markup engine) to get html code. You may use the

    <!--markup:(:pic:)-->

pseudo-comment in your skin template to handle this, and refer to
http://www.pmwiki.org/wiki/Cookbook/SkinGuidelines for more tips about
skins authoring.

Dom




More information about the pmwiki-users mailing list