Coder Social home page Coder Social logo

grav-plugin-datetools's People

Contributors

kalebheitzman avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

paulcmal

grav-plugin-datetools's Issues

Access to undeclared static property

New GRAV Beta + DateTools = See Attachment

I'm looking to use the new Events plugin for GRAV. I installed the required Datetools but got this error under the latest version of GRAV Beta. I have not made any adjustments at this point, but had to disable the plugin in order to continue developing the rest of the site.

Suggestions?

Brian U.

capture

Error on lasted version

require_once(): Failed opening required '/home/~~~/public_html/docs2/user/plugins/datetools/classes/../vendor/autoload.php' (include_path='.:/usr/local/php56/pear')

Plugin not working

Hello, when i enable this plugin i get this error

Whoops\Exception\ErrorException thrown with message "Call to a member function get() on a non-object"
Stacktrace:

0 Whoops\Exception\ErrorException in /home/2011/11timoransky/www/grav/user/plugins/datetools/classes/datetools.php:65

When i disable it, everything works fine. Can you help me?

Doesn't work with Grav 1.4.5

The hook onTwigSiteVariables is fired after Twig template ( getgrav/grav#1163 ).

It's enough to change the name of the hook to onTwigPageVariables and everything works like a charm:

		$this->enable([
//			'onTwigSiteVariables' => ['onTwigSiteVariables', 0]
			'onTwigPageVariables' => ['onTwigSiteVariables', 0]
		]);

Pages directory of your demo page somewhere available

It would be really cool to be able to have a look into the backyard of your demo site (as git repo, or dropbox/owncloud/whatoever file server).

Somehow I do not get your cool plugin running. It does not recognize the events that I added to the frontmatter of the pages of the grav-skeleton-blog-site. Therefore it would be cool to have something to play with that already works, or see how the working stuff is built behind the scenes...

Thanks for considering.
Jan

exception after upgrade to grav 1.1.1

Issue: exception in datetools.php after upgrade from grav 1.0.10 to grav 1.1.1.
Reason: data member grav config not initialized.
Description: Exception occurs after upgrading to grav 1.1.1, updating plugins and clearing the cache.
Reproducible: 100%.

/Library/WebServer/Documents/ami/user/plugins/datetools/classes/datetools.php

    /**
     * Construct
     */ 
    public function __construct()
    {
        // get the config
        $this->config = self::$grav['config'];
        // date format
        $this->dateFormat = $this->config->get('plugins.datetools.dateFormat.default');
        // get today
        $this->now = $this->now();

        // initialize processing vars
        $this->initProcessingVars();

        // initialize common dates
        $this->initCommonDates();
    }

Arguments
"Call to a member function get() on a non-object"

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.