How to show the pagetitle with PHP tag?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
hidiho
Posts: 38
Joined: Wed 3. Dec 2003, 23:44

How to show the pagetitle with PHP tag?

Post by hidiho »

Hi all,

Is there a way to show the article title or pagetitle somewhere on the page?

like:

Code: Select all

[PHP]echo $content["pagetitle"];[/PHP] 
??

Because, when i use this: nothing happens....

I would like to use it as a sort of header within a div tag...

Hope someone has the solution

Kind regards

Hidiho
User avatar
isac
Posts: 410
Joined: Tue 18. Nov 2003, 13:13
Location: Portugal
Contact:

Post by isac »

Good question, i'm looking for this too!
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Post by macangelo »

me too! ;-)

Macangelo
User avatar
habi
Posts: 166
Joined: Sun 15. Feb 2004, 13:39
Location: Rutschwil, Switzerland
Contact:

Post by habi »

perhaps the link below is for you. you can use the code to have a replacement tag named {PAGETITLE}. but instead of using my array param you can insert $content["pagetitle"]
http://www.phpwcms.de/forum/viewtopic. ... ent+types
Post Reply