> In my previous _long_ post about my administrative problems,
> it just occurred to me that there seems to be a work-around
> to organize the file tree, to do what I wanted. I haven't
> checked it out yet, but see no reason not to use
>
> -/binarycloud/--+
> |-user--|-the_common_stuff_here
> |
> |-site1-|-mod---
> | |
> |-tmpl--|-html--|-masters
> |-layouts
> |-site2-|-mod---
> | |
> |-tmpl--|-html--|-masters
> |-layouts
> |-site3-|-mod---
> | |
> |-tmpl--|-html--|-masters
> |-layouts
>
> and then, in (as an example) index.php something
> like the following stanza for templates
>
> 'templates' => array(
> 'def' => array(
> 'path' =>
> "../../site_name/tmpl/html/masters/main.3pane.tmpl",
> 'type' => "html",
> ),
> '3pane' => array(
> 'path' =>
> "../../site_name/tmpl/html/masters/main.3pane.tmpl",
> 'type' => "html",
> ),
> '4pane' => array(
> 'path' =>
> "../../site_name/tmpl/html/masters/main.4pane.tmpl",
> 'type' => "html",
> ),
> ),
>
> and similarly, with layouts, do the old
>
> ../../site_name/tmpl/html/layouts/main.layout
>
> trick.
Egh, I'd prefer to directly support what you need with make.
Also, paths no longer exist in template of module paths :)
say helooooo to import.
> I donno. It makes me wonder about the "cost" of PHP/Apache doing
> all that directory work all up and down the line. That is at least
> six directory "searches" for each of those file includes.
>
> Any comments? As an aside, does anybody on this list (worry about)/havv
> these administration concerns?
_a
--
alex black, ceo
en...@tu...
the turing studio, inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
|