Forum Replies Created
-
AuthorPosts
-
deshubParticipant
Hi George, Thanks for all the detail. I wasn’t worried about function, it does seem fine, I just wanted to be able to do the quick updates. In one of my many attempts to update the keys, a different red message very briefly flashed up just before the ‘invalid key’ message. It went by so fast I’m not sure what it said exactly but it did suggest some kind of issue that I subliminally interpreted as hosting/permissions/connection related, so I can pursue that line of inquiry with the host and see what happens. Thnaks!
deshubParticipantThis reply is private.
deshubParticipantForgot to mention, the last time I tried to make this work, I also disconnected ECP from the site in the License Key tab under ‘My Account’. It now shows up as connected again, even though in WordPress it says it’s invalid.
deshubParticipantThis reply is private.
June 18, 2015 at 8:58 am in reply to: How to exclude event category from single event meta details list #970952deshubParticipantThanks for the tip, Brian, that works fine!
$taxonomies = array(
‘tribe_events_cat’,
);$targs = array(
‘orderby’ => ‘name’,
‘order’ => ‘ASC’,
‘hide_empty’ => true,
‘exclude’ => ‘369,378’
);$terms = get_terms($taxonomies, $args);
June 18, 2015 at 6:27 am in reply to: How to exclude event category from single event meta details list #970880deshubParticipanthm, dont see this in the forum list, not sure if I submitted it right. I still ned help, thanks!
deshubParticipantHi Barry,
Thanks for the reply. I updated to 3.2 this morning and it seems to have fixed the issue I had with day view. I can edit the single-event.php in the day folder and those edits now take effect. I’m having a different problem now that may be related, however.
In ‘tribe-events/list/content.php’ I added a custom category sorting toolbar. Works fine, shows up in list view just great. But without making ANY edits to the default single organizer or single venue view, the toolbar also shows up on all my single organizer and venue pages, right below the list title ‘h2 class=”tribe-events-page-title”>Upcoming Events /h2’and immediately before the list of events starts. If I comment out the custom function on ‘tribe-events/list/content.php’, it goes away. The reason I think this may be related is that, as with my previous problems with the Day view, a file in the List folder seems to be taking precedence over the file that (I think) is supposed to be controlling the display. Do the single venue and organizer pages rely on ‘list/content.php’ in some way that isn’t discussed in the Themer’s Guide?
I’m happy to give you access to the site if it would help resolve this faster, I’m going to be running up against a deadline soon and once-a-day-interaction is kind of a slow way to work (although I do appreciate your help!). Just shoot me an email and I’ll get you in if you’d like to look at it.deshubParticipantSorry, one more thing, we made a similar edit to the week view content.php and it worked, but it’s not in our ‘pro’ subfolder either. It’s at tribe-events/week/content.php. Not sure about other week template files, I haven’t gotten around to tweaking those yet and probably won’t have time today…
deshubParticipantHi Barry,
OK, did some more testing: I moved my ‘day’ folder up one level, out of the ‘pro’ folder, so it’s now in the ‘tribe-events’ folder. The changes I made to day/content.php then stared working. I then tried making changes to tribe-events/day/loop.php and tribe-events/day/nav.php and they work. But I can hack big chunks of code out of tribe-events/day/single-event.php and nothing happens. So to sum up, if the Day View templates are located in ‘tribe-events’ I can successfully edit everything but single-event.php. If I move the Day View templates to a ‘pro’ subfolder, no edit, to any file, has any effect. If it helps, I’m running ECP with an unedited version of the TwentyTwelve template. Thanks!deshubParticipantOne other data point: we created a custom module to add a category sorting feature to the top of some pages. When I add it to tribe-events/list/content.php, it works fine. Add it to tribe-events/pro/day/content.php, nothing, and other edits to the page aren’t working either.
deshubParticipantHi Barry,
Thanks, I’ll try that, I’m not using the ‘pro’ subdirectory. Your documentation is somewhat inconsistent on this point. In the single-event.php comments at the beginning of the file it reads:<?php
/**
* Day View Single Event
* This file contains one event in the day view
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/day/single-event.php
*
* @package TribeEventsCalendar
* @since 3.0
* @author Modern Tribe Inc.
*
*/so you might want to address that. The Pro theme file comments are not always consistent on that point, you might want to review all of them. In the themer's guide, the wording of item 1 could be made more clear (in my opinion) to indicate that Pro templates need to be in a 'pro' subfolder. You are very clear about this in the section about CSS so maybe I should have figured that out, but never hurts to be explicit.
All that said, I put my template into the folder structure you suggest and it still isn't working. For example, if I comment out the following line:
echo tribe_events_event_schedule_details()
in the 'day' version, no effect; in the 'list' version, the info vanishes on both day and list views.deshubParticipantHi Barry,
I’m sorry, I am using a ‘tribe-events’ subdirectory, I just forgot to include that in the paths when I typed my note.deshubParticipantThanks, Barry, that’s a great trick, and it seems to work on version 2 as well, which will make an older client happy. Seems like it would be pretty easy to add a little link in the editing screen, too (provided the event is recurring) that just says “Edit first instance of this event.”
deshubParticipantOk, I’m a moron, disregard the thing about the tags…but if anyone has any other ideas about how to make huge lists of similar events easier to navigate I’m all ears. Thanks!
-
AuthorPosts