Request: change structure of templateDetails.xml

Request: change structure of templateDetails.xml was created by Boradan

Posted 9 years 6 months ago #23294
would there be any chance of you changing the way the templatedetails.xml file is created?
Its a pain having to manually add image files or css files to it.

You could simply use the format:
Code:
<files> <folder>css</folder> <folder>img</folder> <folder>images</folder> <file>index.html</file> <file>index.php</file> <file>templateDetails.xml</file> <file>template_preview.png</file> <file>template_thumbnail.png</file> </files>

You only need to name files that are in the root of the template.
You can skip naming all the css and image files by simply naming the folders in which they are stored. This way, you can add images to the image folder and they will be correctly installed without having to modify the templatedetails.xml file

Regards,

Andy
by Boradan

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Request: change structure of templateDetails.xml

Posted 9 years 6 months ago #23296
Hi
I know this way to do, I use it manually
The software will automatically list all files and add them here.
Not sure if I can easily change this without generating other problems.
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by Boradan on topic Request: change structure of templateDetails.xml

Posted 9 years 6 months ago #23300
Would it be easier to just include ALL images put into the images folder and all css files put into the css folder in the project when creating a template?
by Boradan

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Request: change structure of templateDetails.xml

Posted 9 years 6 months ago #23303
I will check how to manage this

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.645 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 563 guests and no members online