[SOLVED] Editorial Link is not working

Register an Account
Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old 05-24-2007, 03:26 AM
dollars5's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: India
Posts: 1,960
I did this to fix it:
Code:
{if $use_title_as_link eq true}
				{if $url_short neq "http://" && $url_short neq "://"}
					<a href="{$url}" {if $open_in_new_window eq true} target="_blank"{/if}>{$title_short}</a>
				{else}
					<a href="{$story_url}">{$title_short}</a>
				{/if}
		     {else}
				{if $pagename eq "story"}
					{if $url_short neq "http://" && $url_short neq "://"}
						<a href="{$url}">{$title_short}</a>
					{else}
						<span class="toptitle-nolink">{$title_short}</span>
					{/if}
				{else} 
				  <a href="{$story_url}">{$title_short}</a>
				{/if}
			{/if}
I added the editorial check if the pagename is story and generate links accordingly - this can be viewed at http://earthvolt.greatinnovus.com - a site that has many editorial content.
Reply With Quote
  #12 (permalink)  
Old 05-24-2007, 03:24 PM
911 911 is offline
Casual Pligger
 
Join Date: May 2007
Posts: 33
@dollars5

Think this is exactly what I was looking for. Thanks.

I looked on your nice Pligg Site. you have customised it for a kind of up/down voting using Vote and Bury (think you have done this by sinple custumise the template a bit).

Can you please explain this a bit. I dont understand the blury button. what deos this button do exactly. Is it originally for flagging spam? If I hit bury the story is fade out for me (and thats all, I could not remove the blury at all if I hit it inadvertently ). is there a value x that the story gets deleted after x blury or sthg.? If I remember right, I see the blury button only if I am not! logged in. Logged in user dont see the blury button on my site.

Looks like a nice voting solution. Would be nice if you can say some words to this.

Best Regards
Reply With Quote
  #13 (permalink)  
Old 08-19-2007, 09:40 PM
Donor
 
Join Date: Apr 2007
Posts: 1
Thanks @dollars5,

This is what I was looking for too. I am using the latest ygetblue template. Now my website can go live. Thanks.

Chrisf.
Reply With Quote
  #14 (permalink)  
Old 08-30-2007, 02:50 PM
New Pligger
 
Join Date: Aug 2007
Posts: 13
For others: this is in link_summary.tpl

Tip: you can add .toptitle-nolink { } to the css if you'd like to style the title up a bit.

Last edited by xsillence; 08-30-2007 at 03:06 PM.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to make story's title link to original resource? hbtq Questions and Comments 15 02-24-2010 01:40 PM
[SOLVED] Direct link to story instead of going throught out.php or /out/ doit Questions and Comments 10 01-27-2008 06:29 PM
[SOLVED] Links not working properly web20guy Questions and Comments 2 12-16-2007 03:32 PM
[SOLVED]  string appears in Link summary View 911 Questions and Comments 11 07-22-2007 10:19 AM
RSS friendly link not working. can8dn Questions and Comments 4 01-03-2007 07:11 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