Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Wednesday, June 19 2013 @ 08:53 PM EDT


 Forum Index > Support > Plugin Support New Topic Post Reply
 Can you change a PHP staticpage's title dynamically?
   
LWC
 11/23/10 08:55AM (Read 774 times)  
+++++
Full Member

Status: offline


Registered: 02/19/04
Posts: 811
Well, I assume HTML standards don't allow dynamically changing the browser's title (sp_title in this case). But what about sp_page_title? Can you change it dynamically from within the PHP staticpage (for example, base it on a passed query line)?

Thanks!

 
Profile Email Website
 Quote
Laugh
 11/23/10 10:08AM  
AAAAA
Admin

Status: offline


Registered: 09/27/05
Posts: 891
For staticpages, the title is used for the websites page title and the title of the block when you wrap the staticpage in a block. If you specify a page title in the staticpage editor then that is used only for the websites page title. Currently neither can be updated dynamically with PHP in a staticpage.

 
Profile Email Website
 Quote
Content generated in: 0.28 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content