Title of the story not showing up

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-28-2008, 08:22 AM
New Pligger
 
Join Date: Mar 2008
Location: India
Posts: 9
Send a message via Yahoo to vdevang
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.
Reply With Quote
  #2 (permalink)  
Old 03-28-2008, 11:41 AM
New Pligger
 
Join Date: Sep 2007
Posts: 10
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
Reply With Quote
  #3 (permalink)  
Old 03-28-2008, 12:20 PM
New Pligger
 
Join Date: Mar 2008
Posts: 1
helloPligg Forum > Pligg Help > General Help > Title of the story not showing up
Reply With Quote
  #4 (permalink)  
Old 04-01-2008, 07:51 AM
New Pligger
 
Join Date: Mar 2008
Location: India
Posts: 9
Send a message via Yahoo to vdevang
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.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Submit to site with story title fusionspill Questions and Comments 6 05-29-2009 02:36 PM
Story title url not working with url method 2 gnalkit Questions and Comments 1 05-10-2009 10:58 PM
Change page title only for story page - Google hadock Questions and Comments 12 11-23-2008 07:29 AM
how to completely REMOVE links from the title in the full story page? VictorML Questions and Comments 5 09-18-2008 09:26 AM
How to direct story title in summary page to the original story? chris79 Questions and Comments 4 02-03-2008 07:28 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development