Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 03:33 pm EST
Geeklog Forums
Can you change a PHP staticpage's title dynamically?
Status: offline
LWC
Forum User
Full Member
Registered: 02/19/04
Posts: 818
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!
Thanks!
12
9
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
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.
One of the Geeklog Core Developers.
One of the Geeklog Core Developers.
9
9
Quote
All times are EST. The time is now 03:33 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content