XF 1.2 Duplicating "Thread Display Options" ajax dropdown in sidebar


Active member
I'm trying to create that same functionality in the sidebar that you see when you click "Thread Display Options" and it slides down, then back up.

The closest I'm able to get it is to get it to redirect me to the homehome when I click the link meant to open it, with contents then showing, but no way back, and only from the forum view page.

I can also get it to open when I click the original "Thread Display Options" link, it'll open with it, but then not close with it.

I've been messing with:

<h3 id="DiscussionListsOptionHandle" class="JsOnly"><a href="#">Testinga</h3>
<br />
<form action="{xen:link 'forums', $forum}" method="post" class="DiscussionsListsOption secondaryContent">
.. changing discussionlistoption to something else, and copying that CSS into a new template that I include.

Can anyone point me in the right direction?
Last edited:


Active member
Can anyone help me pull this off? I'd like to use it as a learning tool..

Edit: Most of the way there now... thanks anyway..
Last edited: