Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Arbil » Arbil-forum » Using templates II

Using templates II

Up one level

Using templates II

Posted by mmaas at 2010-04-22 11:24  

- how can I delete a template that I don't need anymore?<br><br>- if I make a keyname but no file that the computer could find and I try to add it, the program crashes instead of giving me an error message<br>

Re: Using templates II

Posted by petwit at 2010-05-11 15:15  
At this stage to delete a template you can simply remove its directory. For instance a template named MyTemplate will be found in .arbil/templates/MyTemplate and that is the directory that you can delete to remove the template from the system. With the additions I am working on for Clarin there will also be a template dialogue that will ease (but not automate) the management of templates such as deleting unneeded templates.

I have tried to replicate the issue you described by creating a template and adding a key that does not exist. However I get the appropriate error "No template found for: METATRANSCRIPT.Session.MDGroup.Keys.KeyTest.xml". So I am not sure how to replicate the issue (maybe it has been resolved already?). In my testing I have added the key by inserting the following line into the relevant the template.xml:
<TemplateComponent FileName="METATRANSCRIPT.Session.MDGroup.Keys.KeyTest.xml" DisplayName="KeyTest" />
Peter



mmaas
-2010-04-22 11:24:55
- how can I delete a template that I don't need anymore?

- if I make a keyname but no file that the computer could find and I try to add it, the program crashes instead of giving me an error message
 

Powered by Plone

This site conforms to the following standards: