Set nextensio list filter to show by default

Set nextensio list filter to show by default

Set nextensio list filter to show by default
divider

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

Written by:  - 28 Sep, 2009