[pmwiki-users] fox-question: defining the traget's ptv's
Knut Alboldt
pmwiki at alboldt.de
Wed Mar 17 17:59:31 CDT 2010
Hi !
I'm using fox to create a new page calling it with:
[[#new]]
(:foxmessage:)
(:fox entryform put=top target='ID{$DTS}' ptvupdate=1
template=Templates#entry redirect=ID{$DTS}:)
(:include {$Group}.Templates#inputfields:)
(:foxend entryform:)
[[#newend]]
referring to the page format:
[[#entry]]
(:Auftraggeber: {$$Auftraggeber} :)
(:Ressort: {$$Ressort} :)
(:Erscheinungsdatum: {$$Erscheinungsdatum} :)
(:Ueberschrift: {$$Ueberschrift} :)
(:Unterzeile: {$$Redakteur} :)
(:Status: {$$Status} :)
(:Text:
{$$Text}
:)
[[#entryend]]
I thought to reduce the definitions I can the following call to create
new entries:
[[#new]]
(:foxmessage:)
(:fox entryform put=top target='ID{$DTS}' ptvupdate=1 pvtfmt=hidden
redirect=ID{$DTS}:)
(:include {$Group}.Templates#inputfields:)
(:foxend entryform:)
[[#newend]]
and deleting the [[#entry]]-section, to use the variables defined in the
#inputfiles-section, but I get an error-message:
Error: no target specified!
So I think I haven't got the the meaning of the ptvfmt-option ?
(all sections are placed within one template-page which is called for
all fox-actions)
Knut
More information about the pmwiki-users
mailing list