[SOLVED] how to make story's title link to original resource?

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-22-2008, 11:40 AM
New Pligger
Pligg Version: 9.9.5
 
Join Date: Sep 2008
Posts: 14
Hi,

I have a few questions regarding to the story url :

1. I'd like to make a link for story's title to link to its original resource, how could I do it ?

Refer to http://forums.pligg.com/general-help...inal-site.html , I have set the value for " Use story title as link " to true but the link on story's title is still linked to my own domain as http : // www. mydomain .com /pligg /out /story-title but when click on it it does open the original resource page in new window.

How could I make the story's title link to http : // www. resource .com / story - page ?

2. What is /out/ on the link ? I set " Open story title in new window " value to true. Is it the case ?

Thanks for all help.
Reply With Quote
  #2 (permalink)  
Old 10-15-2008, 11:34 PM
New Pligger
 
Join Date: Oct 2007
Posts: 15
Did you find a cure for this issue...as I'm looking to change this as well with no luck so far...
Reply With Quote
  #3 (permalink)  
Old 10-16-2008, 01:22 AM
cmstheme's Avatar
Donor/Coder
Pligg Version: 9.9
Pligg Template: Squaretle
 
Join Date: Jan 2007
Location: Philippines
Posts: 531
You could use {$enc_url} as the link instead of {$url} in link_summary.tpl
Reply With Quote
  #4 (permalink)  
Old 10-16-2008, 09:39 AM
New Pligger
 
Join Date: Oct 2007
Posts: 15
OK I'll give that a try... thanks
Reply With Quote
  #5 (permalink)  
Old 10-16-2008, 10:48 AM
New Pligger
 
Join Date: Oct 2007
Posts: 15
OK added the token you suggested and I'm getting closer to my goal....the only issue now is it still has the root domain as part of the URL like this:

http://www.root-domain.com/http://ww...rce-domain.com

any ideas on how I can pull the root domain from the URL's

is there a list of tokens somewhere?

Thanks

Chad
Reply With Quote
  #6 (permalink)  
Old 10-16-2008, 03:46 PM
New Pligger
 
Join Date: Oct 2007
Posts: 15
I edited Line 95 in link_summary.tpl to this:


(<a href="{$enc_url}" {if $open_in_new_window eq true} target="_blank"{/if} >{$url_short}</a>)



but it just gives mt the URL posed above...


Is there a URL token other than this {$enc_url} that will not add the root domain to the URL?

Or is there a list of Pligg Tokens with descriptions I could get my hands on?


Tanks

Chad
Reply With Quote
  #7 (permalink)  
Old 10-16-2008, 05:52 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
I'm not sure what you're trying to do. If all you want to do is change the title link for each article so they point to the external url instead of the pligg story url you can edit that in the Pligg configuration page in the admin panel.
/admin_config.php?page=Story

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
  #8 (permalink)  
Old 10-16-2008, 06:47 PM
New Pligger
 
Join Date: Oct 2007
Posts: 15
Here is a short video to help explain what I'm trying to do....

Video has now been removed from server...thanks

Last edited by webfusion; 10-16-2008 at 07:59 PM. Reason: Removed URL to video
Reply With Quote
  #9 (permalink)  
Old 10-16-2008, 07:11 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
A SCREENCAST! What a luxury. Makes things so much easier, I wish I could require that everyone post one.

I believe your answer is to go to:
Pligg Admin > Configure > Outgoing
Set the first value to false.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
  #10 (permalink)  
Old 10-16-2008, 07:58 PM
New Pligger
 
Join Date: Oct 2007
Posts: 15
Oh yaaa that works....

Thank you very much...
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumit 2 disable url. make full story's like blog and than uniek link for google news. MarioF Questions and Comments 5 06-11-2009 11:58 AM
how to make story's title link to original resource? kajani Questions and Comments 1 01-06-2009 05:20 PM
[SOLVED] Use story title as link not work for me Max09 Questions and Comments 1 12-31-2008 12:22 PM
Rss feeds title link of all story's not working. (see my site). Fred007 Questions and Comments 2 12-08-2008 05:15 AM
Change Title to Link to Original Site Biomech Questions and Comments 1 06-13-2007 09:37 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