Hi Hans,

Thanks for the tips - I now have the auto row numbering working - making it visible for testing purposes but will turn it off later,
and I also now understand that I need to have a row suffix to the PTV to enable editing to locate the specific PTV.

I am now finding  that after I edit the PTV and I'm re-directed back to the original page the PTV is written at the bottom of the page.
i.e.   (:firstname52: freda:)   instead of updating the PTV in the original table where the template is showing (:cell:){$$firstname}

Do you have any advise on what I might be doing incorrectly with this step?

Best Regards

Graham





Hans wrote:
Tuesday, September 16, 2008, 8:24:23 AM, Graham Archer wrote:

  
 My challenge is that although I can get foxedit to work in the
example form, I can't get foxedit to work with the table rows with the row number removed.
    

Graham, I have no time to work through your particular problem, but I
can perhaps outline a general idea to do foxedits on table rows.

1. displaying or not displaying  a row number should not be that
important, but a rownumber needs to be generated to provide an ID for
various PTVs used in the table cells. Each PTV gets a rownumber
suffix, thereby making it unique in the page. we need to avoid same
PTV names in table rows.

2. the foxedit form should have input fields targeting these PTVs,
for instance (:input text name=$:surname{$EditSection} :)
to edit for instance a PTV in row 3 named 'surname3'.
Foxedit derives variable '{$EditSection}' from the section parameter,
i.e. the foxedit link markup {[foxedit section={$$number} form=....]}
(see also Mark's example on
http://www.pmwiki.org/wiki/Cookbook/Fox-Comments)
Make sure you use n edit form customised for PTV editing.

Hope this gives you some ideas!
You could also post  a comment on the Fox-Commnets page to ask Mark
directly what his foxedit form is like.

  ~Hans

  
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to