Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Is Next/Previous Entry Linking possible with Publisher (translated URLs)

Status Resolved
Add-on / Version Publisher
Severity Trivial
EE Version

erwinheiser

Jul 11, 2013

I’m only seeing the


{exp:channel:next_entry}
  

Next entry: {title}

{/exp:channel:next_entry}

{exp:channel:prev_entry}

Previous entry: {title}

{/exp:channel:prev_entry}



links when I’m on a page with the default language. With a different URL prefix they don’t appear. I assume it’s not possible at the moment or am I missing something? (not a major issue though - just asking).
e.g.
http://188.40.73.115/~hogerhuis/index.php/nl/boomhut/boomhut-in-limburg  has them (at bottom)
http://188.40.73.115/~hogerhuis/index.php/fr/boomhut/boomhut-in-limburg  does not have them
                
            
#1

BoldMinded (Brian)

Honestly I forgot about that tag, so I’m not surprised it isn’t working correctly. I’ll look into it though.

#2

BoldMinded (Brian)

Erwin, I was able to get the prev/next tag working just fine as is with the following template (this is the only thing in the template)

{exp:channel:entries channel="pages" dynamic="yes" limit="1"}
 {title}
{/exp:channel:entries}

{exp:channel:next_entry}
    Next entry: <a href="http://{path=layouts/prev-next}">{title}</a>
{/exp:channel:next_entry}

{exp:channel:prev_entry}
    Previous entry: <a href="http://{path=layouts/prev-next}">{title}</a>
{/exp:channel:prev_entry}
#3

erwinheiser

Brian, I added your test code to a separate template. For the default language it works as you can see here: http://188.40.73.115/~hogerhuis/index.php/nl/boomhut/test/boomhut-in-limburg

For the other languages (fr + en just change the language prefix on the URL above) not only do they not appear but it’s pulling in the wrong entry as you’ll see.

#4

BoldMinded (Brian)

Yeah, I see that now.

#5

BoldMinded (Brian)

Ok, after looking at the core code this isn’t going to work. They’ve littered it with inline queries and it has no hooks. I could probably copy the code and add it as a Publisher method, its only a few hundred lines :/

#6

erwinheiser

OK - for now I’ve disabled the module. Sorry about that - but I have limited time to get this site out the door and after talking to the client the prev-next is a dealbreaker ;(

#7

BoldMinded (Brian)

I hacked around a bit this morning before work and think I have a solution close to ready. I can probably get you a working solution early next week.

#8

BoldMinded (Brian)

New build emailed to test.

#9

BoldMinded (Brian)

Included in 1.0.2 release.

Login to reply