MOD: Change Frontend Glossary Entry Count

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
Ic3MaN
Posts: 2
Joined: Mon Oct 21, 2013 5:42 am

MOD: Change Frontend Glossary Entry Count

Post by Ic3MaN » Mon Oct 21, 2013 6:24 am

Hello again, another post about changing the default behaviour.

In this post we'll change the number of entries the glossary shows on the frontend, by default it shows 10 glossary items.

Just a word of warning, I am not a programmer so modify at your own peril.. :-p
  • 1. Open phpMyFAQ\glossary.php
  • 2. Change the $itemsPerPage variable on line (30):
    • - From this: $itemsPerPage = 10;
    • - To this: $itemsPerPage = 50;
  • 3. Save the file and you're done.
This should now list the the 50 glossary entries instead of the default 10. You may change the 50 to any number you wish.

Cheers.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests