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
Recent posts
-
PHP Plugin Question(s)
· 8 years ago
The most important part of plugin coding that people seem to consistently miss is the Grav Lifecycle. That's how you know what events are available and which you need to target. The problem here is th
-
Facebook Plugin V1.7.0
· 8 years ago
What's the error message?
-
Docs on the basics of the guts
· 8 years ago
Things like related_pages and score aren't Grav core things. They're part of the plugin itself.
-
Docs on the basics of the guts
· 8 years ago
You mean the Grav Lifecycle?
-
Facebook Plugin V1.7.0
· 8 years ago
It's up to you. You insert the code provided into the Twig of either a specific page or in a template file for multiple pages. Docs on theme customization Docs on content in Grav
-
/system/src/Grav/Common/Utils.php getting 20180732 as a date *july 32nd
· 8 years ago
Well here's the code. There's nothing there that sets any dates. It only selects pages that fall within the range. Here's the line that's causing your problem. You'll see it's pulling the date from th
-
/system/src/Grav/Common/Utils.php getting 20180732 as a date *july 32nd
· 8 years ago
Where is this non-date coming from? If it's in a page's frontmatter, then just change the page. If the filesystem itself is returning this date, then you have a much larger problem. That shouldn't be
-
[TwentyFifteen] Post date translation
· 8 years ago
It's super simple! The demo site shows you how. Just install the plugin and then run your date through the localizeddate filter. It's good to learn Twig eventually 🙂
-
[TwentyFifteen] Post date translation
· 8 years ago
Here's the docs on theme inheritance. You create a child theme, copy the offending file over, and edit it as you see fit. The one in your child theme will be used instead of the default. The list of G
-
Get html in plugin
· 8 years ago
I don't know the answer. I've never done something like this before. But be sure to check the API docs. The function processMarkdown() might do what you want.