[pmwiki-users] Excerpt from PTV?
noskule at gmx.net
noskule at gmx.net
Tue Dec 9 06:12:52 CST 2008
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
>
>
More information about the pmwiki-users
mailing list