Ticket #3588 (new New Feature)
Templates plugin: no option to load from xml file
| Reported by: | alfonsoml | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | SVN (CKEditor) - OLD |
| Keywords: | Discussion | Cc: |
Description
Currently the templates plugin only allows to load the data from a js file without an option to use a XML like v2.
This has some drawbacks:
- It's not possible to reuse existing templates. Asking the people to rewrite their templates can be a big issue as it might involve other tools that they had setup to provide custom templates for each client.
- A json file is more complex to write correctly than a XML. To verify that a XML file is valid they just have to open it in the browser, and it will point to any error. Validating the js file will be more complex and I guess that most of the people will follow the trial and error approach, leading to frustration as now they have to learn the javascript rules in order to make it work.
- Managing XML files seems easier to me. I think that any framework has tools to read/write xml files, merging them, etc...
So I suggest to improve the templates plugin allowing to load templates from XML files with the syntax from V2.
Change History
Note: See
TracTickets for help on using
tickets.
