Hi,
I am using Chronoforms_J1.6_V4_RC1.8 with Joomla 1.6.8 (just installed it).
I have created a new menu for my form. Everything seems to work fine except from the Page Heading: I have set 'Show Page Heading' to yes and I have entered something in the 'Page Heading' parameter. However the form displays without any heading.
Can someone help please?
Cheers!
Hi tsili,
I don't think that ChronoForms has ever supported Page Headings in that way. I guess it shouldn't be too hard to add. Do you know what code is used to do this in an article page?
Bob
Hi GreyHead and thanx very much for the quick response.
The code used is something like that:
<?php if ($this->params->def('show_page_heading', 1)) : ?>
<h1>
<?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>
<?php endif; ?>
This should be added somewhere around
echo $form->form_output;
in components\com_chronoforms\chronoforms.html.php
but I haven't figured out yet how...
Hi,
You may add your code above the
echo $form->form_output;
line, please let us know if it works fine!🙂
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi,
I've tried but $this is giving me an error.
Should I change anything in the code?
Nice solution, thanks for posting!🙂
Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Thanks a lot!
I would very much like to see this in place in Chrono core so it's not overwritten on next update. (but please work around the use of JParameter which is deprecated).