Forum Replies Created
-
AuthorPosts
-
Jonah
ParticipantHi Tony,
The only way I can think of to get the events list on the home page is to setup a custom query pulling in your upcoming events, and styling everything to look like the other events list. There are numerous examples of custom queries in the forums if you search around a bit and we have examples in the documentation as well: https://theeventscalendar.com/support/documentation/
I hope that helps,
JonahJonah
ParticipantHi Genesis,
Sure, on line 27 of the-events-calendar.class.php you’ll find:
'menu_position' => 6,
Try changing that to something else (like 7, 8, 9, 10 or 15, etc.) but keep in mind this change will be wiped the next time you update the plugin. You can also change the menu_position param for the wpdownloadermanager or maybe request that they change it so as to not conflict with our plugin.I hope that helps but let me know if you need anything else with this.
Thanks,
JonahJonah
ParticipantHi Asem,
Have you tried deactivating all other plugins to see if there’s a plugin conflict? Please also try reverting to the Twenty Eleven theme to see if it’s a theme conflict. Let me know what happens when you’ve tried those two things.
Thanks,
JonahJonah
ParticipantHi Berndt,
You would want to edit the files in /wp-content/plugins/events-community/lang – you can find more detailed instructions on translating in https://theeventscalendar.com/faq/can-i-change-the-language-that-the-content-of-my-calendar-appears-in-on-the-site/
I hope that helps!
– Jonah
Jonah
ParticipantHi Paddy,
Have you tried refreshing your permalinks by visiting Settings > Permalinks (jus visit the page and they will be refreshed automatically)? I would also try deactivating all other plugins to see if there’s a conflict going on. And if that doesn’t work, try reverting to the Twenty Eleven theme to see if it’s a theme problem.
Try those things and let me know what you find.
Thanks,
JonahJonah
ParticipantHi Ben,
I need to check with some of the other devs on this. I’ll get back to you as soon as I have an answer.
Thanks,
JonahJonah
ParticipantHi Tony,
The easiest way to do this would be to include the gridview in your theme’s template files. Try editing your theme’s page.php file and placing this next to where the_content() is called:
if(is_front_page()) {
include('wp-content/plugins/the-events-calendar/views/gridview.php');
}
In order for this to work you do need to have an actual Home page created as a page and set as the Front Page in Settings > Reading.I hope that helps, but let us know if you need anything else.
– Jonah
Jonah
ParticipantHi Carl,
To bolden/enlarge text in the widget your going to be better off using CSS to do this. An example to get you started is something like this:
.eventsAdvancedListWidget .event a {
font-size: 20px;
font-weight: bold;
}
You can put that in your themes style.css or the plugin’s CSS file ( /wp-content/plugins/the-events-calendar/resources/events.css – make sure to make a copy of this file and place in an ‘events’ folder in your theme )Another thing to note here is that if you did want to actually edit the view file (to change some of the markup or order of data displayed for example), you’ll want to edit /wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php instead because when you have PRO activated this is the view used for the list widget.
To achieve #2 you will need to edit /wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php – here’s a quick, simple example as a starting point: https://gist.github.com/2901645
I hope that helps, but let me know if you need anything else.
Cheers,
JonahJonah
ParticipantHey Jesse,
You can edit both of these things without modifying core files. For the page title, you’ll need to tap into your theme wherever the_title is being called (page.php or header.php likely) and conditionally set the title for the community pages with this conditional code:
if(tribe_is_community_my_events_page()) {
echo 'were on the my events page';
} elseif(tribe_is_community_edit_event_page()) {
echo 'were on the add/edit events page';
}
For the “Not %user%…”, make a copy of /wp-content/plugins/events-community/views/my-events.php and place in an ‘events/community/’ folder within your theme and edit away!
I hope that helps,
JonahJonah
ParticipantHey Mark,
Glad to hear you’ve got this figured out!
– Jonah
Jonah
ParticipantNot currently Jesse, but you can use conditional tags to execute specific code for the my events or the add/edit events pages:
if(tribe_is_community_my_events_page()) {
echo 'were on the my events page';
} elseif(tribe_is_community_edit_event_page()) {
echo 'were on the add/edit events page';
}
Hopefully that will be sufficient for what you need to do now but let me know if you have any questions.
Regards,
JonahJonah
ParticipantHey Jesse,
Good call. I’ll create a ticket for this and the other devs will review and decide whether or not to remove. No guarantees if or when but the request seems valid to me.
Thanks,
JonahJonah
ParticipantHi Chris,
Your theme is doing this and there’s two ways to get around it:
1. Change the Events Template setting in Settings > The Events Calendar > Template to something else than what you have now.
2. Manually set the page titles in PHP in the templates files.
Try the first option and if that doesn’t work I’ll provide more detail on the second.
– Jonah
Jonah
ParticipantSounds good Chris, glad you figured it out. Let us know if there’s anything else you need help with.
Cheers,
JonahJonah
ParticipantHi Chris,
In order to do this you’ll need to echo that specific custom attribute into an HTML a tag in the place you want it to display like so: https://gist.github.com/2901504
You can place that in any of the template view files – list.php, single.php, etc. For more info on the template views and how to use them, take a look at our Themer’s guide: https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/
Cheers,
Jonah -
AuthorPosts
