Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2011-01-04 20:33:41

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: edit template files in an external text editor?

bici wrote:

yes. that i was able to figure out. But i was wondering how to make the directories as you suggested :

“ and the enclosed css, forms, and pages directories “ and have it work by PAGE/FORMS??

You have to create the directories on your server, which usually requires shell or FTP access. Here’s what I do in the shell:

$ cd my/document/root
$ mkdir my-template-directory
$ mkdir my-template-directory/css my-template-directory/forms my-template-directory/pages
$ chmod 777 my-template-directory/*

Offline

#32 2011-01-04 20:36:27

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: edit template files in an external text editor?

Change “my-template-directory” to whatever you want to name your template directory. It must be the same path you use for $CNK_VER_OUTPUT_PATH. If you set $CNK_VER_OUTPUT_PATH to 'templates/', “my-template-directory” should be called “templates” and located in your document root.

Last edited by johnstephens (2011-01-04 20:36:43)

Offline

Board footer

Powered by FluxBB