Hello.
Any chances to have a better integration of TWIG ?
e.g. To render Joomla articles from twig files. In Wordpress is possible if you use Timber, they have a bit different approach. Or if there's any other alternative ?
Twig is pretty cool and some of developers prefers to use it, although i am not that sure how to use it with Joomla.
https://github.com/jarednova/timber/wiki/Timber-docs#get_posts
You could do it at the component level today (FOF3 supports Laravel's Blade that way). But if you really wanted to use a "real" templating engine in Joomla, there'd have to be a lot of discussion and a lot of refactoring of the existing rendering mechanisms to do it.
No. JDocument and Twig (or any third party renderer) are incompatible.
Category | ⇒ | Feature Request |
Labels |
Added:
?
?
|
The tentative planning for Joomla does not include support for twig.
From a resources standpoint the core will focus on Bootstrap 2 + 3 or 4.
So there can be 1..n "Joomla renderers" that take the "Universal Content Tree" and convert it to output, typically HTML
The planned J4 should have de possibility to add any custom renderer twig etc. So that custom renderer would wrap the twig renderer that by itself may use Bootstrap or ?? to output the HTML. This would however imply that views need to be supplied for your redering engine for all core stuff and any extensions you are using.
If someone steps up and want to do that and hand that to core we can discuss that
( hope this update takes aways some of the confusion )
Milestone |
Added: |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-07 15:04:41 |
Closed_By | ⇒ | brianteeman |
Status | Closed | ⇒ | New |
Closed_Date | 2016-05-07 15:04:41 | ⇒ | |
Closed_By | brianteeman | ⇒ |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-07 15:07:30 |
Closed_By | ⇒ | brianteeman |
Status | Closed | ⇒ | New |
Closed_Date | 2016-05-07 15:07:30 | ⇒ | |
Closed_By | brianteeman | ⇒ |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-07 15:20:53 |
Closed_By | ⇒ | mbabker |
Status | Closed | ⇒ | New |
Closed_Date | 2016-05-07 15:20:53 | ⇒ | |
Closed_By | mbabker | ⇒ |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-07 15:22:39 |
Closed_By | ⇒ | joomla-cms-bot |
I doubt you can integrate it into Joomla 3. But as far as I remember it's a topic for Joomla 4.