changing gallery default view

serbanc

Joined: 2006-05-19
Posts: 314
Posted: Sun, 2007-11-11 14:37

I am trying to develop a "homepage" module for G2.
Can someone tell me how (or is it possible ?) to change GALLERY_DEFAULT_VIEW constant within a module ?
What I want to achieve: if "homepage" module is installed and active (configured), the default view of gallery goes to this module.

Thanks,
serbanc - www.e-poze.ro

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-11-11 14:52

no, one can't set the default view from a module yet. you need to change its value in modules/core/classes/GalleryConstants.class.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
serbanc

Joined: 2006-05-19
Posts: 314
Posted: Sun, 2007-11-11 18:43

thx for your quick answer.

serbanc - www.e-poze.ro