Results 1 to 4 of 4
  1. #1
    New Pligger vdevang's Avatar
    Joined
    Mar 2008
    Posts
    9
    Thanks
    Received:0
    Given: 0

    Title of the story not showing up

    I've set-up pligg and everything works fine except title of the story. Site can be found here: Kantaben

    Now, if you open any story on the site, for example this story: Kantaben

    It won't show the title of the story in title bar (on top above where we see Browsername with sitename)

    From where, can I enable showing of title? Little urgent pls.

  2. #2
    New Pligger jbird's Avatar
    Joined
    Sep 2007
    Posts
    10
    Thanks
    Received:0
    Given: 0

    check a few things

    Here are a few things that I would check. I have a feeling #1 might be your problem.

    1. The <title> tag in the pligg.tpl file should look like:
    HTML Code:
     <title>{$pretitle} {$posttitle}</title>
    2. in your database, look in your links table to see if the title is being stored

    3. for kicks, edit story.php and hardcode in a title by changing this:

    PHP Code:
    $main_smarty->assign('posttitle'$link->title); 
    to:

    PHP Code:
    $main_smarty->assign('posttitle','this is a test title'); 
    Be sure to delete all the cache files in the templates_c/ cache folder, and reload the story page. If the page title says "this is a test title" then no problem there.

    4. Did you add <title> tags to any of your files that would override the real titles? Not sure exactly how you could override it, but I'm sure theres a way.

    Cheers,
    J

  3. #3
    New Pligger mizz's Avatar
    Joined
    Mar 2008
    Posts
    1
    Thanks
    Received:0
    Given: 0

    hello

    helloPligg Forum > Pligg Help > General Help > Title of the story not showing up

  4. #4
    New Pligger vdevang's Avatar
    Joined
    Mar 2008
    Posts
    9
    Thanks
    Received:0
    Given: 0
    Quote Originally Posted by jbird View Post
    Here are a few things that I would check. I have a feeling #1 might be your problem.

    1. The <title> tag in the pligg.tpl file should look like:
    HTML Code:
     <title>{$pretitle} {$posttitle}</title>
    2. in your database, look in your links table to see if the title is being stored

    3. for kicks, edit story.php and hardcode in a title by changing this:

    PHP Code:
    $main_smarty->assign('posttitle'$link->title); 
    to:

    PHP Code:
    $main_smarty->assign('posttitle','this is a test title'); 
    Be sure to delete all the cache files in the templates_c/ cache folder, and reload the story page. If the page title says "this is a test title" then no problem there.

    4. Did you add <title> tags to any of your files that would override the real titles? Not sure exactly how you could override it, but I'm sure theres a way.

    Cheers,
    J
    I tried editing story.php as you mentioned. after editing it accly, I ran it and it gave some php error, so I again changed it as it was.

    I think, there must be something with Admin Panel for this solution. I tried to look few times in there, but still with no clue.

Similar Threads

  1. Story not showing up
    By smandi08 in forum Questions & Comments
    Replies: 7
    Last Post: 09-27-2008, 08:34 PM
  2. How to direct story title in summary page to the original story?
    By chris79 in forum Questions & Comments
    Replies: 4
    Last Post: 02-03-2008, 04:28 PM
  3. Editing the title (not story titles, meta title)
    By SportsGuy in forum Questions & Comments
    Replies: 4
    Last Post: 08-07-2007, 07:17 AM
  4. New 9.6, URL #2, story not showing
    By XSP in forum Questions & Comments
    Replies: 2
    Last Post: 07-04-2007, 01:10 PM
  5. story not showing up?
    By cooldudeny in forum Questions & Comments
    Replies: 3
    Last Post: 05-28-2007, 04:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg