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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

mmm Member

@backit · Joined 4 years ago · 19 posts · 5 topics · 1 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Grav-admin forbid dashboard to users · 4 years ago

    @pamtbaau forgive delay, yes i've tried admin options to disable dashboard or notifications, but these are globals, not per user. I want the user xx edit page contents and nothing more, no options, n

  • Grav-admin forbid dashboard to users · 4 years ago

    Hi, is it possible to have editor user (edit content) but forbidding the dashboard? Or at least remove some panels from his dashboard (notifications and news feeds)? Best regards Thanks

  • Twig and media paths · 4 years ago

    @backit: but why page.media['myphoto.jpg'].url Answering myself, because averytime i add an image you have to clear the f...ing cache!!!!! :face_with_symbols_over_mouth:

  • Buildin staff page · 4 years ago

    doh!! putting as you said meta file works!!!!! thanks all folks!!!

  • Buildin staff page · 4 years ago

    You're both absolute right! I tried the gallery recipe example and is much easy, but meta info does not show up. My staff.md file: --- - myphoto.jpg - myphoto.jpg.meta.yaml - myphoto2.jpg - myphoto2.

  • Twig and media paths · 4 years ago

    Many thanks!! All suggested works, but why page.media['myphoto.jpg'].url does not? (This is a modular page) myphoto.jpg is inside: 01.modular/_mymodularpage/ 01.modular/images user/pages/images

  • Twig and media paths · 4 years ago

    Mmm testing with normal pages works, but i'm using modular pages, maybe this is the problem...

  • Twig and media paths · 4 years ago

    Hi, i'm trying to get image url from twig template. As the page Where to put your media files explains, in my twig template i put {% set image_url = page.find('/images').media['myphoto.jpg'] %} and in

  • Buildin staff page · 4 years ago

    Hi, i just need to build a staff page. Each person has its own fields like name, surname, photo and so on. There is few people as staff, less than 10. I wonder what's the best way to do it. It seems f

  • Section id in modular pages · 4 years ago

    Ok found the building page system at https://learn.getgrav.org/17/plugins/grav-lifecycle so Page.php build the page, but still is not clear for me where the id comes from...