[pmwiki-users] Excerpt from PTV?
Simon
nzskiwi at gmail.com
Tue Dec 9 17:58:57 CST 2008
See http://www.pmwiki.org/wiki/PmWiki/MarkupExpressions
On 10/12/2008, noskule at gmx.net <noskule at gmx.net> wrote:
>
> Russ wrote:
> > I have a site using Fox to accept content from a form and save the
> > fields as PTV's. Some forms submit multi-line content, but when
> > displaying those PTV's (i.e. through a page list) I don't necessarily
> > need the entire variable displayed, but would prefer to limit it to a
> > certain number of characters (i.e. show first 50 characters of each PTV
> > via a pagelist).
> >
> > Is this possible?
> >
> try something like this:
>
> {(substr "{*:$PTV}" 2 3)}
>
>
> grz nos
>
> > TIA,
> >
> > Russ
> >
> >
> >
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> >
> >
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
--
http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20081210/7614b579/attachment.html
More information about the pmwiki-users
mailing list