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

  • [Print Plugin] · 10 years ago

    Thanks

  • [Print Plugin] · 10 years ago

    There is this plugin that saves a page as PDF: https://github.com/iusvar/grav-plugin-snappygrav Or you can pick any theme, and add a print CSS

  • [Print Plugin] · 10 years ago

    Hello, Is there any print friendly plugin for Grav? I know that there is one in Wordpress. https://wordpress.org/plugins/printfriendly/

  • PHP script as plugin help? · 10 years ago

    That's highly unlikely. I've been doing web development for 20+ years, running multiple webservers on a variety of local development machines and have yet to have a hacker connect and delete my comput

  • PHP script as plugin help? · 10 years ago

    I'm afraid running a website on my laptop will allow hackers to connect to it and delete my computer.

  • PHP script as plugin help? · 10 years ago

    My suggestion is to always run a copy of the site in a local environment, using MAMP for example, or another solution to run the site on your computer without affecting the live site.

  • PHP script as plugin help? · 10 years ago

    I was afraid to use it since I don't want to break my website if it does something strange.

  • PHP script as plugin help? · 10 years ago

    looks 'ok' to me.. does it work as expected?

  • PHP script as plugin help? · 10 years ago

    So this should be ok? <?php namespace Grav\Plugin; use Grav\Common\Plugin; use RocketTheme\Toolbox\File\File; use Symfony\Component\Yaml\Yaml; class LogerrorsPlugin extends Plugin { /**

  • PHP script as plugin help? · 10 years ago

    @marymaruda, You could see my Log Errors Plugin (logs 404 erros to file) as an example, the logic will be very similar. Of course you will need the correct event. see events reference here.