Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Modular template with div wrappers around some modules
· 12 years ago
No it doesn't. It also wraps the intro section into the other wrapper. I just noticed that the if statement sits outside the for loop. I'll let you know tomorrow. Happy holidays!
-
Modular template with div wrappers around some modules
· 12 years ago
Does this not work as expected? It looks like it should do what you want right?
-
Modular template with div wrappers around some modules
· 12 years ago
This is my first post, so bear with me... I'm writing my custom theme based on the modular one-page skeleton. I now have a modular twig template with the basic for loop (from the skeleton) to print ou
-
Yaml besides site.yaml and page header recognized?
· 12 years ago
If you use plugin, you can very simply load any yaml file from the filesystem by using $array = \Grav\Common\File\CompiledYamlFile::instance($filename)->content(); This will also cache the yaml f
-
Yaml besides site.yaml and page header recognized?
· 12 years ago
This is where the plugin comes in. You could add to the taxonomies directly during the onPageProcessed event. This way you it will cache the page headers with your dynamically added taxonomies. We
-
Yaml besides site.yaml and page header recognized?
· 12 years ago
Do you sleep sometimes? ;-) From Taxonomy.php lines 49 to 67: public function addTaxonomy(Page $page, $page_taxonomy = null) { if (!$page_taxonomy) { $page_taxonomy = $page
-
Yaml besides site.yaml and page header recognized?
· 12 years ago
Grrr.. just lost my huge reply! Time for shorter version: 1) All YAML configuration is accessed via the Config object, so $grav['config']->get('site.something.else') will access the site: somethin
-
Yaml besides site.yaml and page header recognized?
· 12 years ago
Ah! Thought that YAML has functionality like TypoScript: Setting/getting variables from anywhere. So there is no cascading and possibility to overwrite variables from top to bottom? (Please forgive me
-
Yaml besides site.yaml and page header recognized?
· 12 years ago
First make sure you put backticks around filenames and such or this forum will mess up any names with underscores because it thinks you are doing italics. Anyway, No there is no way to have a specific
-
Yaml besides site.yaml and page header recognized?
· 12 years ago
hello again! is it possible to do sth like category_x.yaml for e.g. each blog category -- or say a subtree_b.yaml whose settings would make definitions in page headers unneccessary? i have mind author