Menu

#158 Blog: Title not in browser title when viewing posts

open
None
1
2005-02-26
2005-01-02
No

In blogging (Tiki 1.8.3 and probably others), the blog
post title is not shown in the browser's title bar when
viewing a single post.

To recreate: Create a blog, with at least one post in
it. View the post. The browser title will not show the
title of the post (even if blog post titles are enabled
and in use).

The fix is trivial, and only required in the PHP (the
tpl figures it all out just fine):

# diff tiki-view_blog_post.php.bugged
tiki-view_blog_post.php
176a177,181
> if($blog_data['use_title'] = 'y')
> {
> $smarty->assign('title', $post_info['title']);
> }
>

(just add the code above anywhere after around line 176)

Discussion

  • Marc Laporte

    Marc Laporte - 2005-02-12

    Logged In: YES
    user_id=484395

    FYI, it works fine in Branch-1-9 but not 1.8.5

    M ;-)

     
  • Michael Davey

    Michael Davey - 2005-02-26

    Logged In: YES
    user_id=399326

    Backport 1.9 fix to 1.8.6-pre

     
  • Michael Davey

    Michael Davey - 2005-02-26
    • priority: 5 --> 1
    • assigned_to: nobody --> michael_davey
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.