Forum Replies Created
-
AuthorPosts
-
hawkesley1
ParticipantThanks Niel,
That fixed it.hawkesley1
ParticipantHi neil,
Thanks for checking back.
I think I have handle on the text labels for the the main views now thanks.
However how do I change the Calendar Widget Label?hawkesley1
ParticipantHi Neil,
Yes that worked OK and I have applied the logic to the other views.
The one problem is the map view. When selected it briefly shows Appointments (I dropped the upcoming) and then reverts to ‘Upcoming Appointments’)
Any ideas?
Secondly is there somewhere in the documentation where the functions that handle the text thats displayed can be found with some explanation of how to apply the changes.
I have found several postings (not necessarily on the forum)which talk about this but no straightforward guidance. It might save support a lot of time.
Can you help?
Many thanks
mikehawkesley1
ParticipantHi Neil
Ok I understand.
I have made a file there I hope with the linkhttps://gist.github.com/hawkesley/8952801
look forward to hearing from you.hawkesley1
ParticipantHi Neil,
I have not used Gist and am unsure how to go about it.
The code I used is a function I added to my theme’s (Twenty Ten) functions file and is taken from your tutorial.
I am not sure what other code you might nee when you say full code.
If this (below) is not enough please can you clarify.
Thanks
mike//change headings on certain views in The Evetnts Calendar
add_filter(‘tribe_get_events_title’, ‘change_upcoming_events_title’);function change_upcoming_events_title($title) {
//We’ll change the title on upcoming and map views
if (tribe_is_upcoming() or tribe_is_map() or tribe_is_photo()) return ‘Upcoming Appointments’;//In all other circumstances, leave the original title in place
return $title;
}
Show message historyhawkesley1
ParticipantThanks for that Barry.
I also asked:-Should I network activate the plugin or go with activation on a site by site basis?
Also can you give me a pointer to advanced customisation as I could probably code it myself.
Thankshawkesley1
ParticipantThanks for com in back Barry.
To clarify, what I want to do is display the calendar in a wordpress page. For example the page would be ‘Display Appointments’ and would have a menu link on the main menu of the website.
The page is set up as a normal page with a Twenty Ten template one column no sidebar,
and the permalink i edit to say http://localhost/somewhere/events/
This works for site 1.
However for site 2 ‘events’ is modified to /events-2/
Could you explain what you mean by slug? How can I use a slug to achieve display of the calendar on my chosen wordpress page?
Should I network activate the plugin or go with activation on a site by site basis?
Many thanks for your help,
mike -
AuthorPosts
