Page 1 of 1

Need Help

Posted: Fri Sep 05, 2008 12:48 pm
by sweet
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,

Re: Need Help

Posted: Fri Sep 05, 2008 1:12 pm
by jayshields
Have you got some means of knowing if it is the first page or not?

Re: Need Help

Posted: Fri Sep 05, 2008 2:28 pm
by sweet
Actually its the main page title...

Thanks

Re: Need Help

Posted: Mon Sep 08, 2008 12:48 pm
by sweet
Eventually I found the right way to do it.

Thanks :D