How to direct story title in summary page to the original story?

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-02-2008, 01:36 PM
New Pligger
Pligg Version: 9.9.0
Pligg Template: default
 
Join Date: Jan 2008
Posts: 8
Hi all,

This is what I want:
1) When user clicks on the story title in the index page, it will be directed to the story summary page.
2) From the story summary page, when the user clicks on the story title again, it will be directed to the original story site.

This is what I've done:
1) I swapped {$url} with {$story_url} in link_summary.tpl , now it is directing the click to the story summary page.
2) but when I come to the story summary page, the clicking on the story title doesn't direct me to the original story site. I've tried looking for the codes in link_summary.tpl & story.php, but I have no idea which one to modify.

Please advise
Your expertise is very much appreciated. Thank you.
Reply With Quote
  #2 (permalink)  
Old 02-02-2008, 01:52 PM
Constant Pligger
Pligg Version: 9.9.0
Pligg Template: yget
 
Join Date: Jan 2008
Posts: 159
Quote:
Originally Posted by chris79 View Post
Hi all,

This is what I want:
1) When user clicks on the story title in the index page, it will be directed to the story summary page.
2) From the story summary page, when the user clicks on the story title again, it will be directed to the original story site.

This is what I've done:
1) I swapped {$url} with {$story_url} in link_summary.tpl , now it is directing the click to the story summary page.
2) but when I come to the story summary page, the clicking on the story title doesn't direct me to the original story site. I've tried looking for the codes in link_summary.tpl & story.php, but I have no idea which one to modify.

Please advise
Your expertise is very much appreciated. Thank you.
Ok put everything back

Not sure what you want, but if what you want is that when in the index pages the story goes to the Original story link

go to Admin >> Configure >> Story

Find and change the following

Code:
Use story title as link
description: Use the story title as link to story's website.
value: false
default value: false
expected values: true / false
To True and should do the trick for ya..

Remember to put back the other thing if thats what you want.
Reply With Quote
  #3 (permalink)  
Old 02-03-2008, 06:13 PM
New Pligger
Pligg Version: 9.9.0
Pligg Template: default
 
Join Date: Jan 2008
Posts: 8
thank you for the instructions, it worked like a charm
Reply With Quote
  #4 (permalink)  
Old 02-03-2008, 07:03 PM
joehunk's Avatar
Casual Pligger
 
Join Date: Oct 2007
Posts: 66
Yup, that's should work
Reply With Quote
  #5 (permalink)  
Old 02-03-2008, 08:28 PM
netwb's Avatar
Casual Pligger/Coder
Pligg Version: 1.0
Pligg Template: wistie
 
Join Date: Dec 2006
Location: Bruxelles
Posts: 86
click to my Pligg Site Bruxello / A la Une and click to "Lire la suite "

Last edited by netwb; 02-03-2008 at 08:32 PM.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Variables Yankidank Wiki Articles 3 05-19-2011 09:21 AM
Change page title only for story page - Google hadock Questions and Comments 15 03-02-2011 12:27 PM
Story summary variables different on front page to actual story page innesb Questions and Comments 1 06-11-2009 07:03 AM
how to completely REMOVE links from the title in the full story page? VictorML Questions and Comments 5 09-18-2008 10:26 AM
In story page, only summary shown observer_24_7 Questions and Comments 7 06-25-2008 09:53 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