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๐
