Hi Matteo, The notion of "Site" is introduced by STK - you can get Collection<Site> info.magnolia.module.templatingkit.sites.SiteManager.getSites()
HTH, -g On 04 Mar 2011, at 16:38, Matteo Pelucco wrote: > > Hi list, > I'm developing a Magnolia module and I want to make it available either to CE > than EE edition.. > In that module, I need to obtain configured Magnolia sites, but the > retrieving is different in CE than in EE. > Nevertheless, ETKModule class is not available in CE and I don't want to have > runtime errors trying to using it. > > How can I do? > A simple try/catch block can help me? > Or there is a better way? > > Thanks for any hint, > Matteo > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
