Typo3 themes

29
TYPO3 Themes - Ispiring people to share design TYPO3 Themes Ispiring People to share designs Cristian Buja

Transcript of Typo3 themes

Page 1: Typo3 themes

TYPO3 Themes - Ispiring people to share design

TYPO3 ThemesIspiring People to share designs

Cristian Buja

Page 2: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Page 3: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Themes

2013

Page 4: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Dipendenze di “Theme Bootstrap” (required extensions)

Themes Bootstrap

Themes Gridelements

Gridelements

Themes

Static Info Tables

Dyncss less

Dyncss

Page 5: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Ereditarietà di “Theme Bootstrap”

Themes

Static Info Tables

Themes Gridelements

Gridelements

Themes Bootstrap

Dyncss less

Dyncss

Page 6: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Themes

Creare l’oggetto PAGE

Configurazione TypoScript automatica delle lingue

Inclusione automatica di TSConfig, TypoScript

Campi aggiuntivi (icone, behaviour, responsive, variants)

Costanti TypoScript editabili dal modulo backend anche per non Admin

Page 7: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Templates “themes”

page = PAGE

page {

typeNum = 0

100 = USER

100 {

userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run

...

settings =< plugin.tx_themes.settings

persistence =< plugin.tx_themes.persistence

view =< plugin.tx_themes.view

}

}

Page 8: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Variabili “themes” in css_styled_content (TYPO3 6.2)

KayStrobach\Themes\Frontend\CssClassMapper->mapGenericToFramework

responsiveMapping =< lib.content.cssMap.responsive

responsiveRowMapping =< lib.content.cssMap.responsive.row

responsiveColumnMapping =< lib.content.cssMap.responsive.column

behaviourMapping =< lib.content.cssMap.behaviour

specialBehaviourMapping =< lib.content.cssMap.behaviour.<element>

variantMapping =< lib.content.cssMap.variants

iconMapping =< lib.icons.cssMap

Page 9: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Variabili “themes” in css_styled_content (TYPO3 6.2)

ES: tt_content.stdWrap.innerWrap.cObject.default.20 (COA)

40 = TEXT

40 {

dataWrap =

{field:tx_themes_responsive},{field:tx_themes_behaviour},{field:tx_themes_variants}

postUserFunc = KayStrobach\Themes\Frontend\CssClassMapper->mapGenericToFramework

postUserFunc {

responsiveMapping =< lib.content.cssMap.responsive

behaviourMapping =< lib.content.cssMap.behaviour

variantMapping =< lib.content.cssMap.variants

}

}

Page 10: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Variabili “themes” in fluid_styled_content (TYPO3 7.6)

KayStrobach\Themes\DataProcessing\ThemesVariantsDataProcessor

KayStrobach\Themes\DataProcessing\ThemesBehaviourDataProcessor

KayStrobach\Themes\DataProcessing\ThemesResponsiveDataProcessor

KayStrobach\Themes\DataProcessing\ThemesResponsiveColumnDataProcessor

KayStrobach\Themes\DataProcessing\ThemesIconDataProcessor

Page 11: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Variabili “themes” in fluid_styled_content (TYPO3 7.6)

ES: tt_content.stdWrap.innerWrap.<element> (FLUIDTEMPLATE)

dataProcessing {

30 = KayStrobach\Themes\DataProcessing\ThemesVariantsDataProcessor

40 = KayStrobach\Themes\DataProcessing\ThemesBehaviourDataProcessor

50 = KayStrobach\Themes\DataProcessing\ThemesResponsiveDataProcessor

60 = KayStrobach\Themes\DataProcessing\ThemesIconDataProcessor

}

Page 12: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Variabili “themes” in fluid_styled_content (TYPO3 7.6)

Fluid styled content non è ancora completamente

supportata, occorre quindi implementare i

layouts,templates e partials.

Page 13: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Variabili “themes” e il mapping CSS

lib.content.cssMap.responsive {

...

medium-default =

medium-hidden = hidden-

md

...

}

lib.icons.cssMap {

alert = glyphicon glyphicon-

alert

}

Page 14: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Variabili “themes” e il backend

themes.content.responsive.default {

...

medium.visibility {

default = LLL:EXT:theme_bootstrap/...

hidden = LLL:EXT:theme_bootstrap/…

}

...

}

TCEFORM.tt_content.tx_themes_icon.addItems {

}

Page 15: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Variabili “themes” e il backend

Page 16: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Themes Gridelements

Configurazione “backend layout”

Configurazione “gridelements”

Page 17: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Layout di pagina “themes_gridelements”

14 layouts con 4 aree di contenuto

content

colPos = 0

menu

colPos = 1

sidebar

colPos = 2

feature

colPos = 3

Page 18: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Contenuti di “themes_gridelements”

11 tipi di contenuti

contenitore

○ 2 colonne

○ 3 colonne

○ 4 colonne

○ ...

○ tabs

○ accordion

Page 19: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Page 20: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Theme Bootstrap

Implementazione dei templates di pagina e di contenuto

Page 21: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Variabili “themes” e il backend

Page 22: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Tema derivato “theme_bootstrap_t3conitalia”

Page 23: Typo3 themes

TYPO3 Themes - Ispiring people to share design

“theme_bootstrap_t3conitalia”

Page 24: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Fluid Templates Manager “ftm”

Extension builder per i temi ?

Page 25: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Fluid Templates Manager “ftm”

Page 26: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Fluid Templates Manager “ftm”

Page 27: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Fluid Templates Manager “ftm”

Page 28: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Fluid Templates Manager “ftm”

http://bitbucket.org/interadev/theme_bootstrap_t3conitalia

Page 29: Typo3 themes

TYPO3 Themes - Ispiring people to share design

Grazie !