Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Peter Dimitri
Deploying Theme and Layout in one WAR
3. Mai 2013 04:21
Antwort

Peter Dimitri

Rang: Junior Member

Nachrichten: 48

Eintrittsdatum: 9. Januar 2013

Neue Beiträge

I want to deploy my custom theme together with some needed layout templates in one WAR file. I followed the instructions I found here:

http://liferayui.blogspot.de/2011/01/theme-and-layout-in-one-war-file.html

But somehow these instructions seem to be outdated, as there is no way to include the layout-specific XML into liferay-look-and-feel.xml with Liferay 6.1.1

And what about liferay-plugin-package.properties? Both, the theme and the layout projects have there own file. How should I combine them?

How may I combine a theme-project and a layout-project into one WAR File?
Anonym
RE: Deploying Theme and Layout in one WAR
3. Mai 2013 07:05
Antwort

Anonym

you still can embed a layout inside of theme. Take a look at zoe-brochure https://github.com/liferay/liferay-plugins/tree/6.1.x/themes/zoe-brochure-theme

If you wanted the layout to be a global one package the two war files inside a .lpkg file, it will deploy both war files that are contained inside of it.
Peter Dimitri
RE: Deploying Theme and Layout in one WAR
3. Mai 2013 09:03
Antwort

Peter Dimitri

Rang: Junior Member

Nachrichten: 48

Eintrittsdatum: 9. Januar 2013

Neue Beiträge

Thanks Bradley, I will have a look at the zoe-brochure-theme soon.