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 have found this answer in this forum. Is this still actual?

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
Marcel

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-05-31 00:26

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.

 
gmuer

Joined: 2002-09-02
Posts: 44
Posted: Wed, 2006-05-31 12:22

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

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-05-31 16:25

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".