I’d done a plugin to remove the in-category restriction on entry linking in the gallery module. I’m using it at the moment in my gallery archive.
Just today I set about adding a parameter. While I was doing this, I noticed that the code in the gallery module for entry linking has been changed with EE 1.2.1. So, I updated my plugin and it is working ok EXCEPT the next link actually goes to the previous entry and the previous link actually goes to the next entry (I expect the entries to be ordered by ascending entry ids).
Is there some new undocumented parameter that I’m missing related to the order of entries? I’ve noted 2 variables in the new code that weren’t there before. Namely $cycle and $order, but it isn’t clear to me how they are utilised, or even if they are parameters at all. I’m guessing the $cycle variable is to force looping, because my markI plugin didn’t have this feature whereas the new one does. But what is the order variable and how can I harness it? BTW: it would be good to be able to choose if I want looping or not.
Note I’ve also tried the native entry linking tags just to check, and the behaviour is the same. The order is correct, only reversed.
