R rdn Well-known member May 14, 2013 #1 Code: <xen:if is="{$searchBar}"> <dl class="ctrlUnit"> <dt></dt> <dd><ul> <xen:foreach loop="$searchBar" value="{$constraint}"> <li>{xen:raw $constraint}</li> </xen:foreach> </ul></dd> </dl> </xen:if>
Code: <xen:if is="{$searchBar}"> <dl class="ctrlUnit"> <dt></dt> <dd><ul> <xen:foreach loop="$searchBar" value="{$constraint}"> <li>{xen:raw $constraint}</li> </xen:foreach> </ul></dd> </dl> </xen:if>
Chris D XenForo developer Staff member May 14, 2013 #2 You know the two drop down boxes at the bottom of the search bar in the Resource Manager? That's a search bar constraint. So it allows developers to customise the search bar in their templates based on the type of content on that page. Upvote 0 Downvote
You know the two drop down boxes at the bottom of the search bar in the Resource Manager? That's a search bar constraint. So it allows developers to customise the search bar in their templates based on the type of content on that page.
R rdn Well-known member May 14, 2013 #3 You mean this ? Attachments Capture.webp 8.2 KB · Views: 8 Capturrre.webp 10.6 KB · Views: 7 Upvote 0 Downvote