Welcome to Geeklog, Anonymous Saturday, July 18 2026 @ 07:33 am EDT
Geeklog Forums
Page title modification
tokyoahead
Anonymous
When viewing a story, the browser title of the page becomes the title of the story.
How is this possible in a plugin?
How is this possible in a plugin?
21
20
Quote
Status: offline
drshakagee
Forum User
Full Member
Registered: 10/01/03
Posts: 231
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
No, no, no
As of Geeklog 1.3.10, COM_siteHeader accepts the page title as the second parameter. For a plugin, that's certainly the cleanest solution.
In older versions, there's a "hack" that if you set $_CONF['pagetitle'], it will be used as the page title. That still works in 1.3.10, but new code should use the new functionality, please.
bye, Dirk
As of Geeklog 1.3.10, COM_siteHeader accepts the page title as the second parameter. For a plugin, that's certainly the cleanest solution.
In older versions, there's a "hack" that if you set $_CONF['pagetitle'], it will be used as the page title. That still works in 1.3.10, but new code should use the new functionality, please.
bye, Dirk
18
20
Quote
All times are EDT. The time is now 07:33 am.
- 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