*

Sony

  • ***
  • 35 posts
transaction and condition
« on: January 05, 2018, 02:45:13 PM »
Hello.
I would like to block transaction on the home page, transaction and condition on the search page, on the post ad page and edit.

Does it have to be code-code or css code-code that blocks a view?

I'm not waiting

*

MB Themes

Re: transaction and condition
« Reply #1 on: January 05, 2018, 03:16:03 PM »
@Leandro
For publish and search page you have in theme settings:
Extra Fields exclude Categories

For homepage, you must remove it manually in inc.search.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

georgen2u

  • **
  • 12 posts
Re: transaction and condition
« Reply #2 on: January 06, 2018, 07:31:41 PM »
Hello.
I would like to block transaction on the home page, transaction and condition on the search page, on the post ad page and edit.

Does it have to be code-code or css code-code that blocks a view?

I'm not waiting

try this and THANK ME LATTER, IT REMOVED EVERYTHING YOU DONT WANT
Code: [Select]
<div class="header-search-mobile is767">
  <form action="<?php echo osc_base_url(true); ?>" method="get" class="search nocsrf" >
    <input type="hidden" name="page" value="search" />

    <div class="input-box">
      <button type="submit"><i class="fa fa-search"></i></button>
      <input type="text" name="sPattern" id="query" value="<?php echo osc_esc_html(osc_search_pattern()); ?>" placeholder="<?php _e('Search...''veronika'); ?>" autocomplete="off" />
    </div>

    <i class="fa fa-ellipsis-v open-h-search"></i>
  </form>
</div>


<?php if(osc_get_preference('search_box_home''veronika_theme') == '1') { ?>
  <div id="header-search">
    <div class="inside">
      <div class="wrap round3">
        <form action="<?php echo osc_base_url(true); ?>" method="get" class="search nocsrf" >
          <input type="hidden" name="page" value="search" />
          <input type="hidden" name="cookieAction" id="cookieAction" value="" />
          <input type="hidden" name="sCountry" id="sCountry" value="<?php echo Params::getParam('sCountry'); ?>"/>
          <input type="hidden" name="sRegion" id="sRegion" value="<?php echo Params::getParam('sRegion'); ?>"/>
          <input type="hidden" name="sCity" id="sCity" value="<?php echo Params::getParam('sCity'); ?>"/>

          <div class="top">
            <div class="large">
              <div class="b1">
                <div class="label"><?php _e('What are you looking for?''veronika'); ?></div>
                <div class="box">
                  <?php if (osc_get_preference('item_ajax''veronika_theme') == 1) { ?>
                    <div id="item-picker">
                      <input type="text" name="sPattern" class="pattern" placeholder="<?php _e('Samsung S7 Edge...''veronika'); ?>" value="<?php echo Params::getParam('sPattern'); ?>" autocomplete="off"/>

                      <div class="shower-wrap">
                        <div class="shower" id="shower">
                          <div class="option service min-char"><?php _e('Type keyword''veronika'); ?></div>
                        </div>
                      </div>

                      <div class="loader"></div>
                    </div>
                  <?php } else { ?>
                    <input type="text" name="sPattern" placeholder="<?php _e('Samsung S7 Edge...''veronika'); ?>" value="<?php echo Params::getParam('sPattern'); ?>" autocomplete="off"/>
                  <?php ?>
                </div>
              </div>

              <div class="b2">
                <div class="label"><?php _e('Location''veronika'); ?></div>
                <div class="box">
                  <div id="location-picker">
                    <input type="text" name="term" id="term" class="term" placeholder="<?php _e('Your City''veronika'); ?>" value="<?php echo veronika_get_term(Params::getParam('term'), Params::getParam('sCountry'), Params::getParam('sRegion'), Params::getParam('sCity')); ?>" autocomplete="off"/>
                    <div class="shower-wrap">
                      <div class="shower" id="shower">
                        <div class="option service min-char"><?php _e('Type country, region or city''veronika'); ?></div>
                      </div>
                    </div>

                    <div class="loader"></div>
                  </div>
                </div>
              </div>

              <div class="b3">
                <div class="label">&nbsp;</div>
                <div class="box"><button type="submit" class="round3 tr1"><?php _e('Search''veronika'); ?></button></div>
              </div>
            </div>

           
          </div>

          <div class="bot">
            <div class="left"><a href="#" class="clear-cookie clean"><?php _e('Clean search parameters''veronika'); ?></a></div>
            <div class="right"><a href="<?php echo osc_search_url(array('page' => 'search'));?>" class="publish"><?php _e('See all listings''veronika'); ?></a></div>
          </div>
        </div>
      </form>
    </div>
  </div>
<?php ?>

*

georgen2u

  • **
  • 12 posts
Re: transaction and condition
« Reply #3 on: January 06, 2018, 07:45:35 PM »
 in inc.search.php only

for others use follow the instructions provided

Re: transaction and condition
« Reply #4 on: June 04, 2018, 05:43:40 PM »
Someone please give the correct code-so you can choose the region and city from the drop-down list. Like the picture.