The code below works for me, I don't know if for you is ok but hope can help. I can get file name and other parameters when submitting and the write the PTV when file is uploaded.
Regards, Edwin (:input file upfile size=45:) (:input submit post "Upload" :) (:input hidden File_Name {$$upfile_name}:) (:input hidden File_Size {$$upfile_size} :) (:foxptv ptvfields=File_Name,File_Size ptvtarget={$FullPage}:) On Tue, Mar 24, 2009 at 1:17 PM, noskule <nosk...@gmx.net> wrote: > hi list, hans > > Is there a way to write a ptv if a user uploads a file via fox upload > field? Something like > > if {$$upfile_name} != "" defaultpicture={$$upfile_name} > > If no upload takes place , the ptv "defaultpicture" should ne be > overwritten. > > Thanks for any hins > nos > > _______________________________________________ > pmwiki-users mailing list > pmwiki-users@pmichaud.com > http://www.pmichaud.com/mailman/listinfo/pmwiki-users >
_______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users