Foros de discusión
CMS - Update same content for multiple templates automatically
tarina e e, modificado hace 11 años.
CMS - Update same content for multiple templates automatically
New Member Mensajes: 23 Fecha de incorporación: 15/11/09 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.
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, modificado hace 11 años.
RE: CMS - Update same content for multiple templates automatically
Regular Member Mensajes: 145 Fecha de incorporación: 31/01/11 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
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, modificado hace 11 años.
RE: CMS - Update same content for multiple templates automatically
New Member Mensajes: 23 Fecha de incorporación: 15/11/09 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.
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, modificado hace 11 años.
RE: CMS - Update same content for multiple templates automatically
New Member Mensajes: 23 Fecha de incorporación: 15/11/09 Mensajes recientes
Can anyone please help with this?
Is it possible at all?
Thanks.
Is it possible at all?
Thanks.
Gaurav Jain, modificado hace 11 años.
RE: CMS - Update same content for multiple templates automatically
Regular Member Mensajes: 145 Fecha de incorporación: 31/01/11 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?
(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?