Hi All There may be a need for people to convert a template to template::toolkit so they can send a patch that will apply cleanly.
To do so checkout a branch based on commit d4cd05126da3accef83144d8322fcd455d7eba9b eg git checkout -b convert_templates d4cd05126da3accef83144d8322fcd455d7eba9b Now you have a branch with both sets of templates, you can then cherry-pick your template change over. And run ./installer/html-template-to-template-toolkit.pl --koharoot /path/to/the/root This will convert all the templates, if you want to just convert 1 use -f eg ./installer/html-template-to-template-toolkit.pl --koharoot /path/to/the/root -f koha-tmpl/opac-tmpl/prog/en/modules/ilsdi.tmpl So for me ./installer/html-template-to-template-toolkit.pl -c --koharoot /home/chrisc/git/koha/ -f koha-tmpl/opac-tmpl/prog/en/modules/ilsdi.tmpl Then that file will be in the koha-tt dir and you will now have a converted file. Hope this helps Chris -- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand
signature.asc
Description: Digital signature
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/