Hye!
i set my form to 'multi field row' and i can view it okay in firefox but not in ie nor chrome. The form just scattered. How do i fix this?
In "view data" why the 'cf_created' not showing the right time? the date is correct but not the time.
Thanks!
i set my form to 'multi field row' and i can view it okay in firefox but not in ie nor chrome. The form just scattered. How do i fix this?
In "view data" why the 'cf_created' not showing the right time? the date is correct but not the time.
Thanks!
Hi mat_rapit,
Usually this is a problem with a) incomplete <div> tags on the page; b) conflicts with CSS 'clear' statements or c) form elements being two wide for the space available.
If you use your browser web developer tools then you should be able to diagnose the problem here.
The cf_created is set using the PHP date() function which will use the current UNIX timestamp which will I think use the server timezone. If you are not in the same timezone as the server then this will be different. But note that your users may well be in other time-zones so you need to think through how you want to handle this.
You can set a PHP timezone (there's a Joomla! site setting that may do this); or you can set your own value for $form->data['cf_created'] using a Custom Code action before the DB Save action which will automatically over-write the default setting.
More on PHP and timezones from StacjOverflow
Bob
Usually this is a problem with a) incomplete <div> tags on the page; b) conflicts with CSS 'clear' statements or c) form elements being two wide for the space available.
If you use your browser web developer tools then you should be able to diagnose the problem here.
The cf_created is set using the PHP date() function which will use the current UNIX timestamp which will I think use the server timezone. If you are not in the same timezone as the server then this will be different. But note that your users may well be in other time-zones so you need to think through how you want to handle this.
You can set a PHP timezone (there's a Joomla! site setting that may do this); or you can set your own value for $form->data['cf_created'] using a Custom Code action before the DB Save action which will automatically over-write the default setting.
More on PHP and timezones from StacjOverflow
Bob
This topic is locked and no more replies can be posted.