GRS beta update
I've made adjustments to the way the "advanced" search looks. I've placed the filters under the search field, which takes up room of course. A confounding factor was that I want the header to be fixed, and this seems to take it out of the flow a la floats (at least it appears to). End result is that with extra bits in the header, the gallery and editor are partially obscured. Using some conditional PHP I've set a class on the wrap div so it has a top margin to accommodate the filters. This makes my clean and tidy interface a bit beefy looking but it seems to be working.
Looking at the problems associated with the previous post I am now looking in to creating switches that should provide a more logical and flexible method for conditionally including features. The way I see it, I can render the cases thusly:
If filters are on, editor can be off or on, q can be set or not set.
If editor is on, filers can be on or off, q can be set or not set.
If q is set, filters can be off or on, editor can be off or on.
Given that there are at least three scripts that will need to run these cases, should I set a variable + value (e.g. $conditions = 1 or $conditions = 2 etc.) and, when appropriate, include code like this:
if ($conditions == '2'){
echo 'Two!';
}
This seems logical, but I have a feeling that it will require a great deal of code revision...