search all modules for dummies
Ning To Jamroom
since the new search (make sureyou update!) alows module searching i wanted to give ya all a lil tip on how to easily incorporate the search into all modules sitewide
step 1 click a module any module start at the top or bottom of the list and work your way down or up...odviosly some modules wont be searchable or u might not want them to be but all searchable modules have a an index.tpl and/or an item_index.tpl (so far only the profile forums has only index_item and no index)
step 2 click modify next to each
step 3 verify there isnt already a search code (some index.tpl templates might have 1 while the item_index in the same module does not) to verify no search exists simply do control f then type search if search is found theres no need to add another so move on to the next template
step 4 do control f and type
you want to put the search code right before the h1 tag this might be after the <div class="title"> or after a closing
or even an
each template differs but as long as you paste the code right before the
your fine
step 5 copy this code
<div class="modulesearch">{jrSearch_module_form}</div> (the div class modulesearch and closing div are optional only added for easy styling)
will work just as well
step 6 save
after editing both templates (if both needed editing) dont forget to go back to the template list, check the 'active" checkboxes next to each edited template then save
next move on to the next module you want searchable and repeat the steps above
youtube , playlists, groups, and posiibly a couple others already have search on 1 of the 2 templates so make sure you check before adding a second one
updated by @soaringeagle: 07/09/16 09:21:02AM