template override?

benjaminalbrechtcom 15 Nov, 2023
hi there,

(how) can I override ChronoForms v8's default form view template, I just want to wrap it in some bootstrap html.
I know how joomla's template override system works generally. Just ChronoForms folder
/components/com_chronoforms8/views/form/tmpl/
seeems more or less empty.

Thanks a lot!
benjaminalbrechtcom 11 Nov, 2024

Hi there, 

wow, it's been a full year now, since I bought the extension for a client. We did not get any answer since then, whatsoever.

Our question persists, and is now urgent. Could somebody please be so kind and answer our request? 

Thanks a lot, Benjamin

Max_admin 11 Nov, 2024

Chronoforms does not use this way for rendering the form, what HTML do you want to modify or add to the form page ? you may call the form from an article and place your HTML around the code there

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
benjaminalbrechtcom 12 Nov, 2024

I use Flexicontent, not com_content. And I need chronoforms within category pages.

Can you think of any smarter way achieving this other than:

a) display the chronoform as a module, then let flexicontent load that module

or 

b)

  1. create a hidden menu item of type: chronoforms form
  2. let flexicontent load that page as an iframe

Best regards, Ben

Max_admin 12 Nov, 2024
1 Likes

does flexicontent run Joomla content plugins ? if it does then you can install the joomla plugin and call the form using {chronoforms8}form-alias{/chronoforms8}

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
benjaminalbrechtcom 12 Nov, 2024

oh, that's cool. Thanks for the heads up, Max, Will try that. Cheers

Max_admin 12 Nov, 2024

no problem, I hope it will work

if not then a system plugin will be needed, in that case you can use the plugin syntax even if flexicontent does not support running plugins

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
benjaminalbrechtcom 18 Dec, 2024

Hi Max, 

while working with content plugin {chronoforms8}form-alias{/chronoforms8} generally works, these followup questions arise:

  1. How do I handle multiple page forms, now that my multi-page form sits within my -say- flexicontent-category-page, which has its specific url context like index.php?option=com_flexicontent&view=category&cid=1.--Expected: The form button "next page" loads the flexicontent page with form's page 2 --Observed: The Form button "next page" re-loads flexicontent page with same form page.
  2. How do I handle form radio buttons (and possibly other form elements) when using content plugin syntax {chronoforms8}form-alias{/chronoforms8}--Expected: form's radio buttons work as expected--Observed: ----a) form radio buttons are not clickable, and therefore fail validation and further logic----b) dev tools say "Uncaught ReferenceError: Nui is not defined"

Thanks for your support.

Max_admin 18 Dec, 2024
1 Likes

1- Does the form work as expected when you test it using the Front View link in the forms manager ?

2- You have a javascript error on the page, that explains why the radios are not working, does the form work in the front view ? something may be blocking the Chronoforms scripts from loading, you can send the form link so that I can check it

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
benjaminalbrechtcom 19 Dec, 2024
Answer
1 Likes

in short: problem solved, reason was not chronoforms8, but "JCH Optimize", which worked a little too strict. Thanks for your quick support!

in detail:

1- Yes, that worked and helped debugging

2- Yes, js error was "[...]Nui is not defined" and others, depending on form features.Thanks again, Ben

Max_admin 19 Dec, 2024

yes, JCH optimize may change the scripts loading order or do changes which may cause some issues

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger