Paging issue after selecting a tag to filter blog posts

Posted by Community Admin on 04-Aug-2018 19:22

Paging issue after selecting a tag to filter blog posts

All Replies

Posted by Community Admin on 31-Jan-2012 00:00

I'm currently running into an issue with the pager not working correctly after someone has clicked on a Tag to filter the blog posts.

If you click on a tag you get this url:
http://blogs.buffiniandcompany.com/brians-blog/-in-Tags/Tags/brian-buffini
but when you move down to the bottom of the page and click on page 2 for the Pager the URL is: http://blogs.buffiniandcompany.com/brians-blog/page/2/
which just takes you to page 2 of the entire blog list. The URL should be
http://blogs.buffiniandcompany.com/brians-blog/-in-Tags/Tags/brian-buffini/page/2/
any thoughts on what is wrong with my configuration?

I ran across an earlier post that talked about setting the UrlEvaluationMode to QueryString from UrlPath which works, but then makes the URLs of my posts look like this (in the blog post widget): http://blogs.buffiniandcompany.com/brians-blog/brians-blog/2012/01/20/3-things-you-can-do-today-to-increase-productivity, which I'd prefer not to have, I guess I just don't like seeing the '/brians-blog/' in there twice.

Of course changing the UrlEvaluationMode back to UrlPath has unfortunately left me with the double '/brians-blog/' in all of my blog list widget URLs, but with the pager back to not working.

Is it possible to have the UrlEvaluationMode set to 'UrlPath', get the pager to work, and get my blog post URLs to only have one '/brians-blog/' path in them?

Thanks.

Posted by Community Admin on 03-Feb-2012 00:00

Hello,


That's tough one, we have implemented the UrlEvaluationMode Querystring to accomodate especially for this scenario where you are filtering items by taxonomy and want to use paging. As of now there is no other way to achieve this but use querystrings, however we're leading an internal discussion on a possible change in that implementation. Please stay in touch and we'll let you know as soon as there's further development on the matter.


Regards,
Boyan Barnev
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 03-Feb-2012 00:00

That's fine I can use the querystring method, it just sucks that both the page name & blog name have to be in the URL. Currently I have them the same name, but I can change the page name to something else I suppose.

Posted by Community Admin on 17-Jul-2014 00:00

Dear Boyan

Any news on this, since it's still the same 2 years later in 7.0.5115.

Well I guess setting teh UrlEvaluationMode to Querystring in advanced works ok.

Markus

Posted by Community Admin on 22-Jul-2014 00:00

Hello Markus,

Currently, the paging still works with the UrlEvaluationMode setting, configured to QueryString. This is because, by default, the paging does not set and persist any filtering data in the default mode and just makes a request with the pageIndex. When in QueryString mode further parameters are set in the query, so the widget could be correctly resolved and the full query could be build.

Regards,
Nikola Zagorchev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 06-Apr-2017 00:00

The problem with this approach is that we end up with non friendly seo urls.  Is there another solution?

Posted by Community Admin on 03-Aug-2017 00:00

Hi,

Can we keep the Urlpath parameter, and have the pagination working after filtering? has this been fixed?

Thanks

This thread is closed