pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3131 posts · 12 topics · 1012 reputation
Badges
Recent posts
-
Struggling with Blueprint: Custom header data form in Admin area
· 3 years ago
@b.da, You might be right. My suggestion to create an issue is not because I'm saying it is a bug. I just had no clue where the problem might stem from and suggested to create an issue: because the t
-
Twig: How to find out if plugin is installed?
· 3 years ago
@pikim, Thanks for the context. I want to contribute to a theme and added another plugin as dependency. The initial author wanted to make sure that everything also works without that plugin. Then we
-
Twig: How to find out if plugin is installed?
· 3 years ago
@pikim, If there is a myplugin,yaml file lingering around in any of the config stream folders (e.g. /user/config/plugins/, or /user/env/*/config/plugins/, or user/plugins/myplugin/) and it contains v
-
Add custom site permission to admin plugin (permission selection)
· 3 years ago
@Sven, Tip: try some backtracking in Admin plugin: search for permissions.yaml, you'll find function onRegisterPermissions. then search for onRegisterPermissions and you'll find a subscription for ev
-
Struggling with Blueprint: Custom header data form in Admin area
· 3 years ago
@Flop, Unfortunately I can reproduce the behaviour. I would suggest to add an issue at the repo of Admin
-
How to make the logo larger?
· 3 years ago
@tedodc, You've got two options to change the logo or any other styling: Using scss scss files first need to be compiled into css and the css will probably need further processing (prefixing, minify,
-
Admin plugin page blueprint, field type “pages”: slug (value) ignores translation
· 3 years ago
@clivebeckett, Not sure if this fits your needs, but you could play with the following: Using fresh Grav installation system.yaml languages: supported: [en, de] include_default_lang: false Pages: use
-
Twig Timespan? Show playtime of games in a readable format
· 3 years ago
@Paragrimm, You may have missed it, but Google recently released a search function... ;-) Try https://www.google.com/search?q=twig+include+passing+variables
-
Twig Timespan? Show playtime of games in a readable format
· 3 years ago
@Paragrimm, There are multiple suggested algorithms that can be found, but grosso modo they are the same. Turn this in a custom template in your theme like /user/themes/mytheme/templates/partials/play
-
Twig Timespan? Show playtime of games in a readable format
· 3 years ago
@Paragrimm, I have one solution in my head and that’s calculating 2 times (for hours and for minutes separately). Is there a better solution for this? Depends on what solution you have in mind...