Welcome to Geeklog, Anonymous Friday, April 26 2024 @ 03:10 pm EDT

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!
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
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.
 Quote

All times are EDT. The time is now 03:10 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