[pmwiki-users] PTV on default page
Brian Tibbels
brian.tibbels at clickmarlow.co.uk
Sun Dec 30 20:27:57 CST 2012
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 <vkrishn4 at gmail.com> 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
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20121231/4bbb7fc6/attachment.html>
More information about the pmwiki-users
mailing list