By Date: <-- -->
By Thread: <-- -->

[XAR2] Proposal for directory layout reorganisation



Brian Bain wrote:
> I want to be able to install "myModule" in all my websites and on all my 
> databases.  I install it in /install/modules/myModule .
>
check

> On X.com I want myModule to display its output as B,A instead of the 
> default A,B.  I upload a template override to 
> /X.com/modules/myModule/templates/user-display.xt .
> 
maybe

> I now want to change the theme on X.com from xTheme to yTheme.  I 
> install yTheme to to /install/html/themes/yTheme ( or to 
> /X.com/html/themes/yTheme/ if I only want it available to X.com ) and 
> change the setting in the theme module to use yTheme .
>
check

> 
> And now my site is in yTheme with the output still displaying B,A 
> instead of the default A,B?
>
Good point actually. I myself hadnt thought of this possibility. By 
splitting the framework in a global and instance environment there is 
indeed the possibility to do template overrides which span all themes 
applicable for that instance(-site). :-)

> 
> If this is the case, I love it!
>
No promises, but this note certainly goes in...

> The only remaining issue is that sometimes I want to make changes to all 
> the sites on my install, and yet still upgrade and keep my changes.  In 
> this scenario I think I would have to copy my changes to each 
> instance.   But after upgrade they should still remain, which is a plus!
Yes, the only way (assuming you want to work with one global install) 
to manage this is running the global install out of a version control 
system like monotone, so you can upgrade the code in a controlled way 
and merge your local adaptations with what the upstream upgrade gets you.

marcel
_______________________________________________
Xaraya_devel mailing list
Xaraya_devel (at) xaraya.com
http://xaraya.com/mailman/listinfo/xaraya_devel