Structure Channel
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Mark Croxton
auto_path returning EE pagination, pagination links has no ?
Bug Report
Rob Hodges
|
Posted: 10 October 2013 07:48 AM |
|
|
|
Hi Mark,
Lovely little add-on here, unfortunately I’m getting an issue with it. I’m running EE 2.5.5 and Structure 3.3.8 (with Freebie) as well as the latest version of Structure Channel from your github.
I’m using the structure channel tags without pagination_param or paginate_base (not sure if these are required?)
{pagination_links} renders the URLs like this: http://www.site.com/blog&page=1
{auto_path} renders the URLs like this: http://www.site.com/blog/P10 etc
Any ideas?
Thanks,
Rob
|
|
|
Rob Hodges
|
Posted: 10 October 2013 08:14 AM |
# 1
|
|
|
Hm. Looks like the old {related_entries} tag doesn’t work either. Think I’ll have to find another solution for this scenario!
|
|
|
Mark Croxton
|
Posted: 10 October 2013 09:35 AM |
# 2
|
|
Developer
|
You do need to set a pagination_base - see the example on the main add-on page. It doesn’t add the ? by default because it makes no assumptions about what you want in your query string. I don’t think the autopath will work as it’s not part of CI’s pagination class.
|
|
|
Rob Hodges
|
Posted: 10 October 2013 09:38 AM |
# 3
|
|
|
Aha. Thanks for the reply. You might want to take the auto_path bit out of the example and say the base is req. in the notes when you get a chance. Still unsure why relationships don’t work though!
Anyway, I’ll work it out somehow :)
Thanks,
Rob
|
|
|