Almost every form I created is linked at the Main Menu. However the Title Metatag is at the mercy of the Global Configuration. How do I add a Title to a form page?
<Title></Title> format in the HTML doesn't work.
Thanks,
JG
<Title></Title> format in the HTML doesn't work.
Thanks,
JG
Hi deafbiz,
I think you can do it with
Bob
I think you can do it with
$mainframe->setPageTitle( "My Title" );
You'll probably need to ensure that $mainframe is initiated either with a global declaration or by instantiating the class.
Bob
Hi deafbiz,
How did it go ? Please let us know!
Cheers
Max
How did it go ? Please let us know!
Cheers
Max
I see only three files that have "$mainframe-"
in chronocontact v2.2
I now have 4 forms on one website so how do I make each one have their own title?
JSG
in chronocontact v2.2
I now have 4 forms on one website so how do I make each one have their own title?
JSG
Hi deafbiz,
Add this code to the beginning of your 'Form HTML' on the 'Form Code' tab
The first part is set in your Global Configurations.
Bob
Add this code to the beginning of your 'Form HTML' on the 'Form Code' tab
<?php
global $mainframe;
$mainframe->setPageTitle("My Title"«»);
?>
This will add 'My Title" to the page title like this: 
The first part is set in your Global Configurations.
Bob
Awesome, it works! Didn't even have to mess with Global Configurations.
This should be a "sticky"
This should be a "sticky"
Hello everybody,
I'm managing a site that runs with joomla 1.0.15. I've customized all the tag TITLE, except for the 3 forms I have.
Let's take this one for example:
http://www.3imballaggi.it/index.php?option=com_chronocontact&chronoformname=Preventivo&Itemid=60
In the Joomla control panel, I select Chrono forms --> forms management, then I choose "Preventivo" that is the form mentioned above, then I select the "Form Code" tab.
Here, in the "Form HTML" option I add the following code:
But I do no get any benefit: the TITLE do not change. Can you pls help me?
I'm managing a site that runs with joomla 1.0.15. I've customized all the tag TITLE, except for the 3 forms I have.
Let's take this one for example:
http://www.3imballaggi.it/index.php?option=com_chronocontact&chronoformname=Preventivo&Itemid=60
In the Joomla control panel, I select Chrono forms --> forms management, then I choose "Preventivo" that is the form mentioned above, then I select the "Form Code" tab.
Here, in the "Form HTML" option I add the following code:
<?php
global $mainframe;
$mainframe->setPageTitle("My Title"«»);
?>
But I do no get any benefit: the TITLE do not change. Can you pls help me?
This topic is locked and no more replies can be posted.