Forums

Page Title

KingIndia 18 Feb, 2009
Hi..

Chrono is excellant... Its serves lots of my requrements.....

I have a query...

I wish to give a field for ex. {name} as title for the page.
Kindly guide... How to...

Thanks in anticipation.
Max_admin 20 Feb, 2009
Hi,

Thanks!

try this code in the header box:

<?php global $mainframe; $mainframe->setPageTitle($row->name); ?> 


Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
KingIndia 13 Mar, 2009
Hi...

I have tried this

<?php global $mainframe;
$mainframe->setPagetitle($row->{name});
?>

and also this

<?php global $mainframe;
$mainframe->setPagetitle($row->name);
?>

In both the cases... I get the URL as Page Title

Kindly guide.
KingIndia 17 Mar, 2009
The Solution provided on

viewtopic.php?f=5&t=13077&p=26283&hilit=page+title#p26355

does not help in assigning a database field as page title

Is there any solution for assigning a database field for ex. {name} as page title....

Regards,
Harshal
dannyh 22 Mar, 2009
Hi,

I was looking that the same thing as well...the solutions provided in the threads (which link to eachother) do not help.

I also only get the URL als page title using:

<?php global $mainframe; $mainframe->setPageTitle($row->name); ?> 


Is there a solution?

Danny
This topic is locked and no more replies can be posted.