bmxcamel
Forum Replies Created
-
As usual solved it on my own — don’t put it two /templates/templates deep, just /templates
Hey Marcus,
That’s a great suggestion. I’ve followed your instructions here:
http://wp-events-plugin.com/documentation/using-template-files/However, for one reason or another the files are not being overridden by the ones I copied to my theme directory. I preserved the folder hierarchy, and only copied one file, event-form.php into /mytheme/plugins/event-manager/templates/templates/event-form.php
Any idea why?
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Guest submissionsfeiperinaldi, I solved this problem easily.
First, make sure the form on line 57 looks like this (note the enctype attribute)
<form id="event-form" method="post" action="" enctype='multipart/form-data'>Paste the following code at line 324 of /events-manager/templates/event-form.php:
<div id="event-image" class="stuffbox"> <h3> <?php _e ( 'Event image', 'dbem' ); ?> </h3> <div class="inside" style="padding:10px;"> <?php if ($EM_Event->get_image_url() != '') : ?> <img src='<?php echo $EM_Event->image_url; ?>' alt='<?php echo $EM_Event->name ?>'/> <?php else : ?> <?php _e('No image uploaded for this event yet', 'dbem') ?> <?php endif; ?> <br /><br /> <label for='event_image'><?php _e('Upload/change picture', 'dbem') ?></label> <input id='event-image' name='event_image' id='event_image' type='file' size='40' /> </div> </div>OOOOH good news I have the solution for you:
First, make sure the form on line 57 looks like this (note the enctype attribute)
<form id="event-form" method="post" action="" enctype='multipart/form-data'>Paste the following code at line 324 of /events-manager/templates/event-form.php:
<div id="event-image" class="stuffbox"> <h3> <?php _e ( 'Event image', 'dbem' ); ?> </h3> <div class="inside" style="padding:10px;"> <?php if ($EM_Event->get_image_url() != '') : ?> <img src='<?php echo $EM_Event->image_url; ?>' alt='<?php echo $EM_Event->name ?>'/> <?php else : ?> <?php _e('No image uploaded for this event yet', 'dbem') ?> <?php endif; ?> <br /><br /> <label for='event_image'><?php _e('Upload/change picture', 'dbem') ?></label> <input id='event-image' name='event_image' id='event_image' type='file' size='40' /> </div> </div>Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Guest submissionsfeiperinaldi, I am after the answer to the same question about event image uploads. Any solutions yet?
Forum: Plugins
In reply to: [Pluggin Events Manager] Description / Maps not showing up on events pageI mean, just because google writes something doesn’t mean it’s perfect 😛 i’d recommend changing it since it fixed our issues and won’t break anything…
Forum: Plugins
In reply to: [Pluggin Events Manager] Description / Maps not showing up on events pageGlad I could help — let’s please try and get Marcus to implement this solution into his code so we don’t have to re-add it every time he updates the plugin.
Forum: Plugins
In reply to: [Pluggin Events Manager] Description / Maps not showing up on events pageWhat errors do you see in your JS console? I’m curious to see if its the same issue I was having, as mine was theme related.
The error I was seeing was as follows:
Uncaught Error: HIERARCHY_REQUEST_ERR: DOM Exception 3 mapsevents-manager.js:18 d.extend._Deferred.f.resolveWithjquery.min.js:16 d.d.extend.readyjquery.min.js:16 d.c.addEventListener.yEffing wordpress hackery…
As a footnote, have you disabled ALL of your plugins except for Events Manager and seen if that makes any difference?
Forum: Plugins
In reply to: [Pluggin Events Manager] Description / Maps not showing up on events pageI found a fix to this problem —
In /events-manager/includes/js/events-manager.js, edit line 18 from this:
document.documentElement.firstChild.appendChild(script);to this
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script);I found this fix here:
http://robert.accettura.com/blog/2009/12/12/adventures-with-document-documentelement-firstchild/Hope this helps.