After migrating my form from 3.0 to 3.1RC2 the layout of my form is gone.
Another topic told that the style1.css was missing in com_chonoforms/css. Indeed it was, i placed the style1.css in the directory but not solved the problem.
When looking at the generated html code i saw this line
<!--[if gte IE 6]><link href="http://test.run4funkrimpen.nl/components/com_chronocontact/themes//css/style1-ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if gte IE 7]><link href="http://test.run4funkrimpen.nl/components/com_chronocontact/themes//css/style1-ie7.css" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if !IE]> <--><link href="http://test.run4funkrimpen.nl/components/com_chronocontact/themes//css/style1.css" rel="stylesheet" type="text/css" /><!--> <![endif]-->
The path to the style1.css is not correct, there are 2 dashes after themes//.
Can you look at this problem: You can finde the page at : http://test.run4funkrimpen.nl/informatie/inschrijfformulier.html
Another topic told that the style1.css was missing in com_chonoforms/css. Indeed it was, i placed the style1.css in the directory but not solved the problem.
When looking at the generated html code i saw this line
<!--[if gte IE 6]><link href="http://test.run4funkrimpen.nl/components/com_chronocontact/themes//css/style1-ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if gte IE 7]><link href="http://test.run4funkrimpen.nl/components/com_chronocontact/themes//css/style1-ie7.css" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if !IE]> <--><link href="http://test.run4funkrimpen.nl/components/com_chronocontact/themes//css/style1.css" rel="stylesheet" type="text/css" /><!--> <![endif]-->
The path to the style1.css is not correct, there are 2 dashes after themes//.
Can you look at this problem: You can finde the page at : http://test.run4funkrimpen.nl/informatie/inschrijfformulier.html
Hi wvanderspek,
As far as I can see that is because there isn't a theme set. I think that if you use the Transform Form icon on the toolbar you will be able to add one of the two default themes to your form and this problem will go away.
There does seem to be a bug in the code here too. For a quick workaround open chronocontact.html.php and look for these two lines around line 31
Bob
Later: edited to remove an extra (
As far as I can see that is because there isn't a theme set. I think that if you use the Transform Form icon on the toolbar you will be able to add one of the two default themes to your form and this problem will go away.
There does seem to be a bug in the code here too. For a quick workaround open chronocontact.html.php and look for these two lines around line 31
<?php JHTML::_('behavior.mootools'); ?>
<?php if((!trim($rows[0]->theme))||(trim($rows[0]->theme) == 'default')){ ?>
and replace them with these lines <?php JHTML::_('behavior.mootools'); ?>
<?php if (!trim($rows[0]->theme) ) { $rows[0]->theme = 'default' } ?> // insert this line
<?php if((!trim($rows[0]->theme))||(trim($rows[0]->theme) == 'default')){ ?>
Note: Not tested and may need de-buggingBob
Later: edited to remove an extra (
Hi Bob,
Thanx, I am going to fix it. You will here from me.
greetings,
Willem
Thanx, I am going to fix it. You will here from me.
greetings,
Willem
Bob,
I used the transfom form, but after that i am not able to set the default theme. When selecting my form and use the wizard edit button i get the message "Sorry but this form was not created using the wizard".
gr,
Willem
I used the transfom form, but after that i am not able to set the default theme. When selecting my form and use the wizard edit button i get the message "Sorry but this form was not created using the wizard".
gr,
Willem
Hi Bob,
Problem with layout is solved, i made a little change in the next line:
Now the layout is ok. Thanx.
Only the wizard edit does not work, see previous post.
greetings,
Willem
Problem with layout is solved, i made a little change in the next line:
<?php if(!trim($rows[0]->theme)) { $rows[0]->theme = 'default'; } ?>
Now the layout is ok. Thanx.
Only the wizard edit does not work, see previous post.
greetings,
Willem
Hi Bob,
Nice fix!
Hi Willem,
unfortunately, forms created using V3.0 can't be edited using the wizard on V3.1 RC2, you must have the form created using the wizard on V3.1 RC2 to be able to edit it there!
Cheers,
Max
Nice fix!
Hi Willem,
unfortunately, forms created using V3.0 can't be edited using the wizard on V3.1 RC2, you must have the form created using the wizard on V3.1 RC2 to be able to edit it there!
Cheers,
Max
Hi Max,
Thank you for our answer and quick support, also Bob.
For me it's not such a big problem, i can build it again in 3.2.
greetings,
Willem
Thank you for our answer and quick support, also Bob.
For me it's not such a big problem, i can build it again in 3.2.
greetings,
Willem
This topic is locked and no more replies can be posted.