Rate this article

Set nextensio list filter to show by default

Rating: 5.0/5 (2 votes cast)

 Step 1

Insert a little PHP variable somewhere in the beginning of the page body or within the head, it doesnŽt actually matter:

<?php
$ShowFilter = "Y";
?>

Step 2

The nextensio list has exactly and fortunately just 2 places where the "state of filter visibility" is being checked -- and this is where we will be adding our static variable:

search for those conditional regions starting with this line:

if (@$_SESSION['has_filter_tfi_listwhatever1'] == 1) {

weŽll now be adding our variable as "OR" - condition (can also be symbolized by "||") to make sure that both the original detection and our own variable return true:

if (@$_SESSION['has_filter_tfi_listwhatever1'] == 1 || $ShowFilter == 'Y') {

listwhatever1 is the  name of that filter region

Adobe

Free PositiveSSL and WhoisGuard with Every Domain Purchase
XMS Systems
ionCube Online PHP Encoder

Although we try to ensure all the articles submitted are valid it is your responsibility to make sure you have backups before you use these suggestions on your pc or websites.
We do not take any responsibility for any data-loss, loss in functionality or any problem that might arise in what-ever way or form by making use of the information on this site.

"Friends of Interakt" has no connection to the Adobe Interakt Company