[pmwiki-users] FoxEdit & new sections

adam overton a at plus1plus1plus.org
Wed May 13 19:02:17 CDT 2009

hi hans
i'm running the 2008-07-03 version of fox (though i've also tried  
this with the most up-to-date version of fox)
and in my FoxTemplates.EditSectionForm page, i've tried adding  
ptvfmt=section to both:

(:fox editform foxaction=replace put=overwrite ptvfmt=section target= 
{$EditTarget}{$EditSection} redirect={$EditTarget}{$EditSection}:)

and to

(:foxtemplate ptvfmt=section "{$$text}":)

both of which still redirect me back to the same page with the  
FoxEdit link with the error message:
Error: cannot find section 'testSection2'

should i be putting ptvfmt=section somewhere else?

On 12 May 2009, at 12:44 AM, Hans wrote:

> Saturday, May 9, 2009, 1:35:23 AM, adam overton wrote:
>> is it possible to edit an absent/non-yet-existing section, and have
>> FoxEdit create and add it to the page?
> The creation of a not-yet-existing PTV is done by Fox, not FoxEdit.
> The hidden PTV is the default format. You can specify other formats in
> the Fox form (in your case the edit form called by FoxEdit) by adding
> a 'ptvfmt' parameter to the fox markup:
> ptvfmt=section will tell Fox to create a new PTV as an anchor section.
>   ~Hans

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090513/377a08d8/attachment-0001.html 

More information about the pmwiki-users mailing list