dionadk
Forum Replies Created
-
Hi,
Any progress on this.Not sure why this is not working.Any help appreciated.Thanks
DionaHi,
Hey, where you able to successfully Add ACF custom fields to an Event in front end.
I know this is an old post.But just incase if you could help with my situation.I added a custom field to my event-editor.php.Got the ACF fields to appear but the data is not getting saved in my backend.The ACF field has data in there even when I create a new event.Any help would be really appreciated.
this is what I did.
in my functions.php i added the following codeadd_action( 'init', 'acf_head_add' ); function acf_head_add(){ acf_form_head(); }In my event-editor.php I added the following code where i need my ACF field to appear
<?php acf_form(array( 'post_id' => $post_id, 'field_groups' => array(1463), 'form' => false, 'return' => '' , )); ?>Thanks
DionaForum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] File UploadHi,
I have a couple of issue..This is what I did
Added the beow code in my functions.phpadd_action( 'init', 'acf_head_add' ); function acf_head_add(){ acf_form_head(); }In my event-editor.php I added the following code where I need the ACF field to be present
<?php acf_form(array( 'post_id' => $post_id, 'field_groups' => array(1463), 'form' => false, 'return' => '', )); ?>The ACF field appears on the front end and I ma able to ad values.The issue is that the values I dded stays there when I create a new event.Also the values I added to the front end is not being saved at the backend.
Let me know where I can add a fresh new ACF field to appear when creating a new event
Also how to save the ACF fields in backend.Regards
DionaForum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] File UploadHi,
I am using ACF pro to add a repeater field to the Event submission form.I am able to show the form on the front end.But its not getting saved.Can you help me figure out the files I need to modify? Can I copy the classes folder to my theme in case of modification?? I added the code to show the ACF field to forms/event-editor.php which is in my child theme.
Appreciate your help
Thank you
DionaForum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] File UploadHi,
Yeah I tried the Advanced custom field..The field appeared in the backend but wouldnt save the results.Also if I use ACF fields can we show that up on front end??I need to add a repeater ACF field where the user can click add on the field to enter additional information.
Thank youForum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Events post typehi,
how to list all the events created by a user.Thanks
- This reply was modified 8 years ago by dionadk.
Forum: Plugins
In reply to: [PowerPress Podcasting plugin by Blubrry] Remove podcast tabits the tab that shows up on page and posts where we enter the media url,file size duration to the episode.I need to remove that section from my post and page. The podcast episode section should show up only on the post type-podcast page.
- This reply was modified 8 years ago by dionadk.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Emails not sentI changed the mail sending method to Sendmail and the it works. But the approve link is not working. it throws an error “The requested URL /wp-admin/post.php was not found on this server.” This is the link in email: http://student-mccain.lndo.site/wp-admin/post.php?action=edit&post=842. which is the link to my local machine. How to correct the link. The domain I need is http://dev-student-mccain.pantheonsite.io. How to correct this?
Hey. what does the filter show?? future events?? I had a similar situation where I could not see any events but it said All(10) Published(10). The filter was set to future events so I was not able to view it. When i changed it back to past events and clicked apply..I was able to see all of my events. Not sure if this is the case because you had some other db problems.
- This reply was modified 8 years ago by dionadk.
thank you.
oh k . I was concerned because I don’t get this error if I deactivate events-manager plugin. So i assumed it would be something related to events-manager plugin. Thanks
This issue is resolved
I am getting a error notice:
“Notice: Trying to get property of non-object in /srv/bindings/90430e328367413087e38464412481a0/code/wp-content/plugins/events-manager/classes/em-event-post.php on line 132 Notice: Trying to get property of non-object in /srv/bindings/90430e328367413087e38464412481a0/code/wp-content/plugins/events-manager/classes/em-location-post.php on line 96”I am using Interactive Map of the USA for WP plugin. This error is showing on My maps page when I click on a state. If I deactivate the Events Manager plugin I don’t get this error. I need to use both the plugins. Any help to resolve this error is appreciated. Thanks in advance
- This reply was modified 8 years ago by dionadk.
Any thoughts on this???
Thanks for replying.
I added a custom attribute “Speaker” with option “Select|Yes| No”
#_ATT{speaker}{select|yes|no}Lets say if the user left this fields blank it shows “select” (default top value) on the Single Events Page. I need to hide that attribute on the Single Events page if user has not selected the dropdown value yes or no.
This is the code:function filterEventOutputCondition($replacement, $condition, $match,$EM_Event){ if (is_object($EM_Event)) { switch ($condition) case 'has_att_speaker': if (is_array($EM_Event->event_attributes) && !empty($EM_Event->event_attributes['speaker'])) $replacement = preg_replace('/\{\/?has_att_speaker\}/', '', $match); else $replacement = ''; break; } } return $replacement; } add_filter('em_event_output_condition', 'filterEventOutputCondition', 10, 4);Right now this shows select if user didnt select yes or no:
Hope this clarifies the situation. Sorry for the confusion.
- This reply was modified 8 years, 1 month ago by dionadk.