Current User: Guest
Please consider registering

 
Search Forums:


 




Custom WP Loop & jScrollPane issues

Post

Owen - Guest

12:40 pm - July 4, 2009

 
1

Post edited 4:43 pm - July 4, 2009 by Owen


Hello,

Your WP plugin works beautifully...but sadly, the theme I've developed employs some complicated devices which are causing functionality issues. I haven't been able to iron them out and I may have to drop aWP if I don't succeed. It is my hope that you may be able to point me in the right direction.

I've built this site for a friend: http://dantefriedchicken.com

You'll see that the blog is contained in an over-flow vertical-scroll DIV with the jquery jScrollPane plugin for the custom scroll bar. jScrollPane's documentation describes a method for reinitializing the scroll pane when content is added/removed dynamically. While this simple example works, the trouble is, I can't work out how to tell jScrollPane to reinitialize with aWP handling the ajax.

As it is now, content often get's chopped off at the bottom... Any ideas?

Secondly, in order to have wordpress print posts in 3 different containers (1 for the main blog and 2 for additional stuff) I changed the loop like this:

<?php $posts = get_posts( "category_name=Uncategorized" ); ?>

The 2 other containers get fed with posts which have specific category names. Now, this works great on the initial load. But, if you click the Previous link, posts get printed regardless of the category filter. I am baffled by this behavior and assume it must be some function of aWP that causes this... again, any ideas?

So, on one hand I don't know how to make the connection between jScrollPane and aWP, and on the other, the custom wordpress loop and aWP are crossing wires. It seems that I am customizing too many pre-built frameworks but, with a nudge in the right direction I think I could successfully merge all these disparate parts. Your assistance in this matter would be very much appreciated.

Thank you,
Owen

Aaron - Admin

2:18 pm - July 20, 2009

posts 382

 
2

For the first issue, take a look at the AWP compatibilities module.

Add a line of javascript such as: $actions[] = 'setTimeout("try{Lightview.updateViews();}catch(e){}",2000);'; //lightview

Just change the code inside the try{} to update the jquery.

As for the second, make sure the correct template file is being loaded using a bit of test code.

Nav - Guest

8:34 pm - October 28, 2009

 
3

I have the same problem, I need to reset the position of jscroll pane after page is loaded with ajax. Is there a way to reset the jscrollpane position so that everytime a page is loaded the scrolling starts from the top. I am not sure what you mean here

"Add a line of javascript such as: $actions[] = 'setTimeout("try{Lightview.updateViews();}catch(e){}",2000);'; //lightview"

Can you please explain what i need to do to make it work. here is my website http://ezywebdesign.com.au If you browse through pages you will see that scrolling does not start from the top once you change the position of scrollbars on one page.

Nav - Guest

8:00 pm - November 9, 2009

 
4

Has anyone figured out how to get ajaxed wordpress plugin to work with jscrollpane. Ajaxed wordpress is a great plugin but i am unable to use it because i can't figure out how they can both work together. see previous post for details.



Reply to Topic: Custom WP Loop & jScrollPane issues

Name (Required):

EMail (Required):

Website):

Topic Reply:

HTML Editor
Save New PostSmileysOptions

Guest URL (required)

Math Required!
What is the sum of:
3 + 8
   

 
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell

 
 

About the Ajaxed WordPress forum

Most Users Ever Online:

35


Currently Online:

3 Guests

Forum Stats:

Groups: 1

Forums: 4

Topics: 173

Posts: 462

Membership:

There are 193 Members

There have been 135 Guests

There is 1 Admin

There are 0 Moderators

Top Posters:

fromgrannie - 5

jakemc - 5

tombyrnes - 4

Siam - 4

flash - 4

BAM - 4

Administrators: Aaron (382 Posts)