Try Now
More in this section

Forums / Developing with Sitefinity / How to Customize Blog Pager

How to Customize Blog Pager

2 posts, 0 answered
    NARENDRA avatar
    3 posts
    03 Jun 2014
    23 Jul 2014
    Link to this post

    Hi All,

    I'm Using Sitefinity 6.2, and using sitefinity blogs

    <sf:Pager id="pager" runat="server"  ShowPrevAndNext="true"></sf:Pager>

    Now I'm Getting Blog pagination as

    Prev 1 2 3 4 5 Next

    But I need to Customize as

    < 1 2 3 4 5 >

    How to overwrite Arrows instead on Text?

    is there any way to write like Asp.net as

    previouspagetext="Prev" ?

    thanks  in advance 


  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    26 Oct 2016
    25 Jul 2014
    Link to this post
    Hello Narendra,

    In order to change the text of the labels "Prev" and "Next" of the pager, please perform the following:
    1. Go to Administration -> Labels and Messages
    2. Click on the Labels link on the right-hand side of the page.
    3. Type "Next" in the search field in order to find the label displaying "Next" and click search.
    4. From the search results list click on the label with Resource key: Paging_Next in order to open it in edit mode 
    5. Enter the desired text message in the text field.

    You can perform the same for the "Prev" label by searching for "Prev" and clicking on the label with Resource key: Paging_Prev.
    If you change the labels and messages for a first time you need to restart the application in order for the changes to take effect.

    I have also recorded a short video for your convenience demonstrating the above steps.

    You may also find useful the following blog posts about extending the default Pager control:
    1. Extending the default Pager control
    2. Extending Sitefinity Pager Control

    Sabrie Nedzhip
    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
2 posts, 0 answered