secound Link to source under full description

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-01-2008, 08:05 AM
New Pligger
Pligg Version: 9.8.2.
Pligg Template: none
 
Join Date: Nov 2007
Posts: 20
Hi,

first of all I'm using the template "Blossoms" but I thinks my question is a "overall template question".

How do put a "to original article" Link under the full description of a story?

i want that the user read the full description before they click to the original article, so i think it would be good if there is a extra link to original article under the full description.

it woud be great if someone could help me.

Thanks and Greets!

Olli
Reply With Quote
  #2 (permalink)  
Old 02-01-2008, 08:40 AM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
In your link_summary.tpl place this anywhere you want the link to appear:

Quote:
<a href="{$url}">{$title_short}</a>
That should provide a link to the original source.

Geoserv.
Reply With Quote
  #3 (permalink)  
Old 02-02-2008, 01:39 PM
New Pligger
Pligg Version: 9.8.2.
Pligg Template: none
 
Join Date: Nov 2007
Posts: 20
Thanks,

but when I put the code in the Link_Summery.tpl the Link shows also up in the Summery view.

It should only show up in the full description instead of the "read more" link.

I guess I must put in something like:

{if $pagename neq ".........."} <a href="{$url}">{$title_short}</a>{/if}

any idea?

Thanks

Olli
Reply With Quote
  #4 (permalink)  
Old 02-02-2008, 06:16 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
Yeah you will need an if statement.

Code:
{if $pagename eq "story"} <a href="{$url}">{$title_short}</a>{/if}
Geoserv.
Reply With Quote
  #5 (permalink)  
Old 02-14-2008, 03:24 AM
New Pligger
Pligg Version: 9.8.2.
Pligg Template: none
 
Join Date: Nov 2007
Posts: 20
It works! Thanks!
Reply With Quote
  #6 (permalink)  
Old 05-01-2009, 08:59 PM
New Pligger
Pligg Version: n/a
Pligg Template: n/a
 
Join Date: Jan 2008
Posts: 14
are this template supported to new pligg version ?
Reply With Quote
  #7 (permalink)  
Old 07-16-2009, 10:44 AM
Casual Pligger
Pligg Version: 1.0.0
Pligg Template: wistie
 
Join Date: Jun 2009
Location: Greece
Posts: 58
is this link supported in pligg 1.0??
Reply With Quote
  #8 (permalink)  
Old 07-20-2009, 08:33 AM
Casual Pligger
Pligg Version: 1.0.0
Pligg Template: wistie
 
Join Date: Jun 2009
Location: Greece
Posts: 58
this link is superb! but i have some editorials with no referal link, how can i create an "if" code to make exceptions in the editorial texts with no link?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Proper link title converting if source URL has no specified codepage kossmoss Questions and Comments 4 07-29-2009 11:26 AM
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 10:58 AM
adding a link to story description codefreaq Questions and Comments 1 10-31-2007 11:52 AM


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