How can i change the templates directory ?

Asked by Dorian on 2009-12-04

Hi,

I want create templates (not in /usr/share/quickly) but quickly create ~/quickly-templates/. So how can i create a template directory in an other path ? (exemple ~/.quickly-templates/ or ~/Geek/quickly-templates/)

Question information

Language:
English Edit question
Status:
Solved
For:
Quickly Edit question
Assignee:
No assignee Edit question
Solved by:
Didier Roche
Solved:
2009-12-04
Last query:
2009-12-04
Last reply:
2009-12-04
Best Didier Roche (didrocks) said : #1

Thanks for using Quickly.

Quickly is able to be used from the trunk and an installed packaged version.
The default ubuntu package is using /usr/share/quickly/templates as a template path and an optional ~/quickly-templates directory for your personal templates (you can create a directory there for each templates you want to create).
-> Why using another path? In any case, you can create a symlink from the old to ~/quickly-template path.

If you want to build your own Quickly version, you can specify the data directory with ./setup.py --home=....

Hope this help.

Dorian (ikolpm) said : #2

Thanks Didier Roche, that solved my question.

Dorian (ikolpm) said : #3

So i did : move quickly-templates/ from ~/ to ~/Geek/, create a link to ~/Geek/quickly-templates named quickly-templates, then i created a .hidden file (in ~/) and add quickly-templates in this file.