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
-
Setting up a wiki index?
· 8 years ago
You could use a plugin, too. DirectoryListing immediately comes to mind. Even if it doesn't quite meet your needs, if you're comfortable with PHP, you may be able to use it as a starting point.
-
Session_start(): open(/usr/local/php7/lib/php/session/...) failed: Permission denied (13)
· 8 years ago
Doesn't look like a Grav issue. The folder in question is your main PHP folder. Do you have other PHP software that uses sessions working on this server? The error message is telling you exactly what
-
Setting up a wiki index?
· 8 years ago
First point I would make is that if you really want to create a wiki, you're probably better off using software designed for that purpose. I'm a fan of the flat-file wiki Dokuwiki. You appear to be l
-
Can twig_vars be used in any file?
· 8 years ago
Or as follows: // Load count data into a twig variable $this->grav['twig']->twig_vars['viewcounts'] = $data; https://github.com/Perlkonig/grav-plugin-count-views/blob/develop/count-views.php#L67
-
Dynamic page/content routing
· 8 years ago
To actually embed a video, use the YouTube plugin already available. If the URLs of the video are known, you could put them in the frontmatter of the page and the twig can iterate through them and di
-
Category/tag descriptions
· 8 years ago
Indeed true. It should be relatively straightforward to create a plugin that processes a taxonomy definition and then produces various "related links" and stuff from there. I just don't know enough ab
-
TWIG template for bootstrap carousel
· 8 years ago
Here are three ways to build a nested list in YAML: - - 1 - 2 - 3 - - 4 - 5 - 6 - - 1 - 2 - 3 - - 4 - 5 - 6 - [1,2,3] - [4,5,6]
-
Auto generate Table of Contents (TOC) | pointers and ideas are welcome!
· 8 years ago
I'd start with page collections. You could do some variation of this using a plugin or pure Twig.
-
How to access object properties in Grav?
· 8 years ago
It's protected by the class definition. You're not allowed to access it directly. What exactly are you trying to get out of the object? If you look at the URI API, you'll see there's a path() method t
-
Dynamic page/content routing
· 8 years ago
Can you be more specific, then, about what exactly you're trying to accomplish? Grav plugins certainly can be used to generate content (e.g., shortcodes). I just can't tell from your initial post what