pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3129 posts · 12 topics · 1011 reputation
Badges
Recent posts
-
How to include a twig variable in a twig variable ? (on a config yaml file)
· 8 years ago
I found the following in the Twig docs: {{ include(template_from_string("Hello {{ name }}")) }} It seems this is what you are after, but I couldn't get it to work... Prerequisite: The template_from_
-
How to have rss per tag?
· 8 years ago
Hi @jodumont Had a look at the feed plugin for you... TL;DR: Solution is at the bottom. Rationale: NB. I used the Quark based 'Blog Site' skeleton. It seems the issue is not in the feed plugin itself.
-
How to reference hero image in the images file
· 8 years ago
Hi @normawhite, long time no see... Hate so say, but it seems to be working in my environment... In 'One-Page Skeleton' which uses Quark, I did the following: Using $ bin/plugin devtools newtheme I c
-
Accessing custom user variables
· 8 years ago
@markic Are you sure? I cannot reproduce that behaviour. When not logged in, I do get a 'user' object showing the definition of the 'account.yaml' and default values are shown, but no sensitive data b
-
Alternatives to '@slugify-title'
· 8 years ago
Maybe the following sample might give you some thoughts to handle your use case. Created the same blueprint as above (kept the @slugify-title) and created a plugin with the following code: public func
-
Creating Backend Pages
· 8 years ago
What is it you are missing?
-
Creating Backend Pages
· 8 years ago
The PHP file comments.php from the 'comments' plugin shows how to save/retrieve data to/from the 'user/data' folder.
-
Alternatives to '@slugify-title'
· 8 years ago
I have created a new blueprint as shown in Add a custom page creation modal. When I create a post using 'Add Post' and enter '2018-09-18' as 'Post Title' in the modal form, then save the page, a fold
-
Multiple collection pages and popular tags
· 8 years ago
@marcocevoli Are you sure 'show_sidebar: true' is the issue? When parameter 'children_only: true' is set for plugin 'taxonomylist', it only looks for taxonomies in children of the current page. If the
-
Alternatives to '@slugify-title'
· 8 years ago
@mathmax Currently, '@slugify-title' is internally translated into a call to method \Grav\Plugin\Admin\Utils::slug($str), where $str is the value of the title of the page. Among others, the method 'sl