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

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • PEAR or external service for email · 10 years ago

    I assume those services offer a SMTP server. Fill the details in the Email plugin settings.

  • PEAR or external service for email · 10 years ago

    Is there a way to make Grav's email plugin use PEAR or an external service like Mailgun or Sparkpost? Thanks

  • IP Restrictions · 10 years ago

    For IPv4 addresses, here's some code to check that an IP address is in a given range.

  • IP Restrictions · 10 years ago

    No built-in way. You could write a plugin, but you could also put twig in the page itself to check _SERVER['REMOTE_ADDR'] and redirect as necessary. IP screening is really best at the server level, th

  • IP Restrictions · 10 years ago

    Hi, Is there a way to have a page ip restricted, so that if it is on the list, it gets the page, other wise it is served a pre-defined page. Thanks

  • Twig variable with current month in the title of the post · 10 years ago

    Yes I did something similar. I tag in header timecritical: true and this will add extra part after title of the post in twig template.

  • Twig variable with current month in the title of the post · 10 years ago

    I'm not sure if the title field, in admin or with regular editing as text, will allow a dynamic Twig-tag in the title field. Is a conditional check of taxonomy in the template out of the question? Wit

  • Twig variable with current month in the title of the post · 10 years ago

    @OleVik that's clear to me. What I meant is I want to be able to use this {{ month }} tag in my admin dashboard in the title field and it will output correct month. But none of the variables are outpu

  • Twig variable with current month in the title of the post · 10 years ago

    For example: {% set month = 'now'|date('F') %} {{ month }} Using full month name, otherwise see PHP Date Formats

  • Twig variable with current month in the title of the post · 10 years ago

    So I want to include a variable with a name of the month in my page title so I don't need to update it manually every month. So something like Best tools for X in {{ t("now"|date('M')) }}. Of course