Home › Forums › Calendar Products › Events Calendar PRO › Getting Details, Venue, and Map on same line
- This topic has 4 replies, 2 voices, and was last updated 10 years, 9 months ago by
Geoff.
-
AuthorPosts
-
July 5, 2015 at 2:41 am #975730
chris
ParticipantCurrently I am using the events calendar pro and woo tickets. When I am listing an event in the grey box it is displaying like this:
Details:
Venue:
Map:
Others:
In the order described above, this is leaving a tremendous amount of white space to the right of: Details, Venue, Others.
I would like to be able to see it as follows:
Details Venue Others
then the map.So there is no confusion in what I am saying what I would like to have happen is for the details, venues, and others to present in a 3 column setting more less. Presently it is displaying in a single column setup if you will and it is leaving a ton of white space. The site url example is: http://001.leadersedgetraining.com/event/september-18-2015/
If someone could direct me here that would be great.
Thanks,
Chris
July 6, 2015 at 6:33 am #976069Geoff
MemberHey Chris! Thanks for your question here and for contributing to the other thread earlier on licenses — very helpful. 🙂
This is an interesting one. I do think it is possible to get the meta information for Details, Venue and Other in the same space on the single event view the way you describe it. I also think it will take little bit of custom development. Let me try to help you get started.
First off, I’d suggest checking out our Themer’s Guide if you haven’t already. It covers the process for overriding templates, which is what you’ll want to do.
The first part of the process is customizing the meta.php file. To do this:
- Make a copy of the file. It’s located in /plugins/the-events-calendar/views/modules/meta.php
- Make a new folder in your theme directory called tribe-events
- Make a new file inside that one called modules
- Drop your copied version of meta.php in that last folder
Now that the template is in your theme, you can modify it to suit your needs. In this case, it sounds like you want to remove the Organizer information from the module and replace it with Venue.
On line 44 of the template, you should see the Organizer content:
[php]
// Include organizer meta if appropriate
if ( tribe_has_organizer() ) {
tribe_get_template_part( ‘modules/meta/organizer’ );
}
[/php]You will want to replace that with the Venue content that is on line 64. You may need to fiddle with this to get the exact output your looking for in the correct layout, but these are the parts you’ll want to exchange.
Will this help you get started? Please let me know. 🙂
Cheers!
GeoffJuly 6, 2015 at 6:49 am #976081chris
ParticipantHello Geoff,
Thanks for the insight. I will give it a go and get back to you. Thanks for responding.
Chris
July 6, 2015 at 7:13 am #976108Geoff
MemberMy pleasure! Please do keep me posted. 🙂
July 13, 2015 at 4:48 am #985777 -
AuthorPosts
- The topic ‘Getting Details, Venue, and Map on same line’ is closed to new replies.
