Control template when embedding!

Mattias

Joined: 2004-08-09
Posts: 3
Posted: Tue, 2006-04-18 08:54

Hi!

I want to use a certain template when I access Gallery2 thru my embedding application, and I want Gallery to use it's own template configuration when I'm accessing it as "stand alone". Is there anyway to force a certain template thru the embed API?

//Mattias

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2006-04-19 05:15

nope, not yet.
you can hack it though by creating your own theme that switches between two existing themes based on GalleryUtiltiies::isEmbedded() .