Forum Replies Created
-
AuthorPosts
-
calumjamesgreenParticipant
Yeah I think that the theme I’m using might be playing with the homepage so although it is targeting the homepage its not recognising it as the homepage, I will see if I can amend it to target that specific page template and see if I have any luck.
Ill let you know 🙂
calumjamesgreenParticipantYeah I have created a plugin for
function tribehome_enqueue_front_page_scripts()
and activated it.I have then created a new page template and added the script for
<div id=”tribe-events-bar”>I think it might be this part I am missing Next I had to enqueue the styles for the search bar as well as the scripts for the date picker as is suggested on the Tribe Forum.?
calumjamesgreenParticipantThanks for getting back Geoff, I appreciate this is probably outside of support that is meant to be offered and I appreciate it.
I have it almost working using the [insert_php] but the formatting is still fuzzy so I have tried creating a page template to be applied to the home page and have this error. Am I missing something clear?
[Error] ReferenceError: Can’t find variable: tribe_ev
global code (tribe-events-bar.js, line 334)Thanks Again
calumjamesgreenParticipantHi Geoff,
As with Jordan I am having no luck with this. :/ Really bugging me now I know my php isn’t top notch but theoretically it should be simple haha. 🙂
Any more input 😛
Thanks for all your help
CalumcalumjamesgreenParticipantHi Geoff,
Thanks for getting back to me that is really helpful, I was already using the script inside the bar.php but the code kept throwing an error when using the [insert_php] plugin. I have added your script that you have sent through and tried it in both the functions.php and using the [insert_php] plugin however it keep throwing an error
in the script I get this error:
Fatal error: Call to undefined function add_action() in /wp-includes/functions.php on line 4665and in the plugin
Fatal error: Cannot redeclare tribehome_enqueue_front_page_scripts() (previously declared in /wp-content/plugins/insert-php/insert_php.php(48) : eval()’d code:4) in /wp-content/plugins/insert-php/insert_php.php(48) : eval()’d code on line 32
Any Idea’s
Thanks 🙂 Calum
October 23, 2014 at 6:30 am in reply to: need simple search for events that exists in my template header #829467calumjamesgreenParticipantHi I’m trying to do something similar and just use the Tribe Events Bar in my home page.
Because of the way that it is built I have a plugin that allows PHP directly into a page. Do you know the script to get the just the filterbar so that I can use that as a search box?
Thanks
calumjamesgreenParticipantHI Geoff,
If you connect Wootickets and Community Events you have a supreme trifecta.
Just as a comment on this – This is something that I would really love to see also.calumjamesgreenParticipantSounds like a fairly simple fix looking at it, any chance you could point me to the correct file in the plugin I need to fiddle with? 🙂
calumjamesgreenParticipantThanks Brian Will have a Look into it now 🙂 Thanks 🙂
calumjamesgreenParticipantHi Brian,
Thanks for getting back to me, sorry if I was unclear.
What I meant was where the organiser section is I’m looking at getting rid of it all together but then having the organiser’s details just being auto populated with the wp_users details with the Name, Email address etc.
Wouldn’t happen to know a quick fix for this would you?Thanks
CalumcalumjamesgreenParticipantHi Geoff,
Thanks for that really helps appears will require quite a lot of extensive customisation but I will continue to have a fiddle with it see what I can get. If I can’t get anywhere within budget then will look at a better way to meet the requirement.
Maybe something that can be considered for future work as the venues are almost as important as the events themselves when looking at a holistic view to events booking.
Thanks gain for all your help
Calum
calumjamesgreenParticipantHi Barry,
Sorry what I meant was that currently it says distance 5km but it doesnt say what that if 5km from?
Also in terms of user position I was more thinking about a box where I can insert a postcode and then it searched distance based on that?
Thanks
Calum
calumjamesgreenParticipantHi Geoff,
That seems to be working thanks!
Just now a case of trying to get it sorted to bring through other data to make it a good looking list.
trying to use this to get the event meta in but obviously it is only for the single event,I have it within the for each venue bit but is just echoing the same meta for each title
do_action(‘tribe_events_single_venue_before_the_meta’);
echo tribe_get_meta_group( ‘tribe_event_venue’ );
do_action(‘tribe_events_single_venue_after_the_meta’);calumjamesgreenParticipantNote the tribe_get-venues is actually tribe_get_venues must have pasted wrong
calumjamesgreenParticipantHi Geoff,
Currently Rolling with this
$venues = get_posts(array(‘post_type’ => ‘tribe_get-venues’, ‘posts_per_page’ => -1));
echo ‘- ‘;
- ‘;
esc_html_e($venue->post_title);
echo ‘
foreach ($venues as $venue) {
echo ‘‘;
}?>
<div id=”venues”>
<?php
echo “$post”;
?>
</div>but keeps throwing this error
Catchable fatal error: Object of class WP_Post could not be converted to string inIs there an issue with the way that I am trying to post the data
- ‘;
-
AuthorPosts