Show Hide Filters in News

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Show Hide Filters in News

Post by KO »

This is something extremely simple but makes the default News view less crowded by hiding Filters.

On directory /modules/News/templates there is file called articlelist.tpl. If you open that and add following...

{if isset($formstart) }{startExpandCollapse id="name" title="Show / Hide Filters"}


And


{stopExpandCollapse}
{/if}

Now this creates button that can "Hide / Show Filters" when needed.
Post Reply

Return to “Tips and Tricks”