First of all : congratulations for 2.1 release :-) And sequel of problems my solution for using templates from subfolder of module/templating/Templates. I've decided to use template name as a full-path to template - to avoid name conflicts. So I modified Template.addTemplateToCache(Iterator, List) method - I use full-path instead of name.
ti.name = getTemplateAbsolutePath(c); //my method, works fine :-) Select on page Website is properly fulfilled, and Magnolia remember these new "names" (html source use full-path select option values). When I try to show page by "Open page" from magnolia author - works fine for each page. But when I open one page (i.e. /sample/index.html built with template /module/templating/Templates/samples/index-template) and use hyper-reference to page /sample/subpage.html (built with template /module/templating/Templates/samples/subpage-template) information about full-path is lost, and I don't know what is wrong. Aggregator class in method setRequestReceiver() in line: String templateName = this.requestedPage.getMetaData().getTemplate(); gets only short name. Where is the best place to modify this value, I want to modify as small part of code as it's possibly. Please, send me small hint. Thanks in advance Beniamin ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------