Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Richard Hainsworth Member

@finanalyst · Joined 9 years ago · 96 posts · 30 topics · 9 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Own Plugin (S3-Compatible) · 8 years ago

    @oliverbaehler I too am getting grips with GRAV. Here's some things to check about the events: Look at the GRAV lifecycle https://learn.getgrav.org/plugins/grav-lifecycle Find a suitable event to h

  • Getting twig processed content · 8 years ago

    [frustration]!! [Solved]. The answer is $stanza = $this->grav['twig']->processString($sc->getContent());

  • Getting twig processed content · 8 years ago

    How to get twig processed content inside a shortcode? I want to write [sql-table] select * from table where id={{ userinfo.id }} [/sql-table] I am using the sqlite and persistent-data plugins (which I

  • Setting plugin variables with a Form · 8 years ago

    [SOLVED] The problem was eliminated by reinstalling the form plugin.

  • [Solved]Switch child theme from Antimatter to Quark · 8 years ago

    @foufrix: ... and then add the line written in the link i posted below. Which link? Below is nothing. I just saw this and want to change from Antimatter to Quark. Failed when I first tried.

  • Can twig_vars be used in any file? · 8 years ago

    Thanks @Utis and @Perlkonig for the help. I found that some of my problems were eliminated when I tried the plugin on a clean Grav skeleton with minimal other plugins. I'm not sure what causes the pr

  • Can twig_vars be used in any file? · 8 years ago

    I tried this approach, but couldn't access the data inside a twig. I'm not sure why it didn't work.

  • Can twig_vars be used in any file? · 8 years ago

    @Utis, I made the variable 'protected' because that is the way it was done for 'login' and 'form' plugins. I will try the public route as well.

  • Can twig_vars be used in any file? · 8 years ago

    I can't get $this->grav['twig']->twig_vars() to work. (I can't even find the function in Grav API documentation). I have tried to duplicate code in the login and form plugins. I want to create

  • Login plugin needs better guidance · 8 years ago

    I absolutely agree that the documentation needs improving. Alot of it is written with assumptions about what a reader already knows, and often with insuffficient examples. I had the same problem as yo