Creating an Age Drop-down with Twig range()
Even though Twig is just (just) a templating engine for PHP applications (like the super smooth Craft CMS), it can also do lots of “programmy” things on its own, too. Ryan Irelan
Even though Twig is just (just) a templating engine for PHP applications (like the super smooth Craft CMS), it can also do lots of “programmy” things on its own, too. Ryan Irelan
Macros are the Twig version of functions. Just like you would write a function in PHP to do something and return something, you can use a Twig macro to generate some output. Ryan Irelan
Twig doesn’t refer to a key, value array as an array. It calls it a hash. Mijingo
Templating in Craft using Twig can, at first, be a little confusing. If you, like me, come from other systems that have a proprietary template tag system, then it might take a little time to wrap your head around how Craft and Twig work. Ryan Irelan
If you want to work with Craft Client or Craft Pro but – for one reason or another – don't have the appropriate Craft license, Craft supports a way to test out its full features without pulling out your wallet. To get access to Craft Client or Craft Pro for Free, you'll need to take a few steps. Read More »
Ben Parizek
Craft is a young and very capable CMS created by Pixel & Tonic. Craft is developed using open source technologies like PHP and MySQL and is based on a PHP framework with a great track record: Yii. Jérôme Coupé
This plugin demonstrates how to create a new Task in Craft. Pixel & Tonic
I wanted to share my basic .gitignore file for when I'm working on a Craft CMS project. Sometimes I use CodeKit, sometimes I don't but this .gitignore file will take care of CodeKit cache just in case. John Morton
Craft provides several powerful options for you to retrieve content in templates and in plugins. Let's take a look how to query our Entries and other Elements in Twig and in PHP. Read More »
Ben Parizek
Whether you’re familiar with Forge but not Craft, or familiar with Craft but not Forge, it’s worth checking out how simple it is to get a powerful Craft-based site up and running in Laravel Forge. Matt Stauffer
If the title didn’t give it away — Anyone who wants to set up a local development environment using Laravel Homestead 2.0 to develop Craft CMS sites. Matt Collins
Use the power of Craft and Twig to create a context-focused templating system that is as flexible, powerful, and manageable as you need. Anthony Colangelo
A step-by-step guide to implementing Craft and Shopify. Trevor Davis