|
From: Justin F. <je...@ey...> - 2001-06-29 07:56:48
|
Alex:
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.
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?
Regards,
--
Justin Farnsworth - Technical Director
Eye Integrated Communications
321 South Evans - Suite 203
Greenville, NC 27858 | Tel: (252) 353-0722
|