com_chronocontact/css+js instead of std joomla css (SOLVED)

joomlanoob 07 Jan, 2010
Here is what I expect is an unusual question: I created some highly customized input fields abouta year ago and included them in chronoforms by pasting into the HTML CODE hook area. There were no other fields on the form. These fields were essentially a copy/paste of what he chronoform FORM wizard produced, which I then edited -- but kept all the original CSS.

Now I've installed the latest chronoforms engine and none of the CSS is right for these forms. The elements are therem, but the wrong CSS.

I checked the page source and see that a "real" chronoform produced by the FORM wizard includes all these files and more ...

   com_chronocontact/css/calendar2.css
   components/com_chronocontact/css/tooltip.css
   components/com_chronocontact/js/calendar2.js
   ...etc...

But the chronoforms that have all the fields in the HTML CODE hook area (rather than using a regular wizard created form), only have the standard joomla CSS. I suspect this is decided in the showform function of the chronocontact.html.php script.


Is there a clean way to get my overriden chronoform to include all the standard lines from the showform function? (I want to avoid copy/paste of those lines into each of my custom forms and don't want to edit standard chronoform files if I can avaoid it.

Thanks in advance for any insight.

Regards,
Frank Font
GreyHead 08 Jan, 2010
Hi Frank,

On the form General Tab set "Load Chronoforms CSS/JS Files?" to 'Yes'.

Bob
joomlanoob 08 Jan, 2010
Thanks Bob that is exactly the neat solution I needed!

You are too kind not to laugh out loud at me, or maybe are are laughing. 😶

Regards,
Frank
This topic is locked and no more replies can be posted.