Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Nike555

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Nike555's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

0

Reputation

  1. Всем привет ! Решил создать 1 маленький модуль который будет удалять ненужные поля при регистрации. Но столкнулся с проблемой, opencart не может искать по нескольким строкам Пример: <file path="catalog/view/theme/default/template/account/register.tpl"> <operation> <search trim="true"><![CDATA[<div class="form-group"> <label class="col-sm-2 control-label" for="input-fax"><?php echo $entry_fax; ?></label> <div class="col-sm-10"> <input type="text" name="fax" value="<?php echo $fax; ?>" placeholder="<?php echo $entry_fax; ?>" id="input-fax" class="form-control" /> </div> </div>]]></search> <add position="replace"><![CDATA[ ]]></add> </operation> </file> Код должен удалять поле с факсом, но, если я делаю поиск по 2ым или более строк - не находит, соответственно не удаляет строки. Пробовал искать в гугл, не нашел. Подскажите пожалуйста как можно это провернуть? Спасибо
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.