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

  • [SOLVED] What is the GitHub ID when creating a new plugin? · 7 years ago

    It's your usename, e.g OleVik for me.

  • Youtube embed codes seen as 'dangerous_tags' · 7 years ago

    Indeed, and it should be, even though you can disable that behavior in settings. It's generally better that you use the YouTube-shortcode plugin.

  • A question about the admin editor · 7 years ago

    Per the original spec, you just indent the code by four spaces or one tab per line. To use backticks for inline code or code-blocks, enabled Markdown Extra in settings.

  • Contact form disappearing randomly · 7 years ago

    Shouldn't that cache: false in the FrontMatter be cache_enable: false?

  • URL Redirects: Some work, Others Do Not · 7 years ago

    What does your /user/pages-structure look like? Could you give an overview of what Pages are there? I don't see any immediate pattern in the redirects that would cause varying results. Could you also

  • URL Redirects: Some work, Others Do Not · 7 years ago

    Other than single-quoting the key and value of redirects, there is nothing the matter with the above. Keep in mind, the redirect only works when there is no Page where the page redirects from. So user

  • Destination of Grav · 7 years ago

    Grav Core itself should remain lean and clean, plugins and themes should add assets as needed. jQuery in Core is only used for the debugger.

  • Possible to use grav without internet? · 7 years ago

    Themes define the source of assets, some use them, some don't. They can all be changed to use locally hosted assets, though. Grav itself, if it has no internet-connection, should have no problem runni

  • [Twig] If statement to check if page is a subpage · 7 years ago

    You could check by if page.parent() != false.

  • Iterate pages with CLI command · 7 years ago

    You need to wait until Pages can be made available, then initialize them. Eg.: /* Initialize Grav and Pages */ $grav = Grav::instance(); $grav->fireEvent('onPagesInitialized'); $grav['pages']->i