Hi, I have problem with editing the theme.
I've already edited the elements.php on Default them,
but this has no effect on the form(cleaning joomla cache is also has no effect.)
what is the solution ? or If editing elements.php has no effect, What is the actual file I should edit ?
thanks
I've already edited the elements.php on Default them,
but this has no effect on the form(cleaning joomla cache is also has no effect.)
what is the solution ? or If editing elements.php has no effect, What is the actual file I should edit ?
thanks
Hi blakex,
Whats the path for the file you edited ? and what are you trying to achieve ? this will help me tell which file should be edited!
remember that you can simply add a complete new theme and transform to it instead of editing the default one!
Regards
Max
Whats the path for the file you edited ? and what are you trying to achieve ? this will help me tell which file should be edited!
remember that you can simply add a complete new theme and transform to it instead of editing the default one!
Regards
Max
the path is components/com_chronocontact/themes/default/elements.php -> no effect
if I edit on /administrator/components/com_chronocontact/themes/default/elements.php , it also has no effect
my purpose is I want to remove : <div class="cfclear"> </div>
if I edit on /administrator/components/com_chronocontact/themes/default/elements.php , it also has no effect
my purpose is I want to remove : <div class="cfclear"> </div>
Hi blakex,
You probably don't need to delete the div - just change the css for .cfclear. You can set display:none to hide it completely.
Bob
You probably don't need to delete the div - just change the css for .cfclear. You can set display:none to hide it completely.
Bob
Hi,
to delete the div is just the beginning,
for further scenario I want to restructure all the page for integrating with my design. (just edit the css not solving my problem)
further experiment,
I create folder with the name Theme2 and copy default theme folder to Theme2. ---> Still not work.
how to solve this problem?
to delete the div is just the beginning,
for further scenario I want to restructure all the page for integrating with my design. (just edit the css not solving my problem)
further experiment,
I create folder with the name Theme2 and copy default theme folder to Theme2. ---> Still not work.
how to solve this problem?
Hi blakex,
Turn off the ChronoForms styling, edit the Form HTML by hand and add your own CSS to do exactly what you want.
Bob
Turn off the ChronoForms styling, edit the Form HTML by hand and add your own CSS to do exactly what you want.
Bob
I can't find the option to turn off ChronoForms styling
But I Can make it works now by editing directly Form HTML on the 'Form Code Tab'.
It seems the script doesn't allow to editing php from external editor, it should edited from 'Form Code Tab'
thank you for the direction
But I Can make it works now by editing directly Form HTML on the 'Form Code Tab'.
It seems the script doesn't allow to editing php from external editor, it should edited from 'Form Code Tab'
thank you for the direction
Hi blakex,
If you set "Load Chronoforms CSS/JS Files?" to 'No' then the stylesheets won't be loaded (and some js files may not be loaded also to you'll need to do that by adding the code to the Form HTML if you want them included).
That's correct. If you want to use an external editor then you can put your PHP+HTML into an external file - I use com_chronocontact/includes/[form_name]/formhtml.php and add a 'require' statement in the Form HTML box.
Bob
I can't find the option to turn off ChronoForms styling
If you set "Load Chronoforms CSS/JS Files?" to 'No' then the stylesheets won't be loaded (and some js files may not be loaded also to you'll need to do that by adding the code to the Form HTML if you want them included).
It seems the script doesn't allow to editing php from external editor, it should edited from 'Form Code Tab'
That's correct. If you want to use an external editor then you can put your PHP+HTML into an external file - I use com_chronocontact/includes/[form_name]/formhtml.php and add a 'require' statement in the Form HTML box.
<?php
require_once(JPATH_BASE.DS.'components'.DS.'com_chronocontact'
.DS.'includes'.DS.'form_name'.DS.'formhtml.php');
?>
Note: if you do this ChronoForms is unable to parse the code and some features may not work automatically.Bob
Hi,
you should edit :/administrator/components/com_chronocontact/themes/default/elements.php
then reopen the form in the wizard and save it again so the form code is regenerated with the new data!
Regards
Max
you should edit :/administrator/components/com_chronocontact/themes/default/elements.php
then reopen the form in the wizard and save it again so the form code is regenerated with the new data!
Regards
Max
This topic is locked and no more replies can be posted.