Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Pedro M Regular
@pmoreno · Joined 6 years ago · 412 posts · 108 topics · 102 reputation
Badges
Recent posts
-
Submit & reset button inline help
· 9 months ago
Updated DeliverNext theme and Skeleton with these changes and more.
-
Submit & reset button inline help
· 9 months ago
According to @pamtbaau, I've made a change that I'll integrate into the next version of the theme, in the _forms.scss file, leaving the code as follows: form { .buttons { text-align: center; display:
-
Submit & reset button inline help
· 9 months ago
Well, it would be interesting to open an issue in the repository of the theme so that I can take it into account for future versions. Almost all the styles of this theme are inherited from the origina
-
Grav 1.8.0-beta.7
· 9 months ago
What theme are you using?
-
Grav 1.8.0-beta.7
· 9 months ago
I have started testing the Editorial theme version 2.3.8, and the first problem I have encountered with 1.8.0-beta.7 is in the metadata.html.twig file (line 36). Here's the error: The "filter" filter
-
"Best practices: When to use raw vs |e('html') filter for titles and content?"
· 9 months ago
Thanks @hughbris For now, I'm applying the escape filter to titles and the |markdown(false) filter to fields with more specific content, since the markdown filter already applies escaping. But it wou
-
"array_rand(): Argument #1 ($array) cannot be empty" error when using collection with unpublished posts
· 9 months ago
Thank you @OleVik. I think it has hit the nail on the head, because I have tried to disable the categories in the sidebar and there is no problem. I will look for a way to improve this partial templat
-
"array_rand(): Argument #1 ($array) cannot be empty" error when using collection with unpublished posts
· 9 months ago
UPDATE - PROBLEM ISOLATED: I've successfully isolated the issue to a specific theme. What I tested: I created a simple modular template in the Quark theme using the exact same collection logic: twig {
-
"array_rand(): Argument #1 ($array) cannot be empty" error when using collection with unpublished posts
· 9 months ago
I'm experiencing a specific issue with Grav collections that seems to be triggered by the number of unpublished posts. Template code: {% set collection = blog.collection().published(true).order('date'
-
"Best practices: When to use raw vs |e('html') filter for titles and content?"
· 9 months ago
Hello Grav community, I'm trying to establish clear guidelines for when to use the raw filter versus the |e('html') filter in Twig templates, and would appreciate your expertise. From my understanding