- Open the file C:\Program Files\Klok\ProjectTemplates.xml (This is for XP or Vista. I'm not sure where this ends up on a mac...If you do, post a comment)
- Copy and paste one of the existing <template>...</template> tags and edit the names of the projects. Notice that the projects can be nested as deeply as you want.
- Restart Klok and your new template will show up in the dropdown when you create a new project.
Let me know if you have any problems with it.
18 comments:
On a Mac its:
Macintosh HD > Applications > Klok
ctrl+click on Klok and select "Show Package Contents"
Once in the Klok package it is: Contents > Resources > ProjectTemplates.xml
Phew... it actually takes longer getting to the file then it takes to edit it and add a new template.
Awesome. I love Klok. It's gotta be the best thing out there right now. Sweet interface too. I'm building a template for Drupal and this article helped a lot.
For me (running OS X Tiger), the klok.dat file is located about where it should be, which is under my home folder:
/Users/[your username]/Library/Preferences/Klok.[some GUID]/Local Store/klok.dat
This is not quite correct. It should be under Library/Application Support/Klok, but perhaps this is an AIR problem.
Linux: /opt/Klok/ProjectTemplates.xml
Awesome, awesome program -- but is it mean for me to note that in the ProjectTemplates.xml file, you spell "Stationery" wrong? :-) "Stationary" describes an unmoving bicycle; "stationery" is the paper.
Thanks for such a great program! (Not being sarcastic, I promise.)
Jeff
What happens if I defined a template, and then create project based on that template, and then modify the template at a later date? What happens to all the data?
Neat. I've been looking for a nice timekeeping app for a while.
I can only see three features that I'd be keen on so far:
- could project templates have default colours for the project nodes?
- can we have a 'nothing' or 'stop' option on the drop down list of recently used projects
- can we have a right click on the list of projects on the left to bring up a context menu - including the option to start that timer.
Those ideas aside, it's a nice little program.
A feature request, could you assign a cost for each Project, then in the properties page and the reports could let you know where you stand with an hourly rate displayed, then you can see how far jobs are blowing out or how much under budget you are.
maybe im a bit dumb, but where to find the prefs?
I have to say is that "I LOVE KLOK." I have just started using 1.5 so I am curious to see how it compares to your previous design. Is there other templates that come with it? Even if there isn't the concept is amazing and you did a great job designing. xoxo lifesaver.
What's UserTemplates.xml for? I edited that file and now none of the templates show up.
I discovered my error -- I didn't notice that the sample entry in UserTemplates.xml has the project tag self-closed.
First time user of Klok:
I am trying to copy a UserTemplates.xml from a windows XP install to a MAC OS 10.5.7 install. Klok ver1.0 on MAC on WXP is 1.5.1 RC1.1
I can see the template in the WXP install but when I copy it to ctrl-click on Klok, "Show Package Contents", Contents>Resources, It does not show up when I run Klok again.
I copied the Klok.dat file to /Users/[your username]/Library/Preferences/Klok.[some GUID]/Local Store
After this I can see the template I added but as a Project already. I still cannot use it as a template.
Any Assistance is greatly appreciated.
Hi, This is a great application. Thank you! When making a template is there a way to have a default estimate time?
Thank you again,
Rich
I am trying to cut and paste the xml file for the project template. It allows me to copy but not paste as directed. Is there something I am doing wrong?
On a Mac, with finder active, chose:
Go > Go to Folder (Cmd+Shift G)
enter the file path:
"/Applications/Klok.app/Contents/Resources/"
A bit quicker than navigating manually.
Post a Comment