How to Customize Blog Pager

Posted by Community Admin on 04-Aug-2018 06:27

How to Customize Blog Pager

All Replies

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

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

nextpagetext="Next"
previouspagetext="Prev" ?

thanks  in advance 

 

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

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

Regards,
Sabrie Nedzhip
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
 

This thread is closed