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.

Aaron Dalton Regular

@Perlkonig · Joined 8 years ago · 144 posts · 3 topics · 28 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Google maps Api grey map · 8 years ago

    Your map options are all set to false. The colour settings are just above the below call, as well. You just need to adjust the settings to your liking. The code is from the map.html.twig template fil

  • Uninstall admin and plugins · 8 years ago

    You can use the command line.

  • TWIG template engine either "TWIG" or "PHP" · 8 years ago

    I hope someone can answer your question. If you decide to go the other route, here are two plugins that do what I mentioned: Import loads files given in the frontmatter and makes the data avaialable

  • Content Wrapped in <p> Tags? · 8 years ago

    page.content still gets processed by Markdown unless otherwise directed. That could be what's happening here. It's hard to say without seeing the files in question.

  • Would ordering by date work in my case? · 8 years ago

    I think it would then order alphabetically by file folder name, maybe by defined slug. I double checked the docs and I don't see anything about multi-factor sorting. In the past I've done that manuall

  • How to redirect pages with php extension · 8 years ago

    Without seeing all your config, it's hard to give you specific advice. All I can say is to review carefully the documentation and make sure you have everything in order: "Routes" section of "Headers

  • Access metadata from markdown · 8 years ago

    I don't work a lot with media myself, so maybe someone more expert will chime in. If you have the metadata in YAML or JSON files, then you could leverage something like the Import plugin to load that

  • TWIG template engine either "TWIG" or "PHP" · 8 years ago

    I'm afraid I can't answer your specific question, but why not write a plugin that pulls the data from SQL and then injects that data into the Twig variable space? Your standard Twig template then disp

  • Replace Markdown Image ![]() Code · 8 years ago

    If you search the plugin list for markdown, you'll see a number of extender plugins that hook onto the onMarkdownInitialized event (see the Grav Lifecycle page). I'm not seeing explicit examples of ov

  • Creating Tags to filter posts · 8 years ago

    The usual way to get a list of blog posts by tag is to append your site url with /tag:TAGNAME. See my Tag Cloud plugin as an example. (Damn Discourse! It's making it hard for me to post links. Go to t