Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:01 am EST
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?
10
10
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
9
9
Quote
All times are EST. The time is now 12:01 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