myshop-action:search
Entity | Value |
---|---|
Attribute(s) | style |
Type | action |
Relation | “myshop-has:searchblock, myshop-repeat:search-fields |
The myShop additionmyshop-action:search allows the layout of the search button of the search block to be changed. The addition can be used in combination with your own search block layout. When using the default search block this addition does not work as well because the default block already has a search button. To prevent the button being shown when the search option in on ‘off’, the addition is best placed within a myshop-has:search-block. The next example shows the use of this addition. Line 16 of the example contains the search button.
<table style="myshop-has:searchblock">
<tr style="myshop-repeat:search-fields">
<td>
<span style="myshop-search-field:label"/>:
</td>
<td style="myshop-not-has:search-field-max">
<span class="lijst" style="myshop-search-field:control"/>
</td>
<td style="myshop-has:search-field-max">
van <span style="myshop-search-field:control"/>
 t/m<span style="myshop-search-field:control-max"/>
</td>
</tr>
<tr>
<td colspan="2" align="rights">
Alle producten: <span style="myshop-search-field:control-global"/> 
<input type="button" style="myshop-action:search" value="zoeken"/>
</td>
</tr>
</table>
Post your comment on this topic.