bailey88
Forum Replies Created
-
Forum: Plugins
In reply to: [Appointment Calendar] Position of Text vs. Calendar on PageMaking a div before the calender to include content/text will fix the positioning problem, but still doesn’t really help if the shortcode is used in the middle of a page.
The problem occurs because the shortcode function is using ‘echo’, rather than ‘return’. Here is a fix which will position the calender exactly in the corrct position by ‘returning’ the whole function at the end.
Open appointment-calendar-shortcode.php, near the top of the page (around line 5) is the function ‘appointment_calendar_shortcode()’. Paste the code in bold shown below at the very start of the function.
`function appointment_calendar_shortcode()
{ ob_start();
Now go to the very bottom of the page and find the closing bracket for the function (//end of short code function). Paste the code shown below in bold just BEFORE the closing bracket.
$apcalpositionfix = ob_get_clean();
return $apcalpositionfix;Save the changes and upload the file to your FTP. Refresh the page and the calender should be in the correct position.
I’m getting exact same problem, havn’t changed anything on the site for ages, checked back this week and getting same error.
Forum: Plugins
In reply to: [BP Display Name] [Plugin: BP Display Name] Doesn't work in Activity StreamI’ve got exactly the same problem! Would love to see this fixed, great plugin. Thanks!
Hi, I changed line 5 –
<input id=”event-rsvp” name=’event_rsvp’ value=’1′ type=’checkbox’ checked=’checked’ <?php echo ($EM_Event->event_rsvp) ? ‘checked=”checked”‘ : ”; ?> />
to this
<input id=”event-rsvp” name=’event_rsvp’ value=’1′ type=’checkbox’ checked=’checked’ />
and it seems to be working! Is this the best way?
Thanks
Alex*my bad… that didn’t work, I refreshed a page with bookings enabled! Any help would be much appreciated! Thanks ??
Hi, This is exactly what I’ve been trying to work out for weeks! I’ve tried making the input checked as default but it didn’t seem to work… Which bits did you change within wp-content/plugins/events-manager/templates/forms/event/bookings.php for it to work?
Thanks!!
Alex