The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Field 'last modified' - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8) +--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16) +--- Thread: Field 'last modified' (/showthread.php?tid=5) |
Field 'last modified' - maxx - Jan 18th, 2009 I am using a test installation of form tools beta with the old petition form (just updated today). If I go to submissions/view and than edit any data set, I find there a the correct input for 'last modified' (at first same as 'date'). If I go to 'display' and than 'click here' to view the file there all data sets show for 'last modified': Nov 30th, 12:00 AM. What's going wrong? Other Question: Can I show the view file (html) with all data sets with a static url (public viewing of all subscribers for a petition form)? maxx RE: Field 'last modified' - Ben - Jan 18th, 2009 Hey Maxx, Thanks for the post! The first problem is actually a bug with the Export Manager. I'll include a fix for this in the next release (later tonight or tomorrow). But that will only affect people doing fresh installations. To fix it, do the following:
The problem was that that line incorrectly referenced the wrong variable for the last modified date field. If you don't have any luck with it, wait until I release the updated Beta version of the Export Manager (soon!), uninstall the module from within Form Tools, then upload the new version to your server and do a fresh install. That'll fix it! Concerning your second problem, this is a job for the API! This page explains exactly how to do it: http://docs.formtools.org/api/?page=ft_api_show_submissions That's a function that was written for this very purpose. As with most things around here (!) it's very new and I've only tested it with earlier versions of the code. So be sure to post back if you run into any trouble or my documentation isn't clear. - Ben RE: Field 'last modified' - maxx - Jan 19th, 2009 Thank you so much Ben, I will try to get it work and if I run into any trouble, it doesn't hurt because I'm only do it for testing/learning :-). maxx |