Hey Guys,
Im new to php or let say new to the web world. And now I'm doing something simple for you guys but so complicated for me.
Now the web site displays a page title of : Main Page - Philippines Expat Wiki for the first page. The code that does this is here:
<title><?php $this->text('pagetitle') ?></titles->text('pagetitle')>
I want to change this so that it shows the words "Angeles City Life - Philippines Expat Wiki" for just the first page. How will I write a php code that has an if statement that checks the code and prints the correct title.
Thanks,
Need Help
Moderator: General Moderators
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
Re: Need Help
Have you got some means of knowing if it is the first page or not?
Re: Need Help
Actually its the main page title...
Thanks
Thanks
Re: Need Help
Eventually I found the right way to do it.
Thanks
Thanks