hey!
I would like to set up the new jyve system such that each
project (e.g. to lists, faqs, receipe collections, etc) can
have it's own L&F.
I've come up with 2 solutions:
1. give each project it's own template hierarchy. So for exaple,
the faq templates would be under templates/faq/{nav,layouts, screens}
and the todo list might be under templates/todo/{nav, layouts, screens}
So, I need to change the following two properties on every request
depending what project is being accessed:
services.TurbineTemplateService.template.path
services.TurbineVelocityService.templates
the default would be
services.TurbineTemplateService.template.path=/templates/gjyve
services.TurbineVelocityService.templates=/templates/gjyve
To implement this I will need a way to change the vTemplates
property in TurbineVelocityService and templateRoot in
the TurbineTemplateService.
Assuming I add the methods to do the above, At what point can
can I set the properites before any processing is done? That is
where do I place the code to do the switching such that it gets
called first on each request?
2. An easier but less flexible way would be to have a single template
hierarchy but allow only the main screen Template to change. So you
are stuck with one layout for all your projects.
Any other ideas or suggestions?
thanks
mike
-------------------------------------------------
I am Vinz, Vinz Clortho. Keymaster of Gozer,
Volguus Zildrohar, Lord of the Sebouillia.
Are you the Gatekeeper?
-------------------------------------------------
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]