Home › Forums › Calendar Products › Events Calendar PRO › Ultimatum Integration #2
- This topic has 6 replies, 3 voices, and was last updated 8 years, 10 months ago by Support Droid.
-
AuthorPosts
-
November 12, 2013 at 4:54 pm #75966Nathan BaldwinParticipant
I had started this post, but was closed as answered but had some additional questions https://tri.be/support/forums/topic/ultimatum-intergrations/
I have in the past using a php text code widget, write php directly into the Ultimatum layout. (Uber menu and Advance Custom Fields are to things that come to my mind right away) I open up your default-template.php and copy the php codes between the tribe-events-pg-template divs.
Paste that into the layout. Here is page http://50.22.80.37/~osborn/sample-page/
As you can see the tribe_events_before_html displays great, but then there is just a tribe-events-spinner-medium just sits there and the tribe_get_view never appears. I am not all that comfortable with your API documentation and just looking for a little help in the right direction.
I really like your plugin and how it integrates with Woo so sites dont need two separate shopping carts to manage, but I use Ultimatum a lot and simply would like them to play nice together. Thanks for your help in advance.
November 12, 2013 at 8:34 pm #76132BarryMemberHi Nathan,
Many of the views depend on supporting CSS and JS assets to function correctly.
In broad strokes then the basic idea here would be to analyse the supporting assets required by our views (when running on a stock installation, which you could set up for this purpose) and ensure they are enqueued in your custom events page. It sounds like you are already using tribe_get_view() which is great, but if you are setting this up on an arbitrary page you will also need to ensure your view of choice has access to the events data it expects.
This is, in short, a quite advanced customization and so there is regrettably not a huge amount we can do to help you out with this.
November 13, 2013 at 6:45 am #76227Nathan BaldwinParticipantBarry, do you or do you know someone who can ‘customize’ this for me? I need this to work in the theme and if I can get it done once I can use for future projects as needed. I had upgraded my license with you recently so I could use on more sites I develop and yes, most of them will be Ultimatum. I am really not sure what the issue is here as Ultimatum places the get_header() and get_footer() in all layouts and I can see it and custom css files when I view source of the page, but nothing works. No other plugin I have used experiences the layout issues I am having with Events Calendar.
If it isn’t going to work, then so be it, but I just wasted $325 by buying your licenses and that is a bit disappointing.
November 13, 2013 at 7:12 am #76235BarryMemberThese are some of the people/teams we typically recommend where support and development work beyond what we can offer is needed. I would point out though that I have no idea if they are themselves familiar with Ultimatum, though of course that need not be an impediment in itself.
WerkPress (http://www.werkpress.com) – customization based projects with minimums of $500-$800
Chris Miller (http://launchbrigade.com) – $125 consultation required before providing an estimate
Nick Ciske (http://thoughtrefinery.com/) – minimum fee depends on project type
If you need a cheaper solution, you might check out some of these listings:http://freelanceswitch.com
http://directory.codepoet.com/browse/
http://jobs.wordpress.net/I hope that helps 🙂
November 14, 2013 at 11:53 am #76510Nathan BaldwinParticipantSo, with the help of pingram3541 over in the Ultimatum Forums (he is a fellow user that uses your product as well) Came up with a few things. Easy integration
Create a file named
/child-theme/tribe-events/default-template.php
and place the below code http://pastebin.com/wNbwYdhs
<?php
}ultimatum();
More Complex Integration to meet other needs. http://pastebin.com/59hZ0nrt
The code above will use whatever layout is assigned as your default ult layout. Also, you need at least the 'Wordpress Default Loop' widget in that layout (as the code above removes the ultimatum loop that widgets calls and replaces it with the 'tribecal_loop' defined above).
Cool. Problem solved. But what if you want to use a different layout other than the default?
We worked that out too. Simply create a new layout, drop in the 'Wordpress Default Loop' widget and any other customizations and while viewing that layout in the backend check the url for &layoutid=X where X is the ID number. Then use the following and replace WHERE a.id='6' with your custom layout ID (at end of long query):
get_row($query);
//print_r($ultimatumlayout);
}
/** Remove default Ultimatum loop */remove_action( ‘ultimatum_loop’, ‘ultimatum_standard_loop’ );
add_action(‘ultimatum_loop’, ‘tribecal_loop’);
function tribecal_loop() {
?>
<?php
}ultimatum();
November 15, 2013 at 9:31 am #76680BarryMemberFantastic, thanks for reporting back with the solution. If you could even share it via a link to the same code on Pastebin or Gist, simply because the forum doesn’t handle posted code too nicely, that would be especially awesome.
Thanks!
July 7, 2015 at 6:30 am #982473Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Ultimatum Integration #2’ is closed to new replies.