Home › Forums › Calendar Products › Events Calendar PRO › Organizer URL: modifying "tribe_organizer" in organizer slug
- This topic has 22 replies, 2 voices, and was last updated 9 years, 5 months ago by Barry.
-
AuthorPosts
-
October 1, 2014 at 4:05 pm #781580pickleshyParticipant
Hi,
I read in the 3.7 release notes that the “tribe_organizer” slug could be modified in Settings. I have updated my plugins to 3.8 on my dev site, but can’t seem to find the settings for that; could you please point me to them?
Thanks!
October 1, 2014 at 5:04 pm #781705BarryMemberHi pickleshy,
There is no setting for this – rather we made it easier to override both name and slug with a short snippet like this one (which might be added to your theme’s functions.php file):
add_filter( 'tribe_venue_label_singular', 'change_venue_name' ); function change_venue_name() { return 'Some Other Name'; }
You would then have venues called “Some Other Name” and a suitably sanitized slug like some-other-name for use within permalinks. Remember you would need to flush your permalinks after implementing this (by visiting Settings > Permalinks) or you might hit some odd behaviour.
Does that help?
October 1, 2014 at 5:17 pm #781725pickleshyParticipantHmm, I’m confused. It seems 3.7 modified my URLs rather than simply giving me the option to modify them. Can you confirm this was intentional?
Pre-3.7: http://livemusicproject.org/venue/benaroya-hall/
Post-3.7: http://livemusicproject.org/tribe_venue/benaroya-hall/Thanks!
October 2, 2014 at 1:21 am #782361BarryMemberNope, that’s not intentional at all. If I look at your site using the second URL it is also corrected back to:
Looking at single event posts, it doesn’t look like they use tribe_venue in the slugs for venue links, either. Can you confirm if there’s still a problem or if I am misinterpreting – where can I see an example of this sort of link (containing tribe_venue)?
October 2, 2014 at 12:39 pm #783498pickleshyParticipantHi Barry, thanks for looking into this. You won’t see the tribe_venue links on livemusicproject.org because I haven’t updated it since 3.6.1 due to this concern. But, you can them on my staging site: http://stage2.livemusicproject.org/seattle/tribe_organizer/seattle-symphony/
October 2, 2014 at 1:09 pm #783545BarryMemberThat does seem a bit odd.
Can you tell me anything more about this site? Is it a node within a multisite network for instance and is anything else running alongside our plugins (mostly I’m interested in other plugins, but also in how your child theme might differ from Twenty Fourteen – and how many Tribe-related customizations are in place besides the custom stylesheets)?
To the best of my knowledge this is the only report we’ve had of this, so I’d love to get a better grip on the problem.
October 2, 2014 at 5:14 pm #783878pickleshyParticipantAll good questions!
The Seattle staging site is running on a node within a multisite network. It is set up as a subsite (not subdomain) under parent site stage2.livemusicproject.org.
There are no other active plugins on that site, other than The Events Calendar, ECP and Community Events.
We do have several Tribe-related customizations in the child theme, but I don’t know how to effectively summarize them for you 🙂 If you like, I could send you the theme file… would that help?
October 3, 2014 at 8:57 am #785253BarryMemberOK. I can’t seem to replicate with an otherwise “plain vanilla” setup using multisite (with subsites/subdirectories rather than subdomains), either.
If you do a similar test and flush permalinks, etc, do you find the same thing still occurs?
October 3, 2014 at 12:18 pm #785695pickleshyParticipantI’m willing to try! What steps did you take, so I can try to go through the same on my end?
October 3, 2014 at 1:52 pm #785868BarryMemberI simply set up a multisite network with the latest versions of The Events Calendar and Events Calendar PRO, set up a subsite and some test events/organizers etc within it – and checked out the appearance of the permalinks.
You don’t necessarily need to create a brand new network though – so long as you have a test installation that is multisite, you could just take things back temporarily to that state, flush permalinks and see what happens.
October 3, 2014 at 1:58 pm #785874pickleshyParticipantOk. Will it make a difference if I create new events in this test installation, or if I import them from another one?
October 3, 2014 at 4:37 pm #786113BarryMemberIt shouldn’t make a difference: if you start with a few manually generated events and organizers and find you can’t replicate it, though, there’s no harm in importing some more from an existing source. If there’s a difference, that could tell us something interesting.
October 17, 2014 at 3:25 pm #816519BarryMemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
October 21, 2014 at 11:54 am #825043pickleshyParticipantHi Barry – looks like this is NOT a multisites issue. We’re still poking around, but so far we have discovered that if we switch to the standard Twenty Fourteen theme instead of our own modified version of it, the slug is fine. We’re checking to see if we are pulling a default value in our version of the theme that may be out of date.
October 21, 2014 at 1:09 pm #825185BarryMemberOK. It’s certainly sounding like a problem with some of the custom code in the child theme, in that case – it will be interesting to hear what you uncover.
-
AuthorPosts
- The topic ‘Organizer URL: modifying "tribe_organizer" in organizer slug’ is closed to new replies.