/** * Form the path to an exhibit's custom theme assets. * * @param NeatlineExhibit $exhibit The exhibit. * @return string The theme path. */ function nl_getExhibitThemeDir($exhibit) { return nl_getPublicThemeDir() . "/exhibits/themes/{$exhibit->slug}"; }
/** * Set the directories in which to look for layer definition files. */ function nl_setLayerSources() { Zend_Registry::set('layers', array(NL_DIR . '/layers', nl_getPublicThemeDir() . '/layers')); }