Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 07:49:41 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149678 Posts in 21101 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: php page id title (SOLVED)  (Read 304 times)
dfhectik

Offline Offline

Posts: 29



WWW
« on: February 10, 2010, 12:55:28 PM »

I  use <h2><?php echo PAGE_TITLE; ?></h2> in my index page
so all my pages have a title on it without me having to write it in manually.
But because im using section picker one of my pages now has two titles.

http://www.rejoycechoir.com/the-rejoyce-choir-perth-australia/pages/performances.php

ive had a crack at writting the php that will stop this from happening but it does not work.
So, does anyone have any suggestions?

Code:
<h2><?php echo PAGE_TITLE?></h2>
<?php
if ($page_id 22);
PAGE_TITLE false
?>



cheers
« Last Edit: February 10, 2010, 01:22:01 PM by dfhectik » Logged
dfhectik

Offline Offline

Posts: 29



WWW
« Reply #1 on: February 10, 2010, 01:21:23 PM »

Nice Work, that works great!
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!