Hi,
I've got a lot of problems with installing templates on master/slave site because I started with slave site, then master site, then the other way around, and on the slave site the templates are not found.
In fact I've the following configuration. My slave site templates directory is not a link but a directory, and all templates inside it are directory as well. This is because when I create the slave, a copy with created. So far, so good.
Note that the "template_style" database table is not shared (not a view) as one could expect.
What is the procedure to install a NEW template.
Let's say both on the slave and master, or on the slave only, or on the master only.
Since they are seperated "templates" directory and separated "template_style" database table one would expect no problem.
HOWEVER when I try to install the template on the slave, there is no error, but the template files do not go to the slaved directory. So obviously this does not change anything and the new template is not found at runtime although it is declared in the database, and the installation process when normaly.
Here is my configuration.
I've created the slave from a template which have the following options:
$templates['TEMPLATE'] = array(
...
'templates_dir' => '',
...
'symboliclinks' => array( 'administrator' => array( ...
'templates' => array( 'action' => 'copy'),
and I didn't change the template_dir or anything in the slave site description.
|