Import templates from XML file doesn't work
cosmin 269
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Import templates from XML file doesn't work
cosmin
OP
269
From: -
From: -
Thank you, it worked. You may nevertheless want to update the code for 2.2 in order to deal with that kind of code.
1 Re: Import templates from XML file doesn't work
Philipp
From: Austria
Administrator
1342From: Austria
Thanks. The included site_footer template is using a CDATA section inside the code, which breaks the entire XML file.
You can fix it easily by removing the following two lines from the template XML file:
Line 265:
/* <![CDATA[ */
and line 305:
/* ]]> */
You can fix it easily by removing the following two lines from the template XML file:
Line 265:
/* <![CDATA[ */
and line 305:
/* ]]> */
1 Re: Import templates from XML file doesn't work
Philipp
From: Austria
Administrator
1342From: Austria
Can you attach the XML file or send me a PM with a download link?
After that I tried importing it after first creating a template by then name "techpro" first as a copy of the master on the destination site and then trying to import the techpro XML file. This didn't work either, the templates weren't updated with the contents of the XML file.
Please fix it.