I tried Markup Expressions:
defined
$MarkupExpr['nospaces'] = 'preg_replace("/\\s/", "", $args[0])';
and use in the template
{Members.{(nospaces "{$$author}")}$:info}
This works, but fails in conditional markup. I am using conditional
markup to check if the PTV exists. Like:
(:if !equal {Members.{$$author}$:email} "":) .....
Well, I can abandon the conditional test and insert the PTV anyway.
If it is not there, nothing will show. I just have to do the link
formatting on the Profiles page, like
(:email:[[mailto:[EMAIL PROTECTED]|email]]:)
(:www:[[http://www.example.com|www]]:)
This is actually not so bad, as the email address can get scrambled by
the e-protect recipe, so it becomes in the page:
(:email:[[hidden-email:[EMAIL PROTECTED]|email]]:)
So, another FoxForum update on the way later today.....
~Hans
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users