Guten Morgen,

ich bemühe mich gerade um meine erste extbase/fluid Extension, die in erster Instanz nichts weiter machen soll, als mein Fluid-basierendes Seitenlayout, zusammen mit allen erforderlichen Assets, zu "wrappen" und in Form einer Extension installierbar zu machen.

Dies klappt auch alles wunderbar, bis auf einen Punkt. Ich kann im fluidtemplate Objekt Variablen setzen, die ich im Fluidtemplate nutzen kann, aber ich kann nicht auf meine Settings zugreifen:

plugin.tx_portable_layout {

        view {

                # cat=plugin.tx_portable_layout/file; type=string; label=Path 
to template root (FE)

                templateRootPath = 
EXT:portable_layout/Resources/Private/Templates/

                # cat=plugin.tx_portable_layout/file; type=string; label=Path 
to template partials (FE)

                partialRootPath = 
EXT:portable_layout/Resources/Private/Partials/

                # cat=plugin.tx_portable_layout/file; type=string; label=Path 
to template layouts (FE)

                layoutRootPath = EXT:portable_layout/Resources/Private/Layouts/

        }

        persistence {

                # cat=plugin.tx_portable_layout//a; type=int+; label=Default 
storage PID

                storagePid =
        }

        settings {

                # cat=plugin.tx_portable_layout/links/10; type=int+; label=Root 
Page UID

                rootUid = 1

                # cat=plugin.tx_portable_layout/links/20; type=int+; 
label=Start Page UID

                startUid = 2

                # cat=plugin.tx_portable_layout/links/30; type=int+; 
label=Search Page UID

                searchUid = 3

        }

}

Derzeit besteht meine Extension nur aus einem Namen, einem Ext.Key und der typischen Folder Struktur. Was benötige ich noch, um auf meine eigenen "settings" zurückgreifen zu können?

Danke für alle Hilfe,

Thomas

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an