Hide page title

DarkViper


echo 'NO_TITLE';

'NO_TITLE' is a synonym for a hardcoded title-string only....
you can replace the text between the apostrophs with whatever you want...  also leave it empty like '' too.
[url=http://www.youtube.com/watch?v=tmzDAz6ZvFQ]Der blaue Planet[/url] - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen[br]
[i]"You have to take the men as they are... but you can not leave them like that !" :-P [/i]
[i]Das tägliche Stoßgebet: [b]Oh Herr, wirf Hirn vom Himmel ![/b][/i]

dfhectik

unfortunatley that echo's NO_TITLE instead of the title.

Perhaps use page id's.
I have a page that i dont want to display any title on, but on all other pages i want to display the title.

i dont know php to good so my attemps just break my website.

DarkViper

try this

<?php
if( strpos$_GLOBALS['wb']->page['link'], '/gallery' ) == )
{
    echo 
'NO_TITLE';
}
else
{
    echo 
'<div class="title">'.PAGE_TITLE.'</div>';
}
?>
[url=http://www.youtube.com/watch?v=tmzDAz6ZvFQ]Der blaue Planet[/url] - er ist nicht unser Eigentum - wir haben ihn nur von unseren Nachkommen geliehen[br]
[i]"You have to take the men as they are... but you can not leave them like that !" :-P [/i]
[i]Das tägliche Stoßgebet: [b]Oh Herr, wirf Hirn vom Himmel ![/b][/i]

Tinke

Hello everybody!
I have small problem. I would like to hide the title, image gallery pages.
But how?

<?php
$path_parts 
pathinfo($_SERVER['REQUEST_URI']);
if (
$path_parts['dirname']=="/pages/gallery")
  echo 
"NO TITLE";
else
echo 
'<div class="title">'.page_title('','[PAGE_TITLE]').'</div>';
?>


This code make to image gallery pages "no title" and every other pages this html code
My page title<div class="title"></div>
But html-code should be this
<div class="title">My page title</div>

What i am doing wrong  :? :? :? :? :? :? :? :? :? :? :x :x :x :x :x
Please help meeeeeeeee.

Regards,
Tinke