This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

Marius

  • ***
  • 89 posts
How to remove City Area
« on: September 16, 2021, 06:31:51 pm »
How to remove City Area

as I also delete the city area from the profile and from the ad ?

*

MB Themes

Re: How to remove City Area
« Reply #1 on: September 16, 2021, 07:01:31 pm »
Hello
Very easily, edit item-post.php and user-profile.php.
Should not be complicated at all.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Marius

  • ***
  • 89 posts
Re: How to remove City Area
« Reply #2 on: September 16, 2021, 07:08:35 pm »
what line should I delete that doesn't work for me >:(

*

MB Themes

Re: How to remove City Area
« Reply #3 on: September 16, 2021, 07:56:02 pm »
What exactly does not work? Have you tried to search city_area?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Marius

  • ***
  • 89 posts
Re: How to remove City Area
« Reply #4 on: September 16, 2021, 08:15:06 pm »
that's what I want it to look like
but I can't do it

Marked as best answer by frosticek on September 17, 2021, 07:52:26 am
*

MB Themes

Re: How to remove City Area
« Reply #5 on: September 17, 2021, 07:52:08 am »
City area code in user profile:
Code: [Select]
              <div class="row">
                <label for="cityArea">
<?php _e('City Area', 'gamma'); ?>
</label>
                <div class="input-box">
<?php UserForm::city_area_text(osc_user()); ?>
</div>
              </div>

City area code in item post:
Code: [Select]
            <div class="row city-area">
              <label for="address">
<?php _e('City Area', 'gamma'); ?>
</label>
              <div class="input-box">
<?php ItemForm::city_area_text($prepare); ?>
</div>
            </div>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Marius

  • ***
  • 89 posts
Re: How to remove City Area
« Reply #6 on: September 17, 2021, 06:29:18 pm »
thank you very nice

*

MB Themes

Re: How to remove City Area
« Reply #7 on: September 17, 2021, 08:13:52 pm »
Welcome ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots