Ghostlyhaunt
Member
Posted 1 year ago #
I'm unable to save the settings to the event calendar on the settings page. Each time I try it gives me the following errors:
Your form had the following errors:
Events URL slug must be a valid slug (numbers, letters, dashes, and underscores).
Single Event URL slug must be a valid slug (numbers, letters, dashes, and underscores).
The above settings were not saved. Other settings were successfully saved.
I'm just starting learning how this all works so I'm unsure where to fix this problem. The site I'm working on is:
http://www.uvhog.org/wordpress
thanks
Ghostlyhaunt
http://wordpress.org/extend/plugins/the-events-calendar/
Hi
You Need To Ask The Plugin Developer Not Here
You Need To Ask The Support Right Here http://tri.be/support/
@varunms - that is incorrect, support for PRO users (our premium plugin) can be requested through our website, but for the open source plugin, this is the place :)
@Ghostlyhaunt - what are you setting for the Events URL Slug in Settings > The Events Calendar? You may have some characters input that are not accepted. Here is a screenshot of what it should look like: http://cl.ly/263M420w2d0h1C2x3X2J - you can only input numbers, letters, dashes and underscores like the error says.
Let me know what you have set and/or what you're trying to set and I'll try and help further.
Ghostlyhaunt
Member
Posted 1 year ago #
I figured it out, sorry for the delay in response. I didn't have the permalinks set correctly that's why it wasn't showing up. Once I figured that out from re-reading and looking closer at the permalink settings the light bulb turned on and everything was back to normal.
thanks for your time.
GH
Excellent to hear GH! Let us know if there's anything else we can help with :)
Ghostlyhaunt
Member
Posted 1 year ago #
Am still having a problem with the settings page default view. It is currently set to calendar, then settings are saved. So when the user clicks on events in the menu it should go right to the calendar view (logically thinking). But instead all it shows is the events page which the last few I put in are out of sync. How can I get it to default to the calendar view and hold it's settings. I've tried changing the slugs but that didn't seem to do anything helpful. I've looked through the files but am not sure which one to edit. And everyone knows you don't want to edit the wrong thing and mess everything up.
thanks for the help I appreciate it
GH
Ghostlyhaunt
Member
Posted 1 year ago #
Ok, I figured it out.. after looking at Jonah's link I realized that I had the first slug wrong. after changing that to calendar instead of events it corrected my problems.. my lightbulb sometimes needs changing..
GH
Glad to hear you got this resolved, Ghostlyhaunt - thanks for confirming as much. If anyone else is still encountering this particular problem please let us know.
I'm having a similar problem because I'm trying to choose a URL slug which is not one of the top level links on the website.
Instead of website.com/events/
I'm looking to use website.com/communities/events/
The URL slug will not accept a slash. Is there a way around this?
Thanks in advance.
Best way I have found to get round this kind of thing is the Redirection plugin - it has many uses!
Just point website.com/events/ --> website.com/communities/events/
Nick Froome
Thanks for the recommendation bolide but it's far from an ideal solution for this project.
I've tried to replace the slugs directly in the database. wp_options table rows "rewrite_rules" and "tribe_events_calendar_options".
UPdating the rewrite_rules displayed an empty page for communities/events and updating "tribe_events_calendar_options" broke the site completely.
PHP error log came back with:
PHP Fatal error: [] operator not supported for strings in .../wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php on line 341
I find it difficult to believe this plugin was developed without the ability to change the url slug to a page a level deep...
Hey harryvl. Not sure about this one myself, but I can get Jonah to take a look - stay tuned and thanks for your patience so far.
Hi harryvl, unfortunately the rewrite system of the plugin is too complicated at the moment to offer much flexibility. We have a number of requests dealing with slugs and permalink customization so it's possible in the future we will introduce features that provide more flexibility with this but for now, you're stuck with what's there.
Regards,
Jonah