Hi V.

Try
$Test = PageVar($pagename,'$:test')

Don't ask me why it works. I use this method to pass a PTV to a template.

Rgds
Brian

*

*



On 30 December 2012 10:25, V.Krishn <[email protected]> wrote:

>
> On default page (Main.HomePage)
> http://<domain>/wiki/pmwiki.php
> I have set a ptv (:test: text123:)
>
> I am unable to use the PTV from config.php
> i.e by using PageTextVar($pagename,'test');
> but on page http://<domain>/wiki/pmwiki.php?n=Main.HomePage
> it is available.
>
> I hope its not a bug ?
>
> --
> Regards.
> V.Krishn
>
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to