tkhan
Forum Replies Created
-
Haha brilliant thank you very much, I was just trying to learn how to query the database you have just saved me from hours of overcomplicating matters.
Thanks Again.Tony
Hi thank you, I now have the location id is there a specific events manager output method I can use or do I have to do a database lookup to get the address. Sorry for all the questions but this is new territory for me.
Thanks
Tony
Thank you, the plugin is great. I do feel that if you were able to filter listings on the location and category archives independent from the main search it would be far more intuitive for visitors. That said it’s a great plugin.
Hi thanks for the reply, one last question are there any action hooks I can use to add to the venue form or modify it?
Thanks in advance.
Sorry it is working as a search field.
.
Sorted thanks
Hi sorry I missed your answer. It made me revisit the attributes instructions. I figured out how to use functions and hooks to display and save my custom field values on the frontend form. I was also able to let users choose terms from a custom location taxonomy and save them using the same method.
There is a lot of information in the instruction pages and I thought I could only use attributed to allow users to choose from predefined values. I totally missed the bit stating if you create your attribute and then create a custom field with the same name it overrides the attribute and appears on the form instead.
This plugin has so much depth and customisation scope.
Thanks Again.
Tony
sorry I meant add this topic as non support so it didn’t look like a plugin issue.
Hi Stiofan
I wanted to link all of each venues events on their profile automatically if there are any. I am having a hard time finding the php file to modify. I know there is an add-on but if I remember correctly you have to manually link each event.
otherwise the free version of the plugin with the advanced search add-on seems perfect for my needs. Which will be a single city what’s on and directory site.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Problem with viewsstyling was disabled ;(
I sorted it by changing the submit venue form taxonomy save part from sanitize text to intval to stop the numbers saving as text.
Thank You
Hi, thanks for the reply, unfortunately, I wouldn’t know where to start to write a function or a hook. Do you have an example of adding and saving a field that I could use as a starting point?
Thanks
Tony
I added the following code into the submit vernue form it creates a new taxonomy term (using the id of the selected taxonomy).
‘location_category’ => array(
‘label’ => __( ‘location Category’, ‘wp-event-manager’ ),
‘type’ => ‘term-select’,
‘required’ => false,
‘placeholder’ => ”,
‘priority’ => 9,
‘default’ => ”,
‘taxonomy’ => ‘location_category’
),
I can change the dropdown by changing the cpt in the wp-event-manager-form-field-editor-field.php file but nothing saves from the form itself.