I am using in a forum display template a placeholder to be replaced by
info held in a PTV from an author's Profiles page:

In the template:
{Profiles.{$$author}$:info}

In the Profiles page:
(:info:some personal information here:)

Now if an author signs with spaces in the name, the PTV will not be
retrieved. If the author sign as 'Aunt Mabel' then
{$$author} becomes 'Aunt Mabel' and
{Profiles.{$$author}$:info} becomes {Profiles.Aunt Mabel$:info}
which fails.
{'Profiles.Aunt Mabel'$:info} does not work.
Profiles.AuntMabel is Aunt Mabel's Profiles page. The link function
eliminates the spaces successfully.

How can I make it work even with spaces in author names?


  ~Hans   


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to