Suppressing Unused Framework Templates from "New File" Dialog
-
- Posts: 8
- Joined: Mon Feb 24, 2025 12:19 pm
Suppressing Unused Framework Templates from "New File" Dialog
Hi,
We are using the DocBook format to maintain our content and have a framework in place that displays our templates in the "New File" dialog. However, the dialog currently shows templates for other formats such as DITA and XHTML, which we do not use.
Is it possible to suppress these additional templates? I understand that frameworks can be added or removed via the Frameworks GUI, but I’d like to confirm whether it is safe and effective to remove frameworks like DITA and XHTML. If we remove them, will their associated template folders also be removed from the "New File" dialog?
I’ve attached an image for reference. The marked folder represents our framework templates (note: the actual folder name differs; this is just for illustration). Ideally, we’d like to remove all other folders and have only our template options appear directly in the "New File" menu.
Dinesh
We are using the DocBook format to maintain our content and have a framework in place that displays our templates in the "New File" dialog. However, the dialog currently shows templates for other formats such as DITA and XHTML, which we do not use.
Is it possible to suppress these additional templates? I understand that frameworks can be added or removed via the Frameworks GUI, but I’d like to confirm whether it is safe and effective to remove frameworks like DITA and XHTML. If we remove them, will their associated template folders also be removed from the "New File" dialog?
I’ve attached an image for reference. The marked folder represents our framework templates (note: the actual folder name differs; this is just for illustration). Ideally, we’d like to remove all other folders and have only our template options appear directly in the "New File" menu.
Workflow (12).png
Thanks,Dinesh
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9473
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Suppressing Unused Framework Templates from "New File" Dialog
Hello Dinesh,
In the Oxygen Preferences->"Document Type Association" page there are a number of enabled document type associations. Each one may contribute new file templates which appear in the "File->New" wizard dialog. If you start for example to disable the "DITA" and "DITA Map" document type associations in the "Document Type Association" page, then save the preferences, the "File->New" wizard dialog should no longer contain "DITA" templates.
Some new file templates are marked as "Popular" and appear further up.
If you look in "OXYGEN_INSTALL/frameworks/dita/templates/topic/Topic.properties", it is a properties file placed next to the new file template, having the same name but the ".properties" extension and it has "tags=popular". This particular tag value makes it appear in the "Popular" folder.
Regards,
Radu
In the Oxygen Preferences->"Document Type Association" page there are a number of enabled document type associations. Each one may contribute new file templates which appear in the "File->New" wizard dialog. If you start for example to disable the "DITA" and "DITA Map" document type associations in the "Document Type Association" page, then save the preferences, the "File->New" wizard dialog should no longer contain "DITA" templates.
Some new file templates are marked as "Popular" and appear further up.
If you look in "OXYGEN_INSTALL/frameworks/dita/templates/topic/Topic.properties", it is a properties file placed next to the new file template, having the same name but the ".properties" extension and it has "tags=popular". This particular tag value makes it appear in the "Popular" folder.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service