In certain cases, you might want to utilize traditional or native search for the search bar dropdown in certain nodes. For instance, you might have a specialized plug-in for your Classifieds section.
To designate that the search bar dropdown should use traditional search in certain nodes, follow these instructions:
- In AdminCP > Styles & Templates > Template Modifications, search for "Threadloom" and find the "search_bar" template modification.
- Uncheck the box to the right of the description.
- In AdminCP > Styles & Templates > Templates, find the "search_bar" template. Manually edit it to replace this line:
<form action="{xen:link 'search/search'}" method="post" class="formPopup">
with the following:
<xen:if is="{$xenOptions.threadloom_search} AND !in_array({$forum.node_id}, array(99, 105))">
<form action="{xen:link 'threadloom/search'}" method="post" class="formPopup">
<xen:else />
<form action="{xen:link 'search/search'}" method="post" class="formPopup">
</xen:if>
Replace "99, 105" with the ids for the nodes that you want to use traditional search in.
Important: For now, you will need to repeat these steps when you upgrade the Threadloom plug-in.
Comments
0 comments
Article is closed for comments.