Latest Articles
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.

Feb 01. 2019 · by Helge Sverre
Connect to databases on Laravel Forge on your local machine

If you're using Laravel Forge as your hosting and provisioning tool, you might come across instances where you need to connect to a remote database via a kocal GUI tool like Sequel Pro or HeidiSQL, but Forge by default only allows SSH connections, here is how to get around it.

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.

Nov 04. 2018 · by Helge Sverre
How to use PurgeCSS with Laravel Mix in a Craft CMS Project.

Quick snippet showing you how to configure laravel-mix-purgecss to work with a CraftCMS project.

Oct 07. 2018 · by Helge Sverre
How to use Bootstrap properly

Bootstrap is a popular CSS framework, you have probably seen it before, I'm going to teach you how to use it properly and how to customize it with Sass variables, so you wouldn't know it was Bootstrap if you glanced at it.

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 12. 2018 · by Helge Sverre
How to disable template caching in dev mode

When actively working on a Craft site, having to clear the template cache manually is cumbersome, here is how to disable it when you're in devMode.