Changing the Resource Block Search Bar Setting

If you’re looking to change the number of links which need to be displayed within the resource section of the aMember Pro member pages before the search bar displays, here’s an easy to follow tutorial. And when I say easy, I mean like ’20 seconds’ from start to finish, and that’s assuming it takes you 15 seconds to FTP in…

First off, please remember that all my tutorials are based on your installation being the default “/amember” directory. That said, let’s get going…

1. Login via your favorite/preferred FTP program.

2. Navigate your way to the following directory/folder.

/amember -> /application -> /default -> /views -> /blocks

3. Open the following file in a text editor:

member-main-resources.phtml

4. Line 2 should read something like:

<?php if (count($resources) + count($left_member_links) > 25) : ?>

5. Change ’25’ to whatever number you want…

i.e. If you want the search bar to appear once there are more than 5 download
links, change 25 to 5. If you’re ok with displaying 100 download links before the
search bar will appear, change 25 to 100.

6. Save the file.

Congrats! You’re Done! Didn’t I tell you it was super simple!

If you find any of my aMember Pro tutorials or articles useful, or have any questions related to the aMember Pro system, please feel free to post a comment (below) or contact me anytime using my online help desk. I check these pages frequently and will reply as soon as I can.

PLEASE NOTE:
Since many have asked, if you wish to thank me financially, you may do so by "paying it forward" with a donation to a very worthy cause. Alternatively, if you'll be purchasing any additional aMember Pro licenses or any of their add-on modules (plugins), please consider clicking here to purchase using my affiliate ID in which case I will earn a referral fee.


RELATED POSTS

• Creating a Drip-Fed System for Your Member Area [COMING SOON]
Manually Backing Up Your aMember Database
Creating A "Sticky Sidebar" on aMember Cart Pages
Self Testing A Custom Purchasing Functionality
Display Notifications on ALL aMember Pages
Protecting Content: Any Product vs All Registered Customers
Receive Notifications of Illegal Admin Access Attempts
Changing the Resource Block Search Bar Setting
Disabling Throwaway eMail Addresses

Leave a Reply