How To Change the Default Show / Hide Details Option when Displaying Search Results
Issue:
The Show/Hide Details option is set to Show by default in DocuShare, this can be changed but the option reverts to Show again after each search is performed.
Solution:
NOTE: This solution applies to DocuShare 6.x
Modify the dslib.vdf template
NOTE: You must be a Windows Administrator to perform this solution.
1. Copy the dslib.vdf from \amber\templates\system
2. Paste the dslib.vdf into \amber\templates\local
3. Open the \amber\templates\local\dslib.vdf in a text editor. (such as NotePad)
4. Scroll down the file until around line 1258 (or search for the word style=â€display )
5. The section should look like the one below.
"viewdef:dslibMessages:contentSnippet" />
"request:xss_safe_value(value=$object:getSnippet)"/>
"viewdef:dslibMessages:contentSnippet" />
"request:xss_safe_value(value=$object:getSnippet)"/>
6. Uncomment the div where
NOTE: To uncomment remove the at the end.
Example: