What's new

Welcome to NullScriptz - NulledScriptz

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Latest Thread

Blue
Red
Green
Orange
Voilet
Slate
Dark

Share your content here:

Don't want to upload to our server on NullScriptz, Then share it now on our partner shareupld.com! Upload for free or take a subscription to be sure your files are save !

Need hosting without problems?

We are offering our own hosting service now! Check it out and host your nulled website now without problems ! NullScriptz Hosting, we also offer Xenforo Hosting!

Knowledge Base

We are building our knowledge-base, find your answers! Or get directly in contact with us by creating a ticket. (In progress..)

Pages: Filter Articles Homepage with Custom Database Field

IPS 4.4 Pages: Filter Articles Homepage with Custom Database Field 1.0.6

No permission to downloadVIP Upgrades
Compatible IPB Versions
  1. 4.4
This plugin lets you filter your custom database homepage for a custom database field.

You must use "Show records like articles" in your database settings. Otherwise this plugin doesn't make any sense.

In the plugin settings set the database id, the custom field id you want to filter for and the value(s) in this custom field you want to filter for. I recommend a radio button based field. Others weren't tested.

Caution: If you choose to filter for only one/several value(s) and not all and you have additional blocks/content which are based on the same database they also show only filtered content. In my use case this is not a problem. In your use case it could be.

The last setting is a custom URL variable you can set. Use ?yourVariableName=chosenfilter to create links for filtering content.

You should duplicate the "Category Articles" template (just export and import it again) in the Pages database template section because you have to adapt the pagination template. In the new created template group you should replace in the index template the following line

{template="pagination" app="core" location="global" group="global" params="$url, $pagination['pages'], $pagination['page'], $database->featured_settings['perpage'], TRUE, 'page'"}
with

{template="GRcustomDatabaseNavigation" app="core" location="global" group="plugins" params="$url, $pagination['pages'], $pagination['page'], $database->featured_settings['perpage'], TRUE, 'page'"}
This is needed because pagination has to get the filter variable, too.
Author
WinSys32
Downloads
0
Views
109
Extention type
zip
File size
5.7 KB
Hash
cc78f3078d7c178a76bc4dae8a95cc1b
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from WinSys32

Similar resources

Feed2DB - RSS Feed to IP.Pages Database Importer retail Sherezzadez
0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
Top Bottom