*

iTroll

  • ***
  • 48 posts
Delete fields in - Ad New Post
« on: August 09, 2017, 01:04:59 PM »
Hy! How can i delete some fields in ad new section?

« Last Edit: August 09, 2017, 01:08:41 PM by iTroll »

Marked as best answer by frosticek on August 09, 2017, 02:13:06 PM
*

bobyrou

  • ****
  • 107 posts
Re: Delete fields in - Ad New Post
« Reply #1 on: August 09, 2017, 01:43:45 PM »
Sal,

Ca sa stergi campurile alea trebuie sa te duci in oc-content/themes/veronika/ si sa modifici fisierul item-post.php

Cauta:
Code: [Select]
          <div class="row">
            <label for="address"><?php _e('City Area''veronika'); ?></label>
            <div class="input-box"><?php ItemForm::city_area_text($prepare); ?><i class="fa fa-map-pin"></i></div>
          </div>

          <div class="row">
            <label for="address"><?php _e('ZIP''veronika'); ?></label>
            <div class="input-box"><?php ItemForm::zip_text($prepare); ?><i class="fa fa-map-signs"></i></div>
          </div>

          <div class="row">
            <label for="address"><?php _e('Address''veronika'); ?></label>
            <div class="input-box"><?php ItemForm::address_text($prepare); ?><i class="fa fa-home"></i></div>
          </div>
        </div>

Si inlocuieste cu:
Code: [Select]
          <div class="row" style="display: none;">
            <label for="address"><?php _e('City Area''veronika'); ?></label>
            <div class="input-box"><?php ItemForm::city_area_text($prepare); ?><i class="fa fa-map-pin"></i></div>
          </div>

          <div class="row" style="display: none;">
            <label for="address"><?php _e('ZIP''veronika'); ?></label>
            <div class="input-box"><?php ItemForm::zip_text($prepare); ?><i class="fa fa-map-signs"></i></div>
          </div>

          <div class="row" style="display: none;">
            <label for="address"><?php _e('Address''veronika'); ?></label>
            <div class="input-box"><?php ItemForm::address_text($prepare); ?><i class="fa fa-home"></i></div>
          </div>
        </div>

Daca observi... am inlocuit in toate cele trei campuri codul asta:
Code: [Select]
<div class="row">cu codul asta.
Code: [Select]
<div class="row" style="display: none;">
Practic ascunde campurile pe pagina de adaugare anunt, in caz ca te razgandesti mai tarziu doar stergi codul de jos si ar trebui sa reapara in formular.
Code: [Select]
style="display: none;"

*

iTroll

  • ***
  • 48 posts
Re: Delete fields in - Ad New Post
« Reply #2 on: August 09, 2017, 02:38:12 PM »
No! Mulțam fain!

Am adăugat doar partea asta, merge!
<div clasa="ros" style="display: none;">
Cum te numești?
« Last Edit: August 09, 2017, 02:46:41 PM by iTroll »

*

bobyrou

  • ****
  • 107 posts
Re: Delete fields in - Ad New Post
« Reply #3 on: August 09, 2017, 09:11:44 PM »
stan sau boby... :P

*

Romeo

  • ****
  • 115 posts
Re: Delete fields in - Ad New Post
« Reply #4 on: August 09, 2017, 09:20:34 PM »
Salut ,  care  im i arata si mie situl lui? de curios sa

*

iTroll

  • ***
  • 48 posts
Re: Delete fields in - Ad New Post
« Reply #5 on: August 10, 2017, 11:12:42 AM »
Mai am de lucru, nu este gata...

www.probazar.ro

*

Romeo

  • ****
  • 115 posts
Re: Delete fields in - Ad New Post
« Reply #6 on: August 10, 2017, 09:26:04 PM »
frumusel, bafta la finalizare

*

abhkhan

  • ***
  • 60 posts
Re: Delete fields in - Ad New Post
« Reply #7 on: February 24, 2018, 08:29:03 AM »
Please, Someone, Translate it into English  8)