Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support > Old Templates > "Digital Nature"

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-03-2007, 07:44 PM
creep's Avatar
New Pligger
 
Join Date: Nov 2006
Location: Milan, Italy
Posts: 16
Thanks: 5
Thanked 3 Times in 3 Posts
Why sidebar ajax effects are disabled for sneak (Live)?

Someone can explain me why it's disabled?
It seems like a bug.. You can't manipulate sidebar like on other pages..

Can this be removed or it can provocate serious problems with sneak (Live) page?

Code:
{if $pagename neq "sneak"}

   {literal}
   <script type="text/javascript">
	document.getElementById('sidelist').style.display='none';
    //new Effect.PopOut('sidelist'); // hide it
   </script>
   {/literal}
   
{/if}
and

Code:
{if $pagename neq "sneak"}

{literal}
<script type="text/javascript">
  var sideFade = function(element) {
     element._opacity = Element.getOpacity(element);
     new Effect.Opacity(element, {duration:0.2, from:element._opacity, to:0.7});
     new Effect.Highlight(element, {});
  }
  Sortable.create('sidelist', {starteffect: sideFade}); 
</script> 
{/literal}

{/if}
in sidebar.tpl

Can I remove "if" statement without causing seroius problems?
And again: Why this "if" placed there?

Thanks in advance
__________________
Tendency to creep out.

Last edited by creep; 02-03-2007 at 07:48 PM..
Reply With Quote
  #2 (permalink)  
Old 02-03-2007, 07:46 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
The javascript used by the sidebar will break sneak and not allow it to populate so it's either have a working sneak or be able to collapse your sidebar and move it around
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #3 (permalink)  
Old 02-03-2007, 07:50 PM
creep's Avatar
New Pligger
 
Join Date: Nov 2006
Location: Milan, Italy
Posts: 16
Thanks: 5
Thanked 3 Times in 3 Posts
Thanks for your quick reply, so is there no solutions to have 2 functionalities together?
__________________
Tendency to creep out.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Sidebar [MOD] Feedjit Live Traffic Feed chuckroast Modification Tutorials 5 11-01-2007 06:59 AM
ajax contact form in the sidebar help needed.. Sadmir "yget" 5 04-02-2007 09:17 AM


Search Engine Friendly URLs by vBSEO 3.2.0