+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Paging issue after selecting a tag to filter blog posts

Paging issue after selecting a tag to filter blog posts

5 posts, 0 answered
  1. Brian
    Brian avatar
    3 posts
    Registered:
    23 Jan 2012
    31 Jan 2012
    Link to this post
    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.
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    02 Dec 2016
    03 Feb 2012
    Link to this post
    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
  3. Brian
    Brian avatar
    3 posts
    Registered:
    23 Jan 2012
    03 Feb 2012
    Link to this post
    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.
  4. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    17 Jul 2014 in reply to Brian
    Link to this post

    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

  5. Nikola Zagorchev
    Nikola Zagorchev avatar
    424 posts
    Registered:
    24 Nov 2016
    22 Jul 2014
    Link to this post
    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
     
5 posts, 0 answered