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.

David Lannan Member

@dlannan · Joined 9 years ago · 17 posts · 5 topics · 1 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Shortcode within Plugins · 7 years ago

    Finally sorted it all out. Not sure if there are better ways to do this but, here goes. Im using Shorcode-core + SQLite and deps to display a table of my project information into the admin so I can ap

  • Shortcode within Plugins · 7 years ago

    Ok. I have shortcodes and SQLite shortcode extension now running. But the output is injected directly into the page. This seems like it would be easy to fix, but again, Im a little puzzled. I'll put

  • Shortcode within Plugins · 7 years ago

    Screenshot of what happens:

  • Shortcode within Plugins · 7 years ago

    Ive been working on this for a few hours and I cant seem to get any shortcodes to work in an admin panel plugin I have made. yes, I have made sure "run in admin" is enabled in the shortcode plugin p

  • Sqlite plugin + shortcode weird error · 8 years ago

    I have managed to find the issue. Looks like there is a bug in the SQLite php. File: SqlTableShortcode.php line 16 $this->log($this->grav['sqlite']['error']); This log call should have two param

  • Sqlite plugin + shortcode weird error · 8 years ago

    I have been trying for the last day to get the SQLite plugin (with shortcode dependency installed) and it keeps returning this error: Whoops \ Exception \ ErrorException (E_WARNING) Missing argument 2

  • Create a new page from php or? · 8 years ago

    @pamtbaau - Thanks for you suggestions. It took me a couple of days to get the Add Page By Form to work the way I wanted it to. It turns out some of my requirements for submitting data to save was a l

  • Create a new page from php or? · 8 years ago

    @pamtbaau - Excellent suggestion! I had not seen that plugin before. I didnt manage to get to try out the php yesterday. Hopefully tomorrow. But I will definitely try this form first. I currently have

  • Create a new page from php or? · 8 years ago

    Sorry to confuse you. I want it to work like the admin one :) So have a form on client side that has: Scene Name, Some scene settings and some object information. When I submit that it would be good t

  • Create a new page from php or? · 8 years ago

    @pamtbaau I was just using some php from the suggested samples in the grav docs. https://learn.getgrav.org/cookbook/plugin-recipes#how-do-i-read-from-and-write-data-to-the-file-system I ended up using