Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Taking control of the Paging ControlsTaking control of the Paging Controls
Previous
 
Next
New Post
4/8/2008 11:43 PM
 

I need the core paging controls to not take up so much width. I'm using the Feedback module (04.04.03) in a narrow column. I have already adusted the Previous and Next text to  « and » to save space and hidden the First and Last links. I've changed "Page x of y" to "x/y". This was all done in the language editor and CSS. What would really be great is if I could limit the number of pages that are listed. For example, can « 1 2 3 4 5 6 7 8 9 »  be forced to stop enumerating at 5?

Thanks,
Ken

 
New Post
4/10/2008 4:26 PM
Accepted Answer 

Hi Ken,

It appears that the number of page links is hardcoded in the PagingControl.  I see the following on Controls/PagingControl.vb on line 192:

Dim PageLinksPerPage As Integer = 10

Unfortunately, because this is a private, local variable (?!?!?) of the BindPageNumbers method, further configuration is not possible.

 

You could theoretically change this number and recompile the core, but that would change the paging throughout the website. 

A better way to do it would be to expose that value as a public property so that you could modify your given .ascx file to display as you desire.  I suggest creating a support request to do exactly that in Gemini, located at support.dotnetnuke.com.

Hope this helps!

Brandon

 


Brandon Haynes
BrandonHaynes.org
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Taking control of the Paging ControlsTaking control of the Paging Controls


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out