Hello,
i've two template for my site that i'd want to use respect of the chronoforms page to display.
The two template are: Public_Template (default template) and Private_Template. First one for the generic user and the second one for the registered user.
I've buid a Chronoform page, ModificaComune, that i call also from other chronoform pages. Now, for assigning it the Private_Template i've made an hidden menu, "Menu_Nascosto", and i've created a menu item "Call_ModificaComune" setting the Private_Template for it.
I've another Menu Group, "Anagrafica", with a menu item "Modifica Comune" that call the same page "ModificaComune" so it can be used by a registered user.
Now i've noticed this behaviour:
1) If I call the ModificaComune page from the "Modifica Comune" menu, the page is displayed right with the right template (Private_Template). In this case i've seen that the URL is: "anagrafiche/comuni.html?chronoform=ModificaComune"
2) If call the ModificaComune page from another Chronoform page (by a submit button) the template loaded is Public_Template, not Private_Template. In this case the URL is: "index.php?option=com_chronoforms&chronoform=ModificaComune"
The page is always the same, ModificaComune, but the two URL are different, the first one is refered to a menu item, the second one is refered to a Chronoform page. I think that, maybe, when i submit a chronoform page, i must use the menu URL (case 1) in the REDIRECT URL Action, not the URL of the form (case 2). But if so, i must have always a menu item for each chronoform page, also when that form cannot be accessed by a menu. That is, i must have a hidden menu item for each chronoform page that is accessed by other forms not by menu.
Is it so? Is there any different way for resolving my problem?
I hope that my very bad english is not the real problem!!!
Thanks
Guido Sabatini
i've two template for my site that i'd want to use respect of the chronoforms page to display.
The two template are: Public_Template (default template) and Private_Template. First one for the generic user and the second one for the registered user.
I've buid a Chronoform page, ModificaComune, that i call also from other chronoform pages. Now, for assigning it the Private_Template i've made an hidden menu, "Menu_Nascosto", and i've created a menu item "Call_ModificaComune" setting the Private_Template for it.
I've another Menu Group, "Anagrafica", with a menu item "Modifica Comune" that call the same page "ModificaComune" so it can be used by a registered user.
Now i've noticed this behaviour:
1) If I call the ModificaComune page from the "Modifica Comune" menu, the page is displayed right with the right template (Private_Template). In this case i've seen that the URL is: "anagrafiche/comuni.html?chronoform=ModificaComune"
2) If call the ModificaComune page from another Chronoform page (by a submit button) the template loaded is Public_Template, not Private_Template. In this case the URL is: "index.php?option=com_chronoforms&chronoform=ModificaComune"
The page is always the same, ModificaComune, but the two URL are different, the first one is refered to a menu item, the second one is refered to a Chronoform page. I think that, maybe, when i submit a chronoform page, i must use the menu URL (case 1) in the REDIRECT URL Action, not the URL of the form (case 2). But if so, i must have always a menu item for each chronoform page, also when that form cannot be accessed by a menu. That is, i must have a hidden menu item for each chronoform page that is accessed by other forms not by menu.
Is it so? Is there any different way for resolving my problem?
I hope that my very bad english is not the real problem!!!
Thanks
Guido Sabatini
Hi Guido,
I'm no expert in menus and templates but you might be able to get this to work by adding the ItemId to the URL, or to the form as a hidden input.
Bob
I'm no expert in menus and templates but you might be able to get this to work by adding the ItemId to the URL, or to the form as a hidden input.
Bob
Thanks for your replay, but i'm not sure to understand.
Which itemid? The form as hidden...
Sorry, can you explain me ?
However, I think that is a real needed to set a specific template to a chronoform page. If there are more template for the same site, which is the better way to set a specific template for a chronoform page that is not mapped to a specific menu item?
Thanks for your support
Guido
Which itemid? The form as hidden...
Sorry, can you explain me ?
However, I think that is a real needed to set a specific template to a chronoform page. If there are more template for the same site, which is the better way to set a specific template for a chronoform page that is not mapped to a specific menu item?
Thanks for your support
Guido
This topic is locked and no more replies can be posted.