Hello Community.
I am using Contao 4.3.1
is it possible to change the templates forin de templates like "mod_password"?PHP Code:
$this->fields;
Thanks
Hello Community.
I am using Contao 4.3.1
is it possible to change the templates forin de templates like "mod_password"?PHP Code:
$this->fields;
Thanks
You can try to build it up by yourself with the variables from the template.
But it's not as easy. You will need the captcha and more. And you don't know exactly which values arrive at different states.PHP Code:
<?php
$this->showTemplateVars();
?>
What are you trying to do? Maybe you can modify it by PHP string replace or with JS.
Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
Amazon wishlist
i would like to change the complete formfields like the "mod_login" thare i can change it to my needs.
I have a HTML template that i want to use and trying to make it like the HTML template.
I have a JS solution now but i dont like it because you can see the form changen when the page is loading.
I going to look into "$this->showTemplateVars()"
The "templatevars['fields']" are plain HTML.
is this not generated with php like " $this->fields['email']->generateWithError()" which i found on the DE forum?
There are multiple form_-Templates which you can try to change.
With JS you can set your form to display:none first and when JS has finished set it to display:block, or use opacity. Maybe with transition.
Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
Amazon wishlist
Thanks Andreas,
I have taken your advice and made it "display:none" until page has been fully loaded.
Bookmarks