Advancedform_XH
Moderator: Tata
Advancedform_XH
I’m rebuilding the website for mij choir.
The advanced forms I have do not have a great visible lay-out.
I want to make the fields that have to be filled in better visable. Now you have to guess wher they are.
I’ve looked in de the css of the plugin, but I don’t know what to change there....
Can someone give a hint?
An example of such a form:
http://nieuw.perfectsound.org/?Actueel/Afmelden%3F
The advanced forms I have do not have a great visible lay-out.
I want to make the fields that have to be filled in better visable. Now you have to guess wher they are.
I’ve looked in de the css of the plugin, but I don’t know what to change there....
Can someone give a hint?
An example of such a form:
http://nieuw.perfectsound.org/?Actueel/Afmelden%3F
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: Advancedform_XH
By default Advancedform provides a table layout - which is unfavorable.
You could create a template for each of your forms in the Mail forms overview (2nd symbol "Create Template").
A *.tpl file will then be created for each form in the data folder. In addition, there is then a corresponding CSS file in the CSS folder.
If you now "examine" the individual elements in the browser, you can also design them according to your wishes.
Re: Advancedform_XH
Again, for a start I suggest to change this line to
Code: Select all
. '<form class="xh_mailform" name="' . $id . '" action="' . $sn . '?' . ($f === 'mailform' ? '&mailform' : $su) . '" method="post"'
Yes, the templating system is beneficial (after the form has been fully specified).
Christoph M. Becker – Plugins for CMSimple_XH
Re: Advancedform_XH
Yes, that also works here - but you just have to "fiddle" a bit more to make it look good.
Re: Advancedform_XH
Well, it's not that bad even without fiddling:
You do not have the required permissions to view the files attached to this post.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Advancedform_XH
I've just made the change in line 1051 of advfrm.php.
It's perfect!
Thanks
It's perfect!
Thanks
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: Advancedform_XH
But,
The lining of the text after the radiobuttons is unfortunately not good,
is there a way to change this lining?
=============================================
and in debug it says:
The lining of the text after the radiobuttons is unfortunately not good,
is there a way to change this lining?
=============================================
and in debug it says:
line 259 saysWARNING: sprintf(): Too few arguments
/home/sanjoy-arte.nl/public_html/nieuw.perfectsound.org/plugins/advancedform/admin.php:259
Code: Select all
sprintf($ptx['message_confirm_template'], $form['name'])
You do not have the required permissions to view the files attached to this post.
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)
Re: Advancedform_XH
Could you please post a link to that form?
What is the line with $plugin_tx['advancedform']['message_confirm_template'] in your language file (plugins/advancedform/languages/nl.php)? The original line in en.php is:
Code: Select all
$plugin_tx['advancedform']['message_confirm_template']="An possibly existing %1\$s.tpl and %1\$s.css file will be overwritten!";
Christoph M. Becker – Plugins for CMSimple_XH
Re: Advancedform_XH
Code: Select all
input[type="radio"] {
width: auto !important;
}
http://nieuw.perfectsound.org/?Overige/Contact
Re: Advancedform_XH
I've added in the CSS of advancedfiorm:
nothing changed.
Code: Select all
/* the submit and reset button */
div.advfrm-mailform div.buttons {
margin-top: 1em;
}
input[type="radio"] {
width: auto !important;
}
/*
* Back-end
*/
Rob Zeijen,
Valkenswaard (NL)
Valkenswaard (NL)