Quick Comparison: Last Segment options in EE 2.1.1
When I saw that EllisLab was going to add {last_segment} to EE 2.1.1, I thought that would surely make obsolete any add-ons developers have made to pull off the same trick. I headed over to Devot:ee and found Bjorn Borresen’s free Last Segment add-on to take a look.
When I compared Borresen’s add-on to the new built-in functionality, I saw that Borresen’s Last Segment appears to do quite a bit more with additional options, such as showing the last segment with or without pagination.
I have to imagine that Borresen will update his Last Segment add-on to work with EE 2.1.1. Since they both use the {last_segment} variable, I’d shy away from using them together. And if you depend on some of the features of Borresen’s Last Segment add-on, wait till he does update it before upgrading to 2.1.1.
Share on Twitter
Emmanuel — 11:11 on 10.19.2010
let’s say it: once again, hasn’t Ellis Lab pulled another misfit? yes it has. Despite having at least 2 add-ons on the market with this capability, they introduce a sub-par version of “last_segment”...are they lacking a developper or a designer, tell me?
Nico Smit — 17:19 on 10.19.2010
Hopefully they’ll introduce the extra option to retrieve the last segment without pagination somewhere before 2.3.8…let’s be honest;these variables should have been available in the core many years ago..
Bj — 13:57 on 10.20.2010
Hi guys,
I updated my extension to add a {last_segment_no_pagination} since what I set in {last_segment} is overriden by EE 2.1.1.
It’s just a quick fix - I expect this extension to be deprecated pretty soon (when EllisLab changes this behaviour). They can just copy these lines if they want: http://github.com/bjornbjorn/Last-Segment-extension—-plugin/blob/master/last_segment/ext.last_segment.php#L117