[TYPO3-mvc] Rendering of content elements in Fluid via TemplaVoila possible?
Peter Niederlag
typo3-list at niekom.de
Sat Feb 5 16:05:00 CET 2011
Hello,
Am 04.02.2011 16:20, schrieb Thomas Brandl:
> Hi Markus,
[...]
> I couldn't find the originating mail for this solution, but if this
> means to layout standard content elements (image, text, table, head
> what-not) w/ Fluid instead of css_styled_content, this would be a major
> thing for us!
>
> Is it what I think/hope it is and could you maybe forward your solution
> again please?
Maybe he was refering to this forum post:
http://www.typo3.net/forum/beitraege/extensions_schreiben/101974/
Anyway it is (pretty easily) possible, but there are numerous different
approaches/possibilities...
... replace the default element?
... additional custom elemnts?
Getting all elements and their full flexibility from csc/TypoScript into
proper fluid-templates IMO would be quite some work. If on the other
hand you dont want that flexibility(because there are just two different
distinct layouts for pictures) then coding the exact project
requirements into fluid-templates seems to be way more efficient and
joyfull.
Getting Domain Objects for tt_content is pretty simple via some TS, I
have put some example here: https://gist.github.com/812499
You just need to add proper classes for the domain model and the
repository, which don't really need any code at all(!), except for the
proper class definition.
Use that in any extbase extension as use like...
hth
Greets,
Peter
--
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
More information about the TYPO3-project-typo3v4mvc
mailing list