[Solar-talk] help with new dir structure
Jeff Surgeson
solar at 3hex.com
Mon Mar 10 08:31:51 CDT 2008
On Monday 10 March 2008 14:29:22 Rodrigo Moraes wrote:
> On Mon, Mar 10, 2008 at 9:08 AM, Jeff Surgeson wrote:
> > My problem is this:
> > If I try and use the Vendor_App_News application class in Site1, as it
> > is extended from Vendor_App_Base and not Site1_App_Base it loads the
> > Vendor_App_Base_Layout templates and not Site1_App_Base_Layout templates.
>
> Hi Jeff,
> Try something like this. In Vendor_App_Base, add a config key
> 'template_path', and then add that path in _setLayoutTemplate():
>
> I'm not sure this exactly will work or if it is the simplest way, but
> it can give you a clue on how to get the flexibility you want. :)
Hi Rodrigo, yes it does solve most of the problem at least it now loads from
the Site1_App_Base_Layout as well, thanks.
I just need to find a way to get it to inherit the site specific stuff from
Site1_App_Base.
--
...........::::::...........
Jeff Surgeson / South Africa
More information about the Solar-talk
mailing list