Is there a way to add time range in a form search, eg. specify start time and end time? right now i have a drop down list with a few options. But we would like to let user specify a time range as what they wish to see.
asked 07 Nov '11, 21:14
If your dashboard is in advanced XML (you can convert it by adding ?showsource=1 to the end of your dashboard link, e.g
You can then use the code;
If you enclose all searches you want to inherit the time from this module by closing the module after them then as the user changes the selected time range it will update all searches.
To define the time ranges (other than default) you can edit times.conf (or create your own in the appname/local directory. See the following link for more detail;
answered 08 Nov '11, 04:08
In addition to Draineh's answer, this can also be done in simple XML. Just use
answered 08 Nov '11, 07:40