Different themes in embed mode
gmuer
Joined: 2002-09-02
Posts: 44 |
Posted: Tue, 2006-05-30 09:40 |
Hello I have started to make an extension for TYPO3, now I would like to have different themes in Backend Mode and in Frontend Mode of TYPO3. Is there a function where I didn't find to switch themes? I am wondering, that nobody has already started to make a ext for T3. Is there a problem, where I didn't see until now? Greets and thanks |
|
Posts: 8601
yes, that answer is still correct. modules/core/classes/helpers/GalleryItemHelper_simple.class function fetchThemeId is where you could put a isEmbedded check and return a different theme.
Posts: 44
Thanks mindless
But I don't use G2 as standalone anymore (embed in TYPO3). I would like to embed in one page as full Gallery (with the albums chooseable > i.e. Matrix) and in an other page a special album direct as full slideshow > i.e. Diaprojektor.
I would like to choose the theme dynamically over embed mode.
Greets
Marcel
Posts: 8601
doesn't matter.. that's still the place to put whatever logic you like. The only logic there now is "use album's theme setting, or use site default theme if none".