WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Add HTML/CSS classes to elements under When on [event_form] (8 posts)

  1. Daedalon
    Member
    Posted 1 year ago #

    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/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

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

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    bump :)

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    @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?

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    @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 :)

  6. Daedalon
    Member
    Posted 1 year ago #

    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.

  7. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

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

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    @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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.