WordPress.org

Support

Support » Plugins and Hacks » Events Manager » [Resolved] Add HTML/CSS classes to elements under When on [event_form]

[Resolved] Add HTML/CSS classes to elements under When on [event_form]

  • 1. Certain elements under the section “When” on [event_form] don’t have a CSS class or id. At least a class should be added to all of them to make it easy to manipulate them via CSS and JS without needing to customize their templates, which would make every update of EM more tedious.

    This part in “templates/forms/event/recurring-when.php” and “when-with-recurring.php” lacks the classes to hide it completely or certain parts of it:

    <p>
    			<?php _e('Each event lasts','dbem'); ?>
    			<input id="end-days" type="text" size="8" maxlength="8" name="recurrence_days" value="<?php echo $EM_Event->recurrence_days; ?>" />
    			<?php _e('day(s)','dbem'); ?>
    		</p>
    		<em><?php _e( 'For a recurring event, a one day event will be created on each recurring date within this date range.', 'dbem' ); ?></em><br/>

    There are several other < p > elements with no class as well in these two files. “when.php” seems to have classes on all elements.

    I’d be glad for the heads up when this is fixed to download the fixed recurring-when.php and when-with-recurring.php asap without waiting for the next plugin update. Thanks!

    2. The “When” area itself doesn’t have a suitable CSS class (nor id) either. The “Where” area and the rest have appropriate ones. Quote from “templates/forms/event-editor.php”:

    <h4 class="event-form-when"><?php _e ( 'When', 'dbem' ); ?></h4>
    <div class="inside">
    ...
    </div>
    ...
    <h4 class="event-form-where"><?php _e ( 'Where', 'dbem' ); ?></h4>
    <div class="inside event-form-where">
    ...
    </div>

    The first div is missing a class “event-form-when”.

    http://wordpress.org/extend/plugins/events-manager/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Marcus

    @netweblogic

    wil try to remember to bump this but keep an eye on the changelogs just in case

    Plugin Author Marcus

    @netweblogic

    bump 🙂

    esmi

    @esmi

    Forum Moderator

    @marcus: As bumping isn’t actually allowed on the forums, you may find that these bumps get deleted. What about adding this topic to your forum favorites instead?

    Plugin Author Marcus

    @netweblogic

    @esmi when I posted that the thought crossed my mind that this may happen 🙂

    I wasn’t actaully bumping this thread, just letting them know that the latest update to the plugin had sorted this out

    wil try to remember to bump this but keep an eye on the changelogs just in case

    I won’t write ‘bump’ again 🙂

    Marcus: Thanks for the notification 🙂

    Esmi: Thanks for the message. Marcus’s “bump” was to notify the followers of this thread that certain update was made to the plugin.

    esmi

    @esmi

    Forum Moderator

    @marcus: If it helps, I could make this topic sticky for you.

    Plugin Author Marcus

    @netweblogic

    @esmi, no thanks (I know how already), it was literally just to tell the topic creator that this is fixed now, got lazy and just said ‘bump’.

    hopefully this is resolved and it can get lost in the other topics. now I know not to use that naughty word in the future 🙂

    thx for keeping the forums clean though!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Add HTML/CSS classes to elements under When on [event_form]’ is closed to new replies.
Skip to toolbar