Glen Swinfield says his plugin can do pagination for related/reverse related entries
Posted: 04 April 2009 02:46 PM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  512
Joined  04-23-2008

I’m aware of an inherent problem in EE that does not allow the pagination of related/reverse related entries. Glen Swinfield developed a plugin called “Better ExpressionEngine Related Entries” that, according to this reply, allows for the pagination of related and reverse related entries.

You can view and download his plugin here: http://www.glenswinfield.co.uk/activity/comment/better_expressionengine_related_entries/

I will be cramped with other work until about Apri l7th and won’t have the luxury to do much development until then, so if any industrious developers here want to give it a shot, or already have, please do reply with your feedback. =)


Cheers!

 Signature 

Danny Tam » Twitter | LinkedIn | Facebook | Flickr

Profile
 
 
Posted: 23 June 2009 12:15 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  141
Joined  05-15-2008

dimsum, not sure if you ever got to this or not, but I just tried out Glen’s extension for a project where I needed to be able to use pagination w/reverse related entries - worked like a charm!

-Manoj

 Signature 

TradeMark Media - Austin, TX

Profile
 
 
Posted: 30 June 2009 02:38 AM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  41
Joined  12-27-2006
Manoj Thomas - 23 June 2009 12:15 PM

dimsum, not sure if you ever got to this or not, but I just tried out Glen’s extension for a project where I needed to be able to use pagination w/reverse related entries - worked like a charm!

-Manoj


How did you do this??

Profile
 
 
Posted: 14 July 2009 10:16 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  141
Joined  05-15-2008

Hey salmoon, looks like Glen just released a newer version: http://erskinelabs.com/post/expressionengine-related-entries/

If you’re still using the old one (http://www.iterasi.net/openviewer.aspx?sqrlitid=oxgcrcyto02nqwq0yptldw), though), you should be able to add the child_url_title or parent_url_title parameter to your weblog entries expression.

-Manoj

 Signature 

TradeMark Media - Austin, TX

Profile
 
 
Posted: 14 July 2009 11:18 AM   [ Ignore ]   [ # 4 ]  
Lab Assistant
RankRank
Total Posts:  181
Joined  12-09-2008

Just ran across Glen’s plugin, I plan on trying it out in the coming weeks.

 Signature 

Montreal web design | twitter

Profile
 
 
Posted: 26 July 2009 11:05 PM   [ Ignore ]   [ # 5 ]  
Summer Student
Total Posts:  21
Joined  08-31-2007

I’m trying to use the Erskine Related Entries module, but I’m unable to get any results.

Basically I’m trying to display a list of items (with pagination) that belong to a certain “family”.

weblog: product_items
relationship field: item_family

weblog: product_families

I’m able to easily display all of the items with native “reverse_related_entries”... BUT the problem is I don’t get the pagination I need! Here’s my attempt with the Erskine Related Entries module:

Here’s the main template that brings in the embed:

{exp:weblog:entries weblog="product_families"}
<h2>{family_description}</h2>

{embed="embeds/related"  child_url_title="{segment_3}"}

{
/exp:weblog:entries}

Here’s the embed:

{exp:ed_related:entries weblog="product_items" child_url_title="{embed:child_url_title}" limit="10" sort="asc"}

    
<p>item_id: {item_id}</p>
    <
p>item_photo: {item_photo}</p>
    <
p>item_family: {item_family}</p>

{if no_results}
<p>There are no entries available.</p>
{/if}

{
/exp:ed_related:entries}
Profile
 
 
Posted: 25 October 2009 07:52 AM   [ Ignore ]   [ # 6 ]  
Grad Student
Avatar
Rank
Total Posts:  96
Joined  09-14-2007

mucha, did you manage to solve your pagination problem? I’m having a similar issue with this… able to display all entries but pagination not working for me.

Here’s my code:

{exp:ed_related:entries weblog="date" dynamic="off" child_url_title="{segment_3}" orderby="date_date" sort="asc" paginate="bottom" limit="5"}
<h4>{date_date format="%D, %F %d, %Y"}, {date_time}</h4></li>
<
a href="/booking/{url_title}/" alt="Book for {date_date format=">Click here to book/make an enquiry</a>
{paginate}

{if previous_page}
<a href="{auto_path}">Previous Page</a> &nbsp;
{/if}

{if next_page}
<a href="{auto_path}">Next Page</a>
{/if}

{
/paginate}
{
/exp:ed_related:entries}

This displays 5 entries but when I click ‘Next page’ it just reloads the same 5 entries.

any help would be great

cheers,

Chris

Profile
 
 
Posted: 26 October 2009 07:45 AM   [ Ignore ]   [ # 7 ]  
Summer Student
Total Posts:  21
Joined  08-31-2007

Unfortunately no, I never got it figured out.

I ended up just resorting to jQuery and the “Quick Paginate” plugin.

http://projects.allmarkedup.com/jquery_quick_paginate/

Profile
 
 
Posted: 26 October 2009 08:23 AM   [ Ignore ]   [ # 8 ]  
Grad Student
Avatar
Rank
Total Posts:  96
Joined  09-14-2007

Ok, thanks for the tip. Will give that a go myself.

cheers,

Chris

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 02:47 PM
Total Registered Members: 115019 Total Logged-in Users: 111
Total Topics: 122451 Total Anonymous Users: 75
Total Replies: 647334 Total Guests: 577
Total Posts: 769785    
Members ( View Memberlist )
Active Members:    abicrockAdam DorseyAndrew MacphersonAndy HarrisbmillerBrent Burgoynebuckycatcc000001Chris NewtoncripcropCrucialD. Shun-Luoi FongDan HalbertdapacreativedemotivedesignerhandbagsdibejaDjiveDLMADouglas BackdxagencyDylan Smith/ContextDesignEastwood DesigneddieadamseefalconErik ReaganeriklarssonetoshaeuetzexpocomeyelidlessnessfensterbabyFrank Spilkerfred15robersonfusioeeGreg Akergrovbergguru24guyrobertsGwarriorhearsayHrimthursIan EbdenITWYjaasumJack McDadeJörg GudehusjeremydouglasJKDesignJohn MortonJohn*JonnyTurnerjonparadise2journalistonekcdunstanLaisvunaslebisollincolnpixelliquidbookLLeakelog cabinLyle AndersonMarc MillerMark BowenMark CroxtonmarkgledhillMatthew EllismelissajcMichael ByströmMichael HahnNate RowenimbleslickOxygen SmithpackmanPanchescoParadiseParisJCPascal KrietePaul VerheulPoP.LiferamonekalsawrchostingregistryrevealrichardquayrippesakanaSaymontscreentonicSean O'BriensgallasstephenslaterSteve FairhurstSteven GrantstreetalchemiststudionighSupercoolSVA Interaction Designtimprinttimurvicvega1972vobtoaviWaielyatupidayo_danielzackmorgan