Just wondering how to remove the exposed sort form that shows up underneath the forum topics when you go to a given forum (accross from the "Form tools" dropdown). Checked out the view, but the sort doesn't seem to be exposed there in the normal way? I saw options to modify the exposed sort, but none to remove it entirely?

A picture's worth 1000 words:

screen capture

Thanks for any help!

Comments

Michelle’s picture

Interesting... I looked at the view and was surprised that I couldn't figure it out, either. Possibly it's added in code? Maybe troky will know. I don't have time to delve into the code right now.

thesaint1987’s picture

Since I am totally retheming the advanced forum for my site I can tell you how:

Its in the file: "advanced-forum.naked.topic-list-outer-view.tpl.php"

Line 82:

if (!empty($view->sort_form)):

print advanced_forum_forum_topic_list_sort();

endif;

Remove these three lines and its gone...

troky’s picture

Status: Active » Fixed

It would be better to make your own advanced-forum-topic-list-outer-view.tpl.php with above changes and put it in your theme folder.

Don't mess with AF core templates.. it's bad practice.

JordanMagnuson’s picture

Thanks for the info.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.