Hi Max,
Chronoforms V5.0.8
Issue with links build via custom code.
When building in custom code a link such as <a href="index.php?option=com_chronoforms5&chronoform=SomeForm" ..... ></a>
the link is interpreted as : site.com/index.php/com-chronoforums-validate/menu/?chronoform=SomeForm.....
instead of expected : site.com/index.php/component/chronoforms5/?chronoform=SomeForm.
This occurs when calling a CFV5 form via that link from the front end of the site .
If the link is a direct one <a href"http://site.com/index.php...... > it works properly
If calling a CFV4 form all other parameters being identical it works properly
if run from the admin side via View Form the link perform properly too.
Hope this help
Kind regards,
Simelas
Hi Simelas,
Do you have an SEF component running on your site?
This seems to be an increasing problem with over-eager SEF plug-ins that edit every url they find without any respect for the placement :-(
If the form is in an article please make sure that the ChronoForms plug-in is after any SEF Content plug-ins.
Otherwise I have had some success with setting ChronoForms menu items for forms on a hidden menu and then using the menu address e.g. /my_form in the Submit URL of the form HTML (Render Forms) action.
Bob
Hi Bob,
thanks for the feed bak.
SEF plugin is the one delivered with joomla3.4.
Indeed when deactivating SEF problem diappear ( which is maybe not the solution....)
For the time being it ok when using a direct link in the form <a href"http://site.com/index.php...... > .
Nevertheless it appears that the phenomena starts at joomla menu level.
More precisely, if joomla menu is pointing to ChronoForms5 form (index.php?option=com_chronoforms5&view=form) already the link reading is incorrect as discussed previously . ( The example i gave earlier was indeed for a menu build within a form with custom code (as you understood)).
Also no issue for CFV4 with same configuration / menu .
Hope this help
Kind regards
Simelas
Hi Simelas,
Is the menu type a ChronoForms menu? Or an External URL?
Bob
Hi Bob,
ChronoForms5 menu type
P
Schematically:
joomla menu calling a chronoform V5 which contains "menu" calling chronoformV5 forms
P
Me again !
maybe worth mentionning that when calling a chronoconnectivity connection via the same route it works well
link a >>> chronoform V5 form -> not good
linkb >>> cheronoconnectivity V5 -> "good"
Simelas
Hi Bob and Max,
in continuation of previous discussion :
found that if dynamic link is written as:
<a href="index.php?option=com_chronoforms5&chronoform=SomeForm" ..... ></a> it does not perform as expected,
but if written :
<a href=" /index.php?option=com_chronoforms5&chronoform=SomeForm" ..... ></a> it performs as expected.
Difference is the slash added at the beginning before index. Not sure to fully understand why, but works well.
( Joomla 3 , multilingula, CFV5 , SEF on )
Best rgds,
simelas
š
but if also written :
<a href=" index.php?option=com_chronoforms5/&chronoform=SomeForm" ..... ></a> it performs as expected.
Difference is the slash added after com_chronoforms5. Works wel too.
š