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

Ole Vik Regular

Grav Core Team

Grav Forum Moderators

@OleVik · Joined 9 years ago · 313 posts · 2 topics · 106 reputation

Badges

Grav Core Team ✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Create own plugin with shortcode · 6 years ago

    In regards to the quickest way to "display a simple php-script", using the DevTools-template is pretty quick. If the sidebar is rendered with Twig, which is almost certain, handling the JSON that way

  • Create own plugin with shortcode · 6 years ago

    Only extensions can run PHP; you'll need to bootstrap the script for a theme or plugin. With the DevTools-plugin and CLI, it takes less than 30 seconds to create one. The default plugin-template creat

  • Best way to add something underneath every Markdown editor field in Admin? · 6 years ago

    The Presentation-plugin does this for presentation.md-Pages, you could cut out what works there and use it. It does this by: Create a field specifically for the plugin. Add it via blueprints. Set the

  • Is it possible to change plugin config programmatically? · 6 years ago

    It persists the changed configuration to disk. Config also has a setter, so you can change it on run-time without changing files: $this->grav['config']->set('config.key', 'value');

  • Anyone Offer Paid Assistance? · 6 years ago

    FlexSearch?

  • Newbie question about future availability · 6 years ago

    Seeing as the vast majority of webhosts still run some version of PHP 5.6, I'd estimate that the current version of Grav would still run exactly the same for a good 10+ years, on a modern host that ru

  • Docs for Diblas "Core" Plugins Require Browser Plugins? · 6 years ago

    The plugins are, but the domain was not renewed and was probably automatically bought up and used for landing pages, then auto-hosting ads, and subsequently wound up in the ad-loops. The code for the

  • Custom controller for a certain route/path · 6 years ago

    If you want an example of this, the Scholar-theme uses a custom Router to handle special-purpose routes affixed to the URL. As pamtbaau says, you can intercept and manipulate any and all processing do

  • Parameter #1 does not contain array of filenames · 6 years ago

    The 1.7-branch contains a fix for this, but RC.4 has not been released yet. An issue is open on GitHub: https://github.com/getgrav/grav/issues/2782.

  • Parameter #1 does not contain array of filenames · 6 years ago

    To improve the static analysis of Grav, its underlying dependency - Toolbox - was upgraded. Because of this, the old way of loading blueprints no longer applies it seems. Yet to find a fix though, but