38 private links
A modern way of building, maintaining and documenting your visual driven twig components in storybook with an automated and opinionated integration workflow for your CMS.
Generate ACF Gutenberg blocks just by adding templates to your Timber theme.
Conifer is a library plugin for creating WordPress plugins and themes using an opinionated object-oriented architecture, built on top of the amazing Timber plugin.
Powerful component libraries & styleguides that fit the way you work.
Storybook alternative for PHP/Twig
At PNX, style guide driven development is our bag. It’s what we love: building a living document that provides awesome reference for all our front end components. And Drupal 8, with its use of Twig, complements this methodology perfectly. The ability to create a single component, and then embed that component and its markup throughout a Drupal site in a variety of different ways without having to use any tricks or hacks is a thing of beauty.
I need to take control over the rendering of a field_tags field in a node.html.twig template.
{% for key, item in content.field_tags if key|first != '#' %}
<div class="item-{{ key + 1 }}">{{ item }}</div>
{% endfor %}
certainlyakey starred MINDKomm/timmy
I have read the docs at https://github.com/jarednova/timber/wiki/Extending-Timber but it doesn't say where to add the file and then how to reference the file.
certainlyakey starred timber/starter-theme
We have been loving learning Drupal 8’s theming system over the last year. Drupal 8 core now uses the Twig template engine, which is a fast, flexible, and secure system that allows use to create the markup needed for the modern web.
What you can do with Drupal core’s Twig is pretty great, but the Drupal community always brings so much more to the table after real world use. We don’t use them all, all of the time, but have used many as our design and development needed. Here are our favorite modules to help build out your Drupal themes.
ACF PRO should be updated when you run composer update now.
Please let me know if you have any problems when you use this procedure. Please provide the content of your composer.json file to make debugging easier.
certainlyakey starred nclud/wp-timber-cli
Create responsive, mobile first WordPress websites using the Timber library and Advanced Custom Fields.
As Partner and Technical Lead, I encourage my employees to always be learning with an eye on improving the quality and efficiency of what we deliver to our clients. As an agency, it can be difficult to lock down a workflow. Each project can be vastly different. Yet, we still need to align our workflows and development environments as much as possible to ensure productivity is at its peak. sd
This guide was created to manage varying client work. I’ve spent most of my days recently inside of Vagrant machines banging on Python (Django) and Ruby (Rails). While utilizing MVC patterns and Foundation. Working in these true development environments opened my eyes to where our WordPress workflow failed. This post details how we built an efficient and repeatable workflow for teams developing on WordPress.
certainlyakey starred victor-in/Craft-TwigTypeTest
certainlyakey starred fromtheoutfit/navee
twigfiddle.com's aim is to provide a small development environment to develop, run, store and access Twig code online.
Twig doesn’t refer to a key, value array as an array. It calls it a hash.
Anyway, this post isn't about how awesome Craft is (which it is), it's about a piece of auspiciously missing documents: how to create your own Twig filter inside of craft!
Presenting a faster, easier and more powerful way to build themes. Because WordPress is awesome, but the loop isn't.