Correct way to override chronoform.php in version 5

phicts 03 Mar, 2014
Hi. How to correctly override the output of the file chronoform.php under /components/chronoform5/chronoforms/ please?

I tried adding it the edited file to my custom template based on Helix2 framework from Joomshaper like this
/templates/mytemplatename/html/chronoforms5/chronoforms/chronforms.php but it doesn't work right.

I already tried the built-in override feature of J!3.2 under its template settings but I don't see that particular file in the override options. So I dug deep in the directory structure. I need to output my own links and some text in ALL my forms and the best way i found to do this automatically is to add this in the chronoform.php file.

Please help. Thanks in advance.
phicts 03 Mar, 2014
typographical correction: should be chronoforms.php as i correctly made in my site (not working though)

/templates/mytemplatename/html/chronoforms5/chronoforms/chronoforms.php
GreyHead 03 Mar, 2014
Hi phicts,

I don't think that you can use template overrides with ChronoForms. What do you need to do with the override? There may be another way.

Bob
phicts 03 Mar, 2014
I would like to output my own link, acknowledgment, motto, punchline, credits and the like as the one in the free/unvalidated "version" of Chronoform acknowledging Chronoengine.com. If you remember, you helped me create a form for a non-profit. From there, I got the idea of doing surveys, site submission, etc. where the form is hosted on my vps and just "i-framed" on the website of my customer, friend, ngo, non-profits, etc.

I deal mostly with non-profits and cause-oriented groups and micro enterprises most of whom don't know much about web tech. So I host the forms on my vps where I have greater control on the amount of emails to be sent out using the forms. And i don't need to log-in to others' websites just to remove the form. Unpublishing or taking down the form on my site would just do the trick.
GreyHead 05 Mar, 2014
Hi phicts,

Would it work if you added the info in a Custom Element element after the form submit button?

Bob
This topic is locked and no more replies can be posted.