Skip to content

supermundano/sage-the-events-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Events Calendar support for Sage 10

Latest Version Total Downloads

Add The Events Calendar support to Sage 10.

For the time being there can only be a blade view, the default-template.blade.php file, that allows the events page to work loading the Sage blade layout.

The template parts are not available yet as blade templates. If you need to override a template part, say for instance:

the-events-calendar/src/views/v2/components/events-bar.php

just copy the file in the folder root folder of your theme

your-sage10-theme/tribe/events/v2/components/events-bar.php

You won't have the blade functionality but at least you can use the plugin.

Requirements

Installation

Install the composer package (in the theme folder).

$ composer require supermundano/sage-the-events-calendar

Add the package to the cached package manifest.

$ wp acorn package:discover

Publish the required template-default.blade.php view

$ wp acorn vendor:publish --tag="TheEventsCalendar Templates"

Bug Reports

If you discover a bug in Sage The Events Calendar, please open an issue.

Todo

What we need to have full Sage10 coverage:

  • [] Allow blade templates for template parts

What I've found so far:

The templates are rendered by the function template here the-events-calendar/common/src/Tribe/Template.php

We need to figure out how to:

Try using this gist from Log1x https://gist.github.com/Log1x/d02f35f6f9de5f1a5078a3807c6a36c2

License

Sage The Events Calendar is provided under the MIT License.

About

Add The Events Calendar support to Sage 10.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •