the title on every page usually like Pilot Centre - Airline Name I am trying to find where - Airline Name bit is, Any ideas?
Thanks
the title on every page usually like Pilot Centre - Airline Name I am trying to find where - Airline Name bit is, Any ideas?
Thanks
It is set in index.php on line 64.
thanks
Hi,
I am interested in this too. Iād like to knowā¦if I want to make each page title unique but not the default page title name, how might I achieve it. I have seen the $page_title on line 64 of the index.php. If I changed each page that I wanted a different page title on, to $page_title=āwhatever page nameā; would that kind of thing work (ignoring my poor syntax issues )?
Ok, just read that back and it sounds confusing. Where I say ābut not the default page titleā what I mean is, I donāt want the page to have the default title. I want to create my own unique ones. Hope that makes more sense.
Put this in your controller function:
$this->title = 'My Title';
Put this in your controller function:
$this->title = āMy Titleā;
Brilliant, thanks simpilot.
Just for anyone else who wants to do this, you would need to find your module for the pageās title you want to change. Then find this piece of code in the php file inside the folder:
<?php
class Dubaihub extends CodonModule //Name can be any names.
{
public function index()
{
$this->render('dubaiinternational.php');
}
}
?>
and add the code simpilot mentions as so;
<?php
class Dubaihub extends CodonModule //Name can be any names.
{
public function index()
{ $this->title = 'Your page title goes here';
$this->render('dubaiinternational.php');
}
}
?>
Thanks again simpilot