Netgen Layouts: Building Pages with Symfony
Unlock the power of CMS with Symfony in this tutorial, which explores how Netgen Layouts can dynamically rearrange pages.
About this course
Netgen Layouts is about having your 🎂 - i.e. any Symfony app - and eating it too... by allowing you to rearrange your pages and mix in dynamic content via an admin area. Yup, your Symfony app & Twig templates + the power of a CMS tacked into the side. And all of this is done in a gently way, without "taking over" your app.
In this tutorial, we'll go from zero to hero by installing Layouts into an existing Symfony app:
- Installing & Setting up Layouts
- Mapping a "Layout" to existing pages
- Including your existing Twig blocks in your layout
- Adding custom "value types" and "query types" so you can embed grids/lists of the custom content from your app
- Customizing "item views": the templates used in grids/lists
- Creating a "content browser" to manually select content from your app
- Pulling content from a CMS - Contentful for our example
- Theming! Powerful and simple way to override templates
- Block Views: customizing how a block renders
- Block Plugins: adding custom options to every block in the system
Layouts is fun: adding a new level of flexibility without changing how you build your app.
Next courses in the Symfony 5: Learn More Tricks section of the Symfony 5 Track!
4 Comments
Hi Johann,
It is coming very soon :) We are finalizing the 1.4 version (which support Symfony 6) and will release it when its ready, should happen in about 2-3 weeks. We will announce it on our newsletter and on our slack, feel free to join the community!
Godness! I didn't know that! It looks really awesome! When do you plan to start this course?
Hey Fabrice,
We're actively working on it right now and plan to start releasing it in the middle of November, but it might be a bit delayed because we're also actively releasing 2 courses right now: Design Patterns and PHPUnit. November is a busy month with the SymfonyCon conference which might reflect our schedule. But we're want to release it this year ;)
Cheers!
Yes! this is awesome! But a little problematic for me. I started a project with Symfony 6.1 and would really like to use Netgen Layouts for this project. I've found a dev version (1.4.x-dev) but nothing about a stable release. Does anybody know about a stable release, compatible with Symfony 6.1 (or 6.2 which will be released very soon)?