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.

Thomas Vantuycom Member

@TheDancingCode · Joined 7 years ago · 31 posts · 8 topics · 4 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • How to autoload vendor classes in a plugin? · 6 years ago

    I scaffolded a plugin with devtools. The plugin's main php file contains a line to autoload vendor classes, but I'm unsure how to call these classes in my plugin, resulting in a Class not found error.

  • Nav issues with Bootstrap4 child theme · 6 years ago

    Hi @mfiZebra, You say you're building a child theme. You didn't edit the navigation template, but I suppose you changed some other templates. Did you reassign the pages variable in any of your templat

  • Custom edit head of pages for google jobs · 6 years ago

    Hi @kwon, I suppose the custom scripts you mention refer to structured data as described on this page. Here's how I would do it: You have a base template base.html.twig that contains a head block: &

  • Big Emergency ; error 0 - "you do not have sufficient funds to use this service" · 6 years ago

    It seems your website makes use of a service called Maxmind on the video and subscription pages for geolocation and/or fraud prevention. You should check if that's true and find your account credentia

  • How to protect video and photos from folder · 6 years ago

    In this scenario, are the links to Pages 1, 2, etc unguessable? I mean something like /4gh679gdt468ghjfkjg/ for example. Why did you mention people log in in your opening question?

  • How to protect video and photos from folder · 6 years ago

    There is a way in Grav, using the Login plugin to restric access to page media. You first need to set protect_protected_page_media: true in login.yaml. Then, you need to link to your media using the p

  • Grav and Mollie · 6 years ago

    Hi @joelcastillo, It's somewhat difficult to know what your setup looks like given the little information you provided, but yes, the frontmatter would be the common place to store the price and other

  • How to migrate Wordpress Metadata to Grav · 6 years ago

    To save you the expense of a yoast export plugin, I think you could get the data with an SQL query along these lines: SELECT post_title, meta_value FROM wp_posts INNER JOIN wp_postmeta ON wp_posts.ID

  • Creating a custom "product" content type? · 6 years ago

    You might want to look into https://github.com/trilbymedia/grav-plugin-flex-objects. Haven't used it yet, but it seems to fit your use case.

  • Default "sizes" attribute gets truncated · 6 years ago

    I'd like to add a default sizes attribute to my images. Setting defaults in system.yaml works, but the sizes attribute gets truncated after the first comma. Setting: images: defaults: size