I like the idé of OCMOD but the search function is crap or I am bad at using this. I am really tempted to start editing the core files at this point as it would be so much easier
The main problem is the search system of OCMOD. I have seen many similar threads about this issue. But I dont feel there is any clear solution, or am I missing something?
How can find and replace/add/change multi line code?
I guess I can write an operation for every single line individually? But that feels messy. Also, not every single line is unique.
How can I make the OCMOD find this for ex.
Code: Select all
<div class="btn-group">
<button type="button" data-toggle="tooltip" class="btn btn-default" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product_id }}');">
<i class="fa fa-heart"></i></button>
<button type="button" data-toggle="tooltip" class="btn btn-default" title="{{ button_compare }}" onclick="compare.add('{{ product_id }}');">
<i class="fa fa-exchange"></i></button>
</div>
Is there a way to do a OCMOD search to ignore linebreaks and spaces reliably?