This document discusses Phoenix, the next generation TYPO3 CMS built on FLOW3. It provides an overview of Phoenix, demonstrates content modeling and organization using site packages, and introduces the use of TypoScript and Fluid templates to render content. Instructions are given for obtaining Phoenix from the TYPO3 git repository.
3. Christian Müller
TYPO3 Freelancer
TYPO3 Phoenix and FLOW3
Core Team Member
Book and Music Freak
twitter: daskitsunet
christian.mueller@typo3.org
Tuesday 26 June 12
4. Phoenix?
• Next generation Content Management
System from the TYPO3 community
• build on top of FLOW3 as framework
• Content Repository approach
• Aloha editor
• alpha, estimated arrival later this year
Tuesday 26 June 12
7. typo3.org
en_EN en_EN en_EN
homepage section:main maincontent
Lorem ipsum dolor sit amet
en_EN en_EN
section:side sidecontent
Lorem ipsum dolor sit amet
de_DE de_DE
section:side sidecontent
Lorem ipsum dolor sit amet
Tuesday 26 June 12
9. Current TYPO3
• missing a clean structure for templates
• fileadmin in TYPO3 mixes templates and
user data
• no defined folder structure
• TypoScript in files and/or database
Tuesday 26 June 12
14. Fluid Templates
• as used by extbase
• contain your page layout
• used by TypoScript
Tuesday 26 June 12
15. Sites.xml
• Contains Page and Content Structure
(Nodes)
• At the moment needed for initial setup of
your node tree
Tuesday 26 June 12
16. TypoScript
• Convention over Configuration
• no TypoScript in database
• Sub directories as in Node Hierarchy to
add extension templates
Tuesday 26 June 12
17. TypoScript 2
Quick Introduction
Tuesday 26 June 12
19. Content
TypoScript
page.body.sections.main = TYPO3.TYPO3:Section
page.body.sections.main.nodePath = 'main'
HTML
<f:section name="body">
<ts:renderTypoScript path="sections/main" />
</f:section>
Tuesday 26 June 12
20. Menu
TypoScript
page.body.parts {
menu = TYPO3.TYPO3:MenuRenderer
}
HTML
<f:section name="body">
<ts:renderTypoScript path="parts/menu" />
</f:section>
Tuesday 26 June 12
22. Getting Phoenix
git clone git://git.typo3.org/TYPO3v5/↵
Distributions/Base.git Phoenix
cd Phoenix/Packages/Application
git clone git://git.typo3.org/FLOW3/Packages/↵
TYPO3.SiteKickstarter.git
setup a virtual host pointing to “Web” directory, so apart from the
repository much the same as installing FLOW3 from git
or use the virtual machine
Tuesday 26 June 12