Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3221 posts · 18 topics · 1023 reputation

Badges

Grav Core Team ModSquad Team Member ✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Plugin update after grav 1.7.6 update gives error · 6 years ago

    Does anyone of you know which plugin/theme it is that uses partials/noscript.html.twig and partials/base-root.html.twig? I think it would be appreciated if someone creates an issue at the repo of the

  • Template not showing under template option in "add page" menu · 6 years ago

    @Regi, I highly doubt that moving from subdirectory to the root is the solution. Using localhost/grav/site-dev works fine, although a clearing of the cache and a refresh of the page might be required.

  • Template not showing under template option in "add page" menu · 6 years ago

    @Regi, I cannot reproduce the issue. The following steps creates a new template as shown by the docs: Creating custom page templates Fresh install of Grav 1.7.6 In theme Quark created file /user/the

  • New page alignment issues · 6 years ago

    @rb1604, Not seeing what happens, I'll have to resort to guessing... How much text does your new page contain? If it is not filling the height of the page there is no scrollbar. Pages Home/Typography

  • New page alignment issues · 6 years ago

    @rb1604, A tad more info might help the community getting an idea of what is going on... Theme used. Filename of page (e.g. default.md). (Tells which template is being used.) Content of page header W

  • Unable to see the modules attached to a page · 6 years ago

    @fab, I'm afraid I cannot follow you... You might consider downloading the skeleton One-Page Site and see how the modular page is constructed.

  • Unable to see the modules attached to a page · 6 years ago

    @fab, despite i’ve read some tutorial Did you read the tutorial dedicated to Modular Pages? If so, did you create the collection definition in the primary page?

  • Set default attributes to markdown images to avoid cls · 6 years ago

    @christiana83, Did some playing with code. The following onPageContentProcessed event handler seems to work. Note: Used images are in page's folder. public function onPageContentProcessed($event) {

  • Set default attributes to markdown images to avoid cls · 6 years ago

    @christiana83, My suggestions are not really of any help with the existing pages... Take a look at event: onPageContentProcessed. This event is fired after the page's content() method has processed

  • Set default attributes to markdown images to avoid cls · 6 years ago

    @christiana83, You could try the following: Using a fresh install of Grav 1.7.5 In Twig template: // Twig {% set image = page.media.images|first %} {{ image.height().width().html('Image inserted in