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&#160;<span style="myshop-search-field:control"/>
                        &#160;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"/>&#160;
                        <input type="button" style="myshop-action:search" value="zoeken"/>
                </td>
        </tr>
</table>

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment