Meta Boxes Issue

Viewing 12 posts - 1 through 12 (of 12 total)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #2968
    WillRichie
    Participant

    Previous request for help has been resolved (changed themes fixed it), However, i have an odd issue with the Meta Boxes file. I read that I can change the labels etc in the meta-boxes.php file to reflect local situations etc (we don’t use many of the systems listed here). So, if I get:

    array(
    ‘name’ => ‘property_vacuum_system’,
    ‘label’ => __(‘Vacuum System’, ‘epl’),
    ‘type’ => ‘radio’,
    ‘opts’ => array(
    ‘yes’ => __(‘Yes’, ‘epl’),
    ‘no’ => __(‘No’, ‘epl’)
    ),
    ),

    and change it to:

    array(

    ‘name’ => ‘property_electric_heating’,

    ‘label’ => __(‘Electric Heating’, ‘epl’),

    ‘type’ => ‘radio’,

    ‘opts’ => array(

    ‘yes’ => __(‘Yes’, ‘epl’),

    ‘no’ => __(‘No’, ‘epl’)

    ),
    ),

    It no longer shows up on the property details page at all. This has happened with all of the ones I changed. I only change the two named areas on each eg;

    ‘property_vacuum_system’,
    ‘label’ => __(‘Vacuum System’, ‘epl’),

    becomes
    ‘property_solar_panels’,

    #2969
    WillRichie
    Participant

    ….continued….apologies

    ‘label’ => __(‘Solar Panels’, ‘epl’),

    and it won’t show up in the front end, only in the add/edit property details area. Basically, I need to change most of the labels asap to get this signed off, but only the default meta-boxes.php will work. Anyone got a solution to this as time is getting short.

    Thanks.

    • This reply was modified 9 years, 5 months ago by WillRichie.
    • This reply was modified 9 years, 5 months ago by WillRichie.
    #2988
    Merv Barrett
    Keymaster

    Hi Will we never recommend making any changes to the core plugin code as you will lose them on update and the plugin has been developed to be extended without having to edit the core files.

    Currently we are adding filters to the meta-boxes.php files which will allow you to make changes in an extension or custom code and not lose them on version updates.

    We are beta testing the latest build 1.3 now on GitHub.

    There is a current filter where you can make changes and i’ve put together a simple guide to use here.

    • This reply was modified 9 years, 5 months ago by Merv Barrett.
    #2993
    WillRichie
    Participant
    This reply has been marked as private.
    #3079
    Merv Barrett
    Keymaster

    Been working on Easy Property Listings Version 1.3 with this new filter to unset custom meta values and remove them for them meta box.

    http://easypropertylistings.com.au/docs/epl_meta_unset-filter-remove-meta-values/

    #3088
    Merv Barrett
    Keymaster

    Here is the tutorial to add your own custom meta to Easy Property Listings edit property pages.

    #3117
    WillRichie
    Participant
    This reply has been marked as private.
    #3120
    Merv Barrett
    Keymaster
    This reply has been marked as private.
    #3135
    WillRichie
    Participant
    This reply has been marked as private.
    #3155
    Merv Barrett
    Keymaster

    If you are not importing this data, just use the features taxonomy and add them as you would post tags. This is the easiest solution.

    I’ve added all these to support the REAXML format here in Australia, but prefer the taxonomy solution.

    You users can just comma separate what they want, and/or press the Choose from the most used Feature. Unlimited features, no code needed.

    Features Taxonomy - Easy Property Listings

    #3199
    WillRichie
    Participant

    Thanks Merv, that’s fine for what we need.

    #3202
    Merv Barrett
    Keymaster

    Yes, all the checkboxes are to support other formats, I prefer using a taxonomy for the better indexing

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The forum ‘Basic Support’ is closed to new topics and replies.