You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 487 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
How to change the number of Web Links per page

18.5.2. How to change the number of Web Links per page

You can change the number of Web Links that are displayed per page very easily - no programming necessary!

Just change the value of $perpage in modules/Web_Links/l_config.php:

$perpage = 10;
Tip Make use of the module configuration files!
 

It definitely pays off to have a look at the configuration files of the various modules! The l_config.php file, for example, located in the Web_Links folder under the modules directory, offers many variables that can be used to achieve the desired appearence of the Web Links module:

  • $perpage: How many links to show on each page?

  • $popular: How many hits need a link to be listed as popular?

  • $newlinks: How many links to display in the New Links Page?

  • $toplinks: How many links to display in The Best Links Page? (Most Popular)

  • $linksresults: How many links to display on each search result page?

  • $links_anonaddlinklock: Lock Unregistered users from Suggesting New Links? (0=Yes 1=No)

  • $anonwaitdays: Number of days anonymous users need to wait to vote on a link

  • $outsidewaitdays: Number of days outside users need to wait to vote on a link (checks IP)

  • $useoutsidevoting: Allow Webmasters to put vote links on their site (1=Yes 0=No)

  • $anonweight: How many Unregistered User vote per 1 Registered User Vote?

  • $outsideweight: How many Outside User vote per 1 Registered User Vote?

  • $detailvotedecimal: Let Detailed Vote Summary Decimal out to N places. (no max)

  • $mainvotedecimal: Let Main Vote Summary Decimal show out to N places. (max 4)

  • $toplinkspercentrigger: 1 to Show Top Links as a Percentage (else # of links)

  • $toplinks: Either # of links OR percentage to show (percentage as whole number. #/100)

  • $mostpoplinkspercentrigger: 1 to Show Most Popular Links as a Percentage (else # of links)

  • $mostpoplinks: Either # of links OR percentage to show (percentage as whole number. #/100)

  • $featurebox: 1 to Show Feature Link Box on links Main Page? (1=Yes 0=No)

  • $linkvotemin: Number votes needed to make the 'top 10' list

  • $blockunregmodify: Block unregistered users from suggesting links changes? (1=Yes 0=No)


Help us make a better PHP-Nuke HOWTO!

Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum!

Chris Karakas, Maintainer PHP-Nuke HOWTO

Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.816 Seconds - 283 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::