View Single Post
  #10 (permalink)  
Old 06-24-2008, 09:41 PM
catchpen's Avatar
catchpen catchpen is offline
Pligg Donor
 
Join Date: Jan 2008
Posts: 210
Thanks: 30
Thanked 18 Times in 13 Posts
Quote:
Originally Posted by computerbar View Post
hi
here is the CODE

<a href="javascript://" onclick="show_hide_user_links(document.getElementB yId('ls_contents-{$link_shakebox_index}'));" title="Show Summary">Show Summary</a>

I have 9.9 template and this ls_contents-{$link_shakebox_index} is the story content, If you are using 9.8 template I think its called ls_contents-0
Thanks computerbar. This cleans up the summary page quite nicely.
Here's the code with the spaces removed to make it simpler to copy paste in your Pligg 9.9 link_summary.tpl:
around line 164
Code:
 {if $viewtype neq "short"}
add this before

Code:
 <a href="javascript://" onclick="show_hide_user_links(document.getElementById('ls_contents-{$link_shakebox_index}'));" title="Show Summary">Show Summary</a>
A few lines down replace:
Code:
<span id="ls_contents-{$link_shakebox_index}">
With this
Code:
<span id="ls_contents-{$link_shakebox_index}" {if $pagename neq "story"} style="display:none;" {/if}>

Last edited by catchpen; 06-26-2008 at 03:49 AM.. Reason: Corrected code
Reply With Quote