CraftCMS

May 01. 2019 · by Helge Sverre
How to use Digital Ocean Spaces to store you assets in Craft 3

Storing your uploaded assets in Digital Ocean Spaces is a great alternative to S3, and less of a pain in the ass than storing them in a local folder, no more having to manually sync files back and fourth.

Apr 01. 2019 · by Helge Sverre
Team Workflow with Project Config in Craft CMS 3

In Craft CMS 3.1 the long awaited project config feature was added, which, when an administrative setting (channel is added, field is created or updated, assigned to a section, or plugin installed) is updated, the project.yaml file in the config folder will store the change, you can then "sync" those changes to the production database when deploying your changes, here is how our team utilize this feature.

Feb 23. 2019 · by Helge Sverre
How to use Mailgun with CraftCMS

At our agency (Guilty AS) we use Mailgun as the email sending service of choice for transactional emails, here is how we add support for it in our Craft CMS projects.

Feb 05. 2019 · by Helge Sverre
Lightning-fast Craft CMS sites with full page caching on Laravel Forge using Blitz

I've recently experimented with the awesome plugin "Blitz", which is a full page caching plugin for Craft CMS that generates static HTML files of your pages, so you can serve them ultra-fast using Nginx or Apache.

Feb 01. 2019 · by Helge Sverre
How to integrate Hubspot with CraftCMS

Hubspot is a marketing automation suite of tool that allows marketers to create landing pages, blog posts, hosted lead forms, and also comes with a CRM system, when a company is already using Hubspot to power their content marketing, but are looking to refresh their website, they might want to integrate the existing content from their HubSpot portal into their new website, we at Guilty encountered this with one of our latest project, and thought we might as well build a plugin for this that can be used by our self and others in the future to make this task a bit easier.

Jan 30. 2019 · by Helge Sverre
How to disable Craft CMS updates

Depending on your own and your team's workflow, disabling the ability for clients and developers to update the CMS and plugins in a production environment might be a smart thing to do to simplifiy your deployment strategy, here is how.

Jan 27. 2019 · by Helge Sverre
What is with the underscore in twig template filenames?

If a twig template has an underscore in the filename, it means that the template can not be viewed directly by going to mysite.com/templatename, useful for template files that are only included or used when there is an entry variable as not having this variable populated by craft will cause a template error.

Oct 07. 2018 · by Helge Sverre
How to generate a link to a single in Craft CMS

Figure out how to reliably link to a "single" channel entry, useful to know in a multi-language project

Aug 06. 2018 · by Helge Sverre
How to disable user lockout in Craft CMS

Whether in development or in production, being locked out of your account is a pain in the ass, if you for some reason want to remove or change the settings that controls user lockout in Craft CMS, here is how.