Viewing 5 replies - 1 through 5 (of 5 total)
  • Richard

    (@richardgirling)

    Hi dirtybird3g,

    wp-content/plugins/all-in-one-event-calendar/app/view/admin/box_event_location.php

    in this file you have to change the “value”

    eg:

    <input type=”text” name=”ai1ec_address” id=”ai1ec_address” value=”<?php echo $address; ?>” />
    to

    <input type=”text” name=”ai1ec_address” id=”ai1ec_address” value=”Some adress” />

    I hope this helps!

    Thread Starter dirtybird3g

    (@dirtybird3g)

    The problem with this is that when you have an event with a location different from what you set to default, it reverts back to the default even after changing it and saving.

    @dirtybird3g,

    Please try with this code:

    <input type="text" name="ai1ec_address" id="ai1ec_address" value="<?php if ($address =="") echo"Some address"; else echo $address; ?>" />

    Let me know if it works for you.

    Regards
    Ula

    Thread Starter dirtybird3g

    (@dirtybird3g)

    That works perfectly. Thanks!

    You’re welcome.
    Take care!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Default location and organizer details’ is closed to new replies.