[opencms-dev] Does OpenCMS support multiple sub-domains using a single template?

Yves Glodt yg at mind.lu
Wed Aug 29 09:45:46 CEST 2012


You can create a template which resides in a module, and so it's available
to all the sites.

Just make sure your module has a folder called "templates". All the JSPs in
that folder are available to all the sites.

Then, the /shared folder probably also comes in handy.

On 29 August 2012 02:43, Gary Gardner <gary.c.gardner1959 at gmail.com> wrote:

> If I want to use OpenCMS to support multiple sub-domains with their own
> logos, colors, etc, can this be done using the same Model/templates or will
> I need to copy the Model and templates to each sub-domain?
>
> Essentially all the sub-domains will have pretty much the same
> functionality, but they will have different branding.  Can this be done
> without having to replicate things for each new sub-domain?
>
> Additionally, can the same thing be done where they are different
> domains.  For instance, let's say that joyride.com and joyriders.compoint to the same ip, but their branding should be different, but the
> branding will be different.  The structure will stay the same as far
> header, footer, navigation, 1, 2 or 3 content areas.
>
> Each domain and sub-domain control their own content and branding but not
> the layout.  Is this possible?
>
> I know it's the same question, just phrased a different way in case there
> was confusion.
>
> Thanks in advance.
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120829/b16933df/attachment.htm>


More information about the opencms-dev mailing list