Hi,
β
question is there a shortcode for menu name with ChronoForms 7 & Joomla 4.x
β
Right now, I'm using {document:title} but I would like to use the name of the menu item.
Regards Ron π
β
question is there a shortcode for menu name with ChronoForms 7 & Joomla 4.x
β
Right now, I'm using {document:title} but I would like to use the name of the menu item.
Regards Ron π
Thanks for your comment, Colnem.
β
Is there a guide for this somewhere? Because I am not a PHP expert π
Regards Ron π
β
Is there a guide for this somewhere? Because I am not a PHP expert π
Regards Ron π
Every menu item has its own name. I want to put this in the form line.
See image link ---> https://ibb.co/tKgBFR5
See image link ---> https://ibb.co/tKgBFR5
Hi
β
Set an Action/Advanced/PHP. For example, php_10
In this action, write...
return $_SERVER['PHP_SELF'];
β
Then, to display your message, use https:/{var:php_10}
β
Bye
β
Set an Action/Advanced/PHP. For example, php_10
In this action, write...
return $_SERVER['PHP_SELF'];
β
Then, to display your message, use https:/{var:php_10}
β
Bye
Hi Colnem,
β
thanks for the script.
β
Is this for 1 menu item?
I have with my old Joomla 3 site 100 cars, I have their one chronoforms form that I use for all cars.
And use the browser title with this code ---> {document:title}
[strong]
[/strong]With your code, I get the same effect for all 100 cars? Or do I have to submit a form for each car?
The new Joomla 4 site almost ready, I want to use the name of the menu instead of the browser title because I have my reasons.
[br]Regards Ron π
β
thanks for the script.
β
Is this for 1 menu item?
I have with my old Joomla 3 site 100 cars, I have their one chronoforms form that I use for all cars.
And use the browser title with this code ---> {document:title}
[strong]
[/strong]With your code, I get the same effect for all 100 cars? Or do I have to submit a form for each car?
The new Joomla 4 site almost ready, I want to use the name of the menu instead of the browser title because I have my reasons.
[br]Regards Ron π
Hi,
I'm looking for something like the code below, but I don't know how to process this in my form.
I'm looking for something like the code below, but I don't know how to process this in my form.
$menu = &Jsite::getMenu(); $menuname = $menu->getActive()->title;Regards Ron π
Hi,
β
nobody to help?π
I won't the name of menu item with my code, and otherwise they code from Colnem.
Only I can not find user manual for Chronoform7 where this is normally described.
β
Regards Ronπ
β
nobody to help?π
I won't the name of menu item with my code, and otherwise they code from Colnem.
Only I can not find user manual for Chronoform7 where this is normally described.
β
Regards Ronπ
You need to login to be able to post a reply.