Easy HHK

Organization is essential!

So, first factor you need to do is organize your projects. Make certain if these files have been in different folders in various versions that you simply make one folder which has the most recent stable form of each file inside it. One folder to rule all of them! (Yes, I viewed The Lord of the Rings on a lot of occasions.) Within my situation, I've got a documents and records management folder known as local, and under that folder is really a folder known as common-files. That common-files folder also offers folders that other pages may require. There's additionally a folder known as doc_types which holds symbols for a number of document types.

I've got a one file which has all the organization information inside it that other files use. This will make templating much simpler. Rather than needing to type Acme Widget Company I have to type management system document and also the server will place it set for me. Some files curently have that information, for instance the ease of access statement is identical aside from the title of the organization, to ensure that file uses the $company variable.

How to proceed? How to proceed?

Since you're organized and you've got the files you'll need, you are able to begin to make your brand-new template. First, you will Choose File -> New -> Edit and Manage Templates.

When you accomplish that, have a consider the template known as HTML 4.01 Frame-set. This template produces the frame-set document, plus three other documents which are contained inside the frame-set document. Everyone knows that frames are evil, unless of course they're inside a Intranet or any other tightly controlled application. This template provides you with a concept of what Tools can perform for you personally. You simply need to give you the documents.

The truly amazing factor about templates with Tools is you can have Tools prompt you for area information, so you just complete the shape once. You might have several page that will have to motivated for area names, remember that the fields are motivated from a to z, not an order which you may have insert them in.

Simpler to Copy

As within the tutorial Edit Colorizer Styles, that is inside my site, you will need to duplicate a current template. Title your template something significant, and then leave the check-marks for update date and hkp-uid fields.

Take NoteYou will watch a couple of things when searching inside my template - this informs this program to maneuver the cursor towards the appropriate place. If you use a in just one place, this program will jump to that particular devote the markup and you may continue after that. It won't get it done with multiple vertical bars.

area - Anything is double curly brackets is really a area that'll be motivated for you personally at run time. Place these in by hand, or make use of the Fields button.

While using Area ButtonTo make entering compelling fields simpler, you should use the Area button at the end from the window.

Area Title Needed - this is actually the title from the area. Allow it to be something which is sensible for you.Area Label Place something here which will help remind you of the items the area is perfect for.Fall behind Value When the area includes a default value, come in here.

Area Type There's a range of text or memo. The default is text, that is one line. Memo is multiple line, rather just like a textbox form control.

Adding Files towards the TemplateAt the foot of your window, near the Fields button may be the Files button. The default kind of file is really a text file - by text meaning anything that's not binary or xml. Should you click the lower arrow, you are going to begin to see the listing of options.Choose Place text section from file to place text.Pick the text file you need to include. This may be an HTML file, a PHP file, an ASP file, etc.

When the file is incorporated, you can include fields into it. Observe that the fields is going to be motivated from a to z, not in document order. (Err. maybe I ought to mention this to Chami - return later, he may change this behavior.)Continue adding necessary files. Please be aware the more files you add, the more web site takes to operate. For those who have a quick system, you will possibly not notice it, but a reduced system could make you believe your Tools is around the Fritz.

Let us Get Graphic About It

So now that you've got added the required files, it would be great with an icon around the menu to ensure that you can observe your wonderful template easily? No problem. You'll need two images, one which resizes nicely to 16x16 pixels and something that re-dimensions nicely to 48x48 pixels.

Click the lower arrow around the files button to create in the menu.If you're investing in a symbol, you'll choose Place icon section from file. You'll be motivated for that file title, and you may browse for that file in your system.The machine will place a new section to your template that begins. You won't begin to see the icon til you have saved your template, hold on - add a picture, too!Stick to the same steps above, but this time around, you will need to make use of the bigger image. The brand new section inside your template is going to be #@begin-binary "hkp-image".