Quote:
Originally Posted by computerbar 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}>