Advertisement:

Author Topic: [SOLVED] ItemForm::osc_item_zip No Theme Modern ?  (Read 6223 times)

speed73

  • Jr. Member
  • **
  • Posts: 94
Re: ItemForm::osc_item_zip No Theme Modern ?
« Reply #15 on: November 08, 2014, 11:03:37 pm »
Hi,
thank thank you very much Sunkal.

It has solved a very large part of the code, it remains the case enhanced.

Open item.php add this code below the address.
Code: [Select]
<?php if ( osc_item_zip() != "" ) { ?><li><?php _e("Code Postal"'modern'); ?>: <strong><?php echo osc_item_zip(); ?></strong></li><?php ?>
Open item-edit.php add this code below the address.
Code: [Select]
<div class="row">
<label><?php _e('Code Postal''modern'); ?></label>
<?php ItemForm::zip_text(); ?>
</div>

Open item-post.php add this code below the address.
Code: [Select]
<div class="row">
<label for="zip_code"><?php _e('Code postal''modern'); ?></label>
<?php ItemForm::zip_text(osc_user()); ?>
</div>

Open user-profile.php add this code below the address.
Code: [Select]
<div class="row">
  <label for="zip"><?php _e('Code Postal''modern'); ?></label>
   <?php UserForm::zip_text(osc_user()); ?>
   </div>

Best regards,

lucato

  • Full Member
  • ***
  • Posts: 182
  • [<o>] Brasil
Re: [SOLVED] ItemForm::osc_item_zip No Theme Modern ?
« Reply #16 on: July 12, 2015, 09:49:16 am »
Hi folks,
After users adding their zip codes, did you guys get to make a the map show the local of the listing by 'zip code'? Now a days it shows a listing by the city instead.Any iadea how to make the map shows based on entered zip code when showing the listing? I'm using Brazil Theme.Thanks.