[pmwiki-users] PTV and Page Directive through Fox
Randy Brown
randy at brownragfilms.com
Sun Mar 23 04:07:16 CDT 2008
Sameer,
I wonder if "(:description...:)" is being assessed for the form page
rather than being put on the target page. If so, one solution might be:
(:foxtemplate "({$$null}:description {$$desc[]}:)":)
Then the description won't be interpreted on the form page, and will
thus be put on the target.
Just a guess. Hope it helps.
Randy
On Mar 22, 2008, at 10:40 PM, Sameer Kumar wrote:
> I am trying to insert both, a PTV and a page directive (:description
> This is a description:) through a Fox form. I have the following so
> far:
>
> (:fox featform:)
> (:foxptv {*$FullName} ptvfields=featured:)
> (:input textarea desc rows=4 cols=80:)
> (:input hidden featured '{$$(ftime)}':)
> (:input submit post 'Mark as Featured':)
> (:foxtemplate "(:description {$$desc[]}:)":)
> (:foxend featform:)
>
> I can get the PTV just fine but the page directive does not get
> inserted. I wonder if the (: and :) in the template are
> problemmatic...
> Or, is it the fact that I am trying two different fox actions:
> foxptv and foxadd through the same form?
> Can a page directive be inserted with fox at all?
>
> thanks!
>
> _______________________________________________
> 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