[pmwiki-users] how to get pmwiki to use markups in a string
Patrick Ogay Evolution
lists at basel-inside.ch
Mon Aug 31 09:44:28 CDT 2009
when we look now to the bottomline
one sees an unresolved link markup.
which was assiged in config.php
$SkinCopyright = 'made and hosted by [[http://o-s.ch|OS-Services]] ©
VHC, Inc. All Rights Reserved 2009';
For a general solution and particlarly when I generate text in an addon,
I like to activate pmwiki-resolution for having the given environment
and markups. Particularly also $[multi language] variables and language
I tryed some things like (this is active).
the result was only to disturb pmwiki gobal substitution:-)
as seen in
thanks for help
On Mon, 2009-08-31 at 09:43 -0400, Peter Bowers wrote:
> I was unable to access the 2nd page (HomePage1).
> Without this example I'm somewhat unclear on what it is you are trying to do...
> On Mon, Aug 24, 2009 at 11:12 AM, Patrick Ogay
> Evolution<lists at basel-inside.ch> wrote:
> > Thanks for the first hint,
> > I tryed it a few things, but the sucess has not arrived yet:-)
> > I haven't found much examples of usage in the web,
> > so I tryed following things:
> > MarkupToHTML($pagename,$SkinCopyright));
> > $SkinCopyright=Keep(MarkupToHTML($pagename,$SkinCopyright));
> > $SkinCopyright=MarkupToHTML($pagename,$SkinCopyright,$SkinCopyright);
> > $SkinCopyright=Keep(MarkupToHTML($pagename,$SkinCopyright,
> > $SkinCopyright));
> > The last result was like this:
> > http://220.127.116.11/wprj/Boehm/index.php/Boehm/HomePage
> > (on the bottom strange signs, result of conversion)
> > also the calls above disturb pmwiki, and do not even touch the string in
> > the footer).
> > while without the call it looks "normal"
> > http://18.104.22.168/wprj/Boehm/index.php/Boehm/HomePage1
> > but as one sees, the footerline link, is what I like to convert in the
> > skin.php
> > regards
> > Patrick Ogay
> > On Sam, 2009-08-22 at 10:21 -0400, Peter Bowers wrote:
> >> On Sat, Aug 22, 2009 at 6:27 AM, Patrick Ogay
> >> Evolution<lists at basel-inside.ch> wrote:
> >> > Sometimes - particularly in cookbook recipes or skins - I like to
> >> > generate an formatted output, using the pmwiki environment and markup.
> >> >
> >> > How can I archive this.
> >> > Once I tryed to get a bold markup, but it did't work like this:
> >> >
> >> > PRR();
> >> > $src = "'''Titel'''";
> >> > $fmt = FmtPageName($src, $pagename);
> >> > $files .= "$pagename-$src";
> >> > $files .= $fmt;
> >> Rather than PRR() and FmtPageName() (neither of these are needed in
> >> this context) use MarkupToHTML().
> >> (This is assuming the formatted output you want is HTML.)
> >> After you've got the HTML then you'll probably need the Keep() function as well.
> >> -Peter
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
More information about the pmwiki-users