Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Problem on Import resources Liferay 7
Hi!
I am working with Liferay 7 DXP and a theme with resources importer.
Inside resources importer we have structures and templates. When we deploy the first time the theme, all templates are updated in Database and we have well sinced database tamplates with templates code in theme.
The second time, when templates already exist in Database, the templates are not updated. What I saw is that when the import happens liferay has two differents elements for one template in table DDMTemplate.
One is for template site id -> which has the field "script " with freemarker updated data
Second is for specifically group site id -> which has the field script with freemarker old data. This site belongs to the above tempate site type.
So the question is, what is the expected behavior on this case? The import resources should update the template related to the template site? and after that how is this info loaded to the corresponding group site?
Thanks!
I am working with Liferay 7 DXP and a theme with resources importer.
Inside resources importer we have structures and templates. When we deploy the first time the theme, all templates are updated in Database and we have well sinced database tamplates with templates code in theme.
The second time, when templates already exist in Database, the templates are not updated. What I saw is that when the import happens liferay has two differents elements for one template in table DDMTemplate.
One is for template site id -> which has the field "script " with freemarker updated data
Second is for specifically group site id -> which has the field script with freemarker old data. This site belongs to the above tempate site type.
So the question is, what is the expected behavior on this case? The import resources should update the template related to the template site? and after that how is this info loaded to the corresponding group site?
Thanks!
I already could fixed.
Seems the propagation from Site template to Site was disabled.
When enabled this and deploy theme with temaplates were imported ok
Seems the propagation from Site template to Site was disabled.
When enabled this and deploy theme with temaplates were imported ok
Seems is not working.
FTL templates from Resources importer were loaded ok in Site template.
But for some reason the FTL template files included in the site are not updated. Even when the site has the option "propagation" activated.
Anyone with some idea why propagation of templates is not working?
FTL templates from Resources importer were loaded ok in Site template.
But for some reason the FTL template files included in the site are not updated. Even when the site has the option "propagation" activated.
Anyone with some idea why propagation of templates is not working?
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™