Skip to content
Grav 2.0 is officially stable. Read the announcement →

Pedro M Regular

@pmoreno · Joined 6 years ago · 412 posts · 108 topics · 102 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Display all categories in a Blog page filtered · 3 years ago

    Hi @domena.online First of all, thanks for your answer. My blog is not structured under the categories folders. It's a simple structure with blog parent folder and children folders for items, like thi

  • Display all categories in a Blog page filtered · 3 years ago

    Hi. I'm trying to do a partial template to show all blog categories in the sidebar. I use this code for this porpose: {# Set Categories #} {% set terms = [] %} {% for child in collecti

  • Center an image and a button · 3 years ago

    HI @scuret Using markdown, you can include html tags. For example <div style="text-align: center;"> Otherwise, you would have to change some code in the template from which you want to display t

  • How to add a modular home page to Future 2021 theme? · 3 years ago

    @bjaz, Have you tried copying the content of the demo page from the home page, included on GitHub? From there, you can make the modifications you need. However, as @pamtbaau rightly says, it would be

  • Admin plugin not translate default value in text blueprint · 3 years ago

    Hi @Netzhexe. You can see this error in action if you test the changes I made in this Pull Request for the tecart plugin cookies manager. Specifically in the blueprints.yaml file, line 54: default: PL

  • Admin plugin not translate default value in text blueprint · 3 years ago

    Hello. I'm trying to translate the "default" value in blueprints.yaml for a text field, but the character string used to translate in languages.yaml is displayed instead of the translated text. Exampl

  • What is going on in this line of twig code please? · 3 years ago

    @bjaz. Have you taken a look at the theme demo page, for how the links to the author of the blog posts work?

  • What is going on in this line of twig code please? · 3 years ago

    @bjaz, This line verifies whether the author taxonomy exists on the site (the taxonomies must be defined previously in the administration). If so, set the href attribute pointing to the previously def

  • Fontawesome not displayed wit Assets pipeline enabled · 3 years ago

    Thanks so much @pamtbaau. Good job, as always. Now all that remains is for the PR to be integrated into the next version of Grav (there is a long list of PRs and pending issues)

  • Fontawesome not displayed wit Assets pipeline enabled · 3 years ago

    I finally think I found a solution to this problem, which involves modifying the Pipeline.php file inside system/src/Grav/Common/Assets: I added these lines before line 273: // Check if it's an @impor