• I wrote a plug-in to add several features to advanced-events-registration, but one change was easier to do by directly editing get_event_details.php.

    I was wondering if you would update this file using the code below to add semantic mark-up that we can use for CSS.

    Here is the code with modifications starting at line 38.

    <div id="event-<?php echo $event_id?>">
      <h3 class="event_title"><a href="<?php echo get_option('siteurl')?>/?page_id=<?php echo $event_page_id?>&regevent_action=register&event_id=<?php echo $event_id?>&name_of_event=<?php echo stripslashes($event_name)?>">
    	<?php echo stripslashes($event_name)?>
    	</a></h3>
      <div class="event_details event_date">
      Date:
      <?php echo event_date_display($start_date)?>
      </div>
      <div class="event_details event_cost">
      <?php if ($event_cost == '' || $event_cost == ' '){ ?>
      Free Event
      <?php }else{?>
      Cost: <?php echo $org_options['currency_symbol']?><?php echo $event_cost?>
      <?php }?>
      </div>
      <div class="event_details event_spaces">
      Spaces Available:
      <?php echo $available_spaces?>
      </div>
      <div class="event_register_link">
      <a href="<?php echo get_option('siteurl')?>/?page_id=<?php echo $event_page_id?>&regevent_action=register&event_id=<?php echo $event_id?>&name_of_event=<?php echo stripslashes($event_name)?>">Register Online</a>
      </div>
    </div><!-- end event-id -->

    https://www.ads-software.com/extend/plugins/advanced-events-registration/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author sethshoultes

    (@sethshoultes)

    @lgedeon

    Thanks for the feedback!

    I have already added markup to the pro version of the plugin. I am working on moving the frame work of the pro version to a the free platform, minus all of the pro features of course. So I probably wont be making any more updates to this version.

    Just wondering. What features have you added to this version?

    Thread Starter Luke Gedeon

    (@lgedeon)

    Seth,

    Other than a lot mark-up, many of my changes were localizations (removing town/village and country) and other customer preferences. They may have only limited usefulness.

    One thing that might be really helpful is adding a link at the top of the registration page, and a named anchor just above the form. This is particularly useful when you have long-winded event descriptions. In /includes/event_register_attendees.php at lines 108 and 254:

    <div id="skip-to-form-link"><a href="#skip-to-form">Register Now</a></div>

    and

    <a name="skip-to-form"></a>

    I also wrote an alternate output for date and time for one day events. In /includes/event_register_attendees.php at 110:

    <div id="event-date"><strong>Date:</strong> <?php echo event_date_display($start_date);?></div>
     <div id="event-time"><strong>Time:</strong>  <?php echo $start_time;?> - <?php echo $end_time;?></div>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Event Espresso Lite – Event Registration and Management] Code submission – registration det’ is closed to new replies.