Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
tarina e e
CMS - Update same content for multiple templates automatically
17 de marzo de 2013 0:00
Respuesta

tarina e e

Ranking: New Member

Mensajes: 23

Fecha de incorporación: 15 de noviembre de 2009

Mensajes recientes

Hi,
We want to create different templates which uses the same structure. So we will be able to display the same data in different views for different purposes.
Is it possible to load the content once to the structure and all the relevant templates will be updated automatically?
Thanks.
Gaurav Jain
RE: CMS - Update same content for multiple templates automatically
17 de marzo de 2013 6:07
Respuesta

Gaurav Jain

Ranking: Regular Member

Mensajes: 146

Fecha de incorporación: 31 de enero de 2011

Mensajes recientes

Yes, its a default feature in liferay.

However I didn't quite understand what do you mean by :
>>> Is it possible to load the content once to the structure and all the relevant templates will be updated automatically?

Lets say you have added 4 WCDs to a page, and configured same web-content on all 4 WCDs, but with different templates (I mean 4 templates are associated with same structure).
And if you will edit that web-content from any place, data will get changed in all 4 WCDs (because its same content) as per your templates
tarina e e
RE: CMS - Update same content for multiple templates automatically
18 de marzo de 2013 0:13
Respuesta

tarina e e

Ranking: New Member

Mensajes: 23

Fecha de incorporación: 15 de noviembre de 2009

Mensajes recientes

Thanks, but I guess I am doing something wrong, it is not working for me.
This is what I am doing:
1. Defining a structure
2. Defining 2 templates for the same structure
3. Create a new web content for the structure - when doing it, automatically one of the templates is assigned to it. lets say I'm choosing template A.
4. I've added 2 web content display portlets on a portal page, when I am choosing the content I've created, it is already with template A.
5. I'm trying to change the template to template B for one WCD portlet, but when I am doing it, the other WCD portlet template it getting changed too...

How can I change template to only one of the contents?

I am using v 6.1

Thanks.
tarina e e
RE: CMS - Update same content for multiple templates automatically
19 de marzo de 2013 1:23
Respuesta

tarina e e

Ranking: New Member

Mensajes: 23

Fecha de incorporación: 15 de noviembre de 2009

Mensajes recientes

Can anyone please help with this?
Is it possible at all?

Thanks.
Gaurav Jain
RE: CMS - Update same content for multiple templates automatically
19 de marzo de 2013 20:56
Respuesta

Gaurav Jain

Ranking: Regular Member

Mensajes: 146

Fecha de incorporación: 31 de enero de 2011

Mensajes recientes

Can you please mention the exact version of your liferay portal?
(6.1 CE GA1 or 6.1 EE GA1 or 6.1 CE GA2 etc); also can you please attach your portal-ext.properties file here?
And while changing your template selection, do you see any errors or warning messages in logs?