Hi!
I need help with search part. In the website header I have search:
What code should I add to the search.php file? I want that items on my page should be searchable by word in text description and by the code. I have editable regions for those two called:
I need help with search part. In the website header I have search:
- Code: Select all
<cms:form method="get" action="<cms:link 'search.php' />" anchor='0'>
<cms:input type="text" value="" name="s" class="form-control" placeholder="Search" />
<span class="input-group-btn">
<button class="btn btn-default btn-primary btn-search" name="submit" type="submit">SEARCH</button>
</span>
</cms:form>
What code should I add to the search.php file? I want that items on my page should be searchable by word in text description and by the code. I have editable regions for those two called:
- Code: Select all
<cms:editable name="proizvod_sifra" label="Šifra" type="text" />
<cms:editable name="proizvod_opis" label="Opis proizvoda" type="richtext" />