This topic is locked

Set Search Panel to 'Hide' as initial state

11/9/2011 11:35:27 AM
PHPRunner General questions
P
pbais author

With PHPRunner 6 came a new Style Editor. It is good to have the possibility the change layouts, but it is still not very intuitive in this version. Still a great leap forward!
Anyhow. If, in the project in PHP Runner, in the 'fields' tab one or more fields are selected for the 'search'-page, the generated list page now contains a search-panel (which almost makes the 'advanced search' option obsolete), which is shown in the left (or right) panel of the generated page.

The search panel can be hidden (and shown) with a toggle link above the panel. The initial state of the panel is visible.
How do I set the default (or initial) state of the search panel to hidden IN THE TEMPLATES (and NOT in the specific project)?
I have tried to find the JavaScript function which does this (which is a tough job, because the hyperlink under the show/hide button is "#" ....), but I couldn't find anything that might be applicable after searching in the magnitude of .htm, .css, .js, .ly, .xml files
Thnx!

L
laonian 11/11/2011

What I did was:
At the Miscellaneous page, click "Search settings" button. In the new popup, unchecked all fields for the "Search Panel" column. This will give me an inactive seach panel at the initial list page.