![]() |
| | LinkBack | Thread Tools | Display Modes |
| Sponsored Links |
|
Check out the New Templates at the Pligg Pro Shop.
|
| ||||
| Did you put PHP Code:
__________________ - Ash |
| The Following User Says Thank You to AshDigg For This Useful Post: | ||
| ||||
| It work but it is only hides the first post summary. What am I doing wrong? |
| ||||
| Where is the problem I think i do know where the problem is. You can not use more same ID´s in one page,it needs to be unique. Thats the reason why only 1 (the first) is working
__________________ =Everything that has a beginnig has an end= =Nevere stop fighting= Site: http://www.vselink.org |
| The Following User Says Thank You to AnAlienHolakres3 For This Useful Post: | ||
| ||||
| I have found one ![]() this one works <div class="news-submitted"> <span style="font-weight:bold;"><a class="arrowdown" href="javascript://" onclick="show_hide_user_links(document.getElementB yId('ls_contents-0'));" title="Show Summary">Show Summary</a></span> | <span id="ls_posted_by-0">Posted by </span> <a href="javascript://" onclick="show_hide_user_links(document.getElementB yId('userlinks-0'));" title="keepclear on Design Float"> <span id="ls_link_submitter-0">keepclear</span></a> see it working on designfloat.com ![]() |
| |||
| Thanks man Useful for the future. I was asking the other day about a way to make a users buried stories disappear completely from his page. I'm gonna test this on the whole link div, with a new button, maybe the user can hide the stories he doesn't like. I'll post back here my results.Last edited by Unknown : 01-07-2008 at 08:31 PM. |
| |||
| Can you paste the section of code in link_summary.tpl as it is. Geoserv. |
| ||||
| 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 |
| ||||
| Also do not forget to add style="display:none"; next to id="ls_contents-{$link_shakebox_index}" to display only title to make it nice and neat. check out demo on my site. |
| ||||
| Quote:
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"} Code: <a href="javascript://" onclick="show_hide_user_links(document.getElementById('ls_contents-{$link_shakebox_index}'));" title="Show Summary">Show Summary</a> Code: <span id="ls_contents-{$link_shakebox_index}"> Code: <span id="ls_contents-{$link_shakebox_index}" {if $pagename neq "story"} style="display:none;" {/if}> Last edited by catchpen : 06-26-2008 at 02:49 AM. Reason: Corrected code |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pligg beta 9.5 [updated] | kbeeveer46 | Current Version | 0 | 04-29-2007 08:58 PM |
| "Top" in top Stories | Sokora | General Help | 1 | 01-30-2007 09:30 PM |
| No pagination for stories in profile | kbeeveer46 | Bug Report | 0 | 08-07-2006 12:22 AM |







Useful for the future. I was asking the other day about a way to make a users buried stories disappear completely from his page. I'm gonna test this on the whole link div, with a new button, maybe the user can hide the stories he doesn't like. I'll post back here my results.
Linear Mode

