For several reasons, including content translation, I had to create a simple CMS to display the pages of my Symfony2 application.
Now my problem is that the seams cannot display content from a string. Twig only accepts files. My content may contain dynamic parts such as locale or similar, so rendering the branch power will be very useful.
I tried to display it using a TwibstringBundle , but its functionality is quite limited and does not work with the path function.
Any suggestions to solve the problem?
source share