pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3129 posts · 12 topics · 1011 reputation
Badges
Recent posts
-
Sub navigation collection on each page
· 8 years ago
@freeyland You could define a twig template and define the collection inside the template. Have a look at the docs on Collection Object Methods for an example of a collection created in Twig. Then {%
-
How to remove the logo and footer of Quark?
· 8 years ago
@Bendik If you want to make changes to a theme, the best thing you could do, is making an inherited theme based on Quark and make changes in the derived theme. If you do not, every time the Grav team
-
How can I remove this drop meny?
· 8 years ago
@bendik The 'visible' property of a page determines if the page is visible in navigation. You can set it in the Admin panel for the page using tab 'Advanced', or add 'visible: false' manually to the f
-
Filepicker inside a list
· 8 years ago
@jacfab This seems to be a copy/past induced problem... Try renaming the field's name from '.header.a_file:' to '.a_file:' and it should work...
-
Conditional Fields in blueprint
· 8 years ago
Glad it's working... Twig variables: Also Twig does not handle variables containing a dash. When the attribute contains special characters (like - that would be interpreted as the minus operator) [
-
Conditional Fields in blueprint
· 8 years ago
@finanalyst I'm just guessing that the condition is parsed and executed by Javascript. The dash in 'map-leaflet' might cause problems. What if you try: "config.plugins['map-leaflet'].provider == 'ope
-
How do I display a description of the category and tags on the output page?
· 8 years ago
@dydaevskiy You may repeat the url to the solution, but that doesn't tell me what might have gone wrong in your code... ;-) Anyway, using theme Quark, try this: In '/user/config/site.yaml' add: categ
-
Admin plugin or twig
· 8 years ago
@julien With respect to the plugin, I suspect the condition '$page instanceof Page' fails because 'Page' is unknown. You could try one of the following: Define the proper 'use' as: use Grav\Common\Pa
-
Modular menu on non-modular pages
· 8 years ago
@pgrav Wished I had understood your requirements a little bit better the first time... :-) I find it hard to judge whether there is a better or more correct way, while I only see fragments of the code
-
Admin plugin or twig
· 8 years ago
@julien Twig: In Twig, an if-statement must be enclosed in {% %} not {{ }}... Because of these "typo's" every 'suite-range' assignment is executed and the last assignment wins... Plugin: In the plug