Forums

Issues following upgrade RC4.11 to RC 5.0

jbudd 31 May, 2009
1. All my forms (based on the submit content form) now display 'date("w"): 0' above the form title.
This comes from line 312 of cf_watchman.php:
// Check day of the week
echo 'date("w"): '.print_r(date("w"), true ).'</div>';
if ( $params->get('days') && !in_array( date('w'), $params->get('days')) ) {
   $redirected = self::redirect('days', $params, 'Days of the week ('.implode(', ', $params->get('days')).') '.date('w').'');
}


2.I had to replace all occurrences of '<div class="clear"> </div>' with '<div class="cfclear"> </div>' in my form code to fix messed up screen layouts.

3. form_element has been given a width (85%) which forces each field onto a new line. Previously I could get multiple fields on a line by omitting '<div class="clear"> </div>'

4. Various classes (?) which had a CSS specified width in 4.11 have no width in 5.0 - so for example an input field which was 150px now expands to fill the line (unless the field width is specified).
GreyHead 31 May, 2009
Hi Jbudd,

Apologies for the Watchman bug, that was an oversight om my part. You can just comment out the line.

Not sure about the root causes of the others though - I haven't seen many reports of them.

Bob
Max_admin 01 Jun, 2009
Hi Jbudd,

#2,3,4 was done to limit the conflicts between the form CSS and other CSS in the same page and make the form layout more flexible, many users didn't like the default 150px size!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jbudd 01 Jun, 2009
Thanks for the replies.

More flexibility in form layout is a good thing!

I'm puzzled by you giving form_element a width of 85% though since it prevents multiple fields on a line.
This topic is locked and no more replies can be posted.