GithubHelp home page GithubHelp logo

hatfim / sage-the-events-calendar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from supermundano/sage-the-events-calendar

0.0 0.0 0.0 8 KB

Add The Events Calendar support to Sage 10.

License: MIT License

PHP 93.68% Blade 6.32%

sage-the-events-calendar's Introduction

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.

sage-the-events-calendar's People

Contributors

cfaria avatar jasonpau avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.