pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3195 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
plugin/theme development: logging works, sending messages to debugger does not
· 2 months ago
I cannot reproduce the issue. Using the following snippet, a message is being written into /logs/grav.log. public function onThemeInitialized() { $this->enable([ 'onAdminSave' => ['
-
is it possible to save a colorpicker value as oklch? how do I go about adding that?
· 2 months ago
whenever the theme settings are saved Ah, you want to set the color in Admin and handle it in a plugin/theme. I need to figure out how to hook into the new Admin bits. Read all about that in https:
-
is it possible to save a colorpicker value as oklch? how do I go about adding that?
· 2 months ago
I actually manipulate the picked theme colour into different shades That's the info that was missing... I've not found a single reference to OKLCH in the entire getgrav github repo (core, admin, plug
-
Page collection with tagA OR tagB or tagC etc
· 2 months ago
@lordkelvin88, Please consider the reader and format code/yaml correctly using tripple backticks (```). After editing your post, you might take a look at Complex Collections You can also provide mult
-
clean way to show some content only if someone is logged in?
· 2 months ago
@Netzhexe, Have you played with the following short-codes: [authenticated]Only logged-in visitors see this.[/authenticated] or [guest]...a little bit of text for people who are not yet logged in and a
-
is it possible to save a colorpicker value as oklch? how do I go about adding that?
· 2 months ago
Tailwind provides a default color set defined using oklch. For example --color-gray-50: oklch(0.984 0.003 247.858), whould be used in css like: color: var(--color-gray-50); I don't see why you cannot
-
is it possible to save a colorpicker value as oklch? how do I go about adding that?
· 2 months ago
I have a theme that lets users pick a colour, bur I would like to have them as oklch values instead of hexadecimal. Just curious, a user picks a color and the colorpicker returns a hex (or sRGB). Wha
-
clean way to show some content only if someone is logged in?
· 2 months ago
@Netzhexe, Maybe I'm missing something, but what functionality are you missing when you mark a page only accessible to logged in users? https://learn.getgrav.org/20/cookbook/general-recipes#create-a-p
-
iframe in Grav 2.0
· 2 months ago
Issue created by @dmeissner on Github: https://github.com/getgrav/grav/issues/4213 Reply from Andy : The "Dangerous HTML Tags" list you edited only feeds the security scanner (the warning on save). I
-
Getgrav Core 2.0.11: broke data-options@
· 2 months ago
@duceduc, I can reproduce your findings. A few thoughts: The field option data-*@ is only mentioned in the docs in section Blueprints and not in Frontend Forms. It might have never been the intention