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

Ron Wardenier Regular

@bleutzinn · Joined 9 years ago · 252 posts · 14 topics · 75 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Page permission and admin login not the same? · 7 years ago

    By default Grav uses separate sessions for the back- and frontend. You can turn that off so logging in in Admin also logs you in on the frontend. Look for "Split session" in the configuration.

  • Does anyone know how to call another plugins public methods? · 7 years ago

    Hi @peterg87, welcome to the Grav Forum. Yes, well that's a good one! I was hoping that something like public function onPageInitialized() { dump(FormPrefillerPlugin::getFilePath('user://

  • New plugin: Form Prefiller Plugin · 7 years ago

    Prefilling or pre-populating Grav Form fields is not an out of the box thing. To make the use of dynamic fields and function calls (see documentation) easier I've created a new plugin, the Form Prefil

  • Page collection without frontmatter · 7 years ago

    So if I understand correctly the client can create a new category with a maximum of three levels deep navigation? So I assume they are allowed to create the category "root" page with child pages of th

  • Page collection without frontmatter · 7 years ago

    Hi @hibangmike ! Welcome to the Grav Form. You could save your collection definition in a separate YAML file and use the Grav Import Plugin to add it to a page header (also often called "frontmatter")

  • How to access to header custom properties with php? · 7 years ago

    I'm glad you figured it out. In hindsight the code I pointed you to may be confusing. There (line 366) "pageconfig" and below that "pagefrontmatter" which you tried to use are actually variables in th

  • How to access to header custom properties with php? · 7 years ago

    You need to create a plugin for that. To learn how, follow the Plugin Tutorial. In your plugin you first must decide on what Grav events you want to act. Finally, for an example of how to read and han

  • Disable scroll wheel zoom on Leaflet? · 7 years ago

    The option should be set in the map initialisation, e.g.: // Initialize the map on the div with id="map" with a given center, // zoom level and scrollwheel disabled: var map = L.map('map', { cent

  • Will Grav work for a gallery with hundreds of images? · 7 years ago

    Some of the demo's of Masonry use infinite scroll and lazy loading of images. Maybe that's already handled by that library? A general approach when integrating some Javascript code is to first get it

  • Add forum PHPBB to GRAV · 7 years ago

    Welcome to the Grav community @Gray_and_Big! You can create a normal Grav page and set it up so it redirects to your forum. Read about using Headers / Frontmatter and specifically Redirect in the Gra