Several templates for the same album

YvesTan

Joined: 2005-03-11
Posts: 1
Posted: Fri, 2005-03-11 11:01

Hello,

Is it possible with Gallery 2 Beta1 to have several templates for the same album. The templates could change based on a parameter in the URL or on the domain name used.

My other question : Is it possible to create an album that uses elements from other albums ?

Thanks for your answers.
YvesTan

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-03-11 16:03

we don't have support for anything like that now, but it's certainly possible. fetchLayoutId in modules/core/classes/helpers/GalleryItemHelper_simple.class gets the id of the layout to use.

"elements" from other albums? if you mean items (photos, movies, etc) then yes.. find the item you want to include and do "create link" to create an item in another album that uses the same data file.