custom header in multitenant application

Go To


I have a multi-tenant application with a custom header, basically the logo of the customer and some links are in there.

The header is visible in most modules, but needs to read the logo settings from the database. How do I organise this best?

If I use a component, I have to paste it into all modules. Can I centralise a slot better?

2012-04-04 01:29
by jdog


You have 2 options.

First, a component_slot (link goes to 1.2 documentation but it's ok in 1.4). You defined it in for an app and you can re-define it for a specific module.

Second, a basic component. It will perform always the same thing and you can't re-define it. You don't have to paste it in all module, you can call a component from a module X in the template of module Y.

2012-04-04 06:31
by j0k