Hi i use chrono form and is great.
I want to make a noob question .
My form is working properly in the front end. My problem is that i want the title of this component to be as everyone else in my site .
So i went to main menu -- menu and set show page title "example" but nothing i see only the text i have written before the fields
How can i have the title shown ??
thanks.
I want to make a noob question .
My form is working properly in the front end. My problem is that i want the title of this component to be as everyone else in my site .
So i went to main menu -- menu and set show page title "example" but nothing i see only the text i have written before the fields
How can i have the title shown ??
thanks.
Any help?
i used this code In Form HTML
But nothing. Where shall i add it .??
<?php global $mainframe;
$title = "Your Title";
$mainframe->setPageTitle($title);
?>
But nothing. Where shall i add it .??
the form title was not changed ? try:
$document =& JFactory::getDocument();
$document->setPageTitle('my title');
Hi webbuilders,
I think the method is now just setTitle() so please try
Bob
I think the method is now just setTitle() so please try
<?php
$document =& JFactory::getDocument();
$document->setTitle('my title');
?>
Bob
I've searched the forum and tried all the methods listed in this thread, but I still can't get a page title to show up. Like the OP stated, in my menu item parameters I entered a Page Title and checked Yes, but no title shows up on the page itself (only the browser window title).
I'm entering this page title PHP code above all the HTML of my form code - is that correct? Nothing shows up on my page, not in the source code either.
I also tried this code and still nothing:
Help!
I'm entering this page title PHP code above all the HTML of my form code - is that correct? Nothing shows up on my page, not in the source code either.
<?php global $mainframe;
$title = "Contact Us";
$mainframe->setPageTitle($title);
?>
I also tried this code and still nothing:
<?php
$document =& JFactory::getDocument();
$document->setTitle('Contact Us');
?>
Help!
I think for now the easiest solution is to just put a form into an article and create a menu item for that article - when I do that the page title is showing up. When I made a menu item from the component I just can't get a page title to show up no matter what I try.
This topic is locked and no more replies can be posted.