View Single Post
  #5 (permalink)  
Old 07-23-2008, 12:20 PM
VictorML VictorML is offline
New Pligger
 
Join Date: Jul 2008
Posts: 19
Thanks: 2
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by redwine View Post
To remove the link when the story is viewed in full (page = story) change the following in /templates/yourtemplate/link_summary.tpl
Remove the code in RED
Code:
<div class="top"> 
  <div class="toptitle" id="ls_thetitle-{$link_shakebox_index}">
   {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"}
     <a href="{$url}">{$title_short}</a>
    {else} 
      <a href="{$story_url}">{$title_short}</a>
    {/if}
   {/if}        
  </div>
Wow... thanks a lot! That was exactly what I was looking for, but I didn't know which file to edit.

I think I'll play around a lot with link_summary.tpl until I customize everything to my taste :D

Cya!
Reply With Quote