HFS is an extremely feature-rich application. This section explains how to use some of the most popular features and options.
edit HTML Editor and TemplatesWarning Some users have reported problems when displaying changes to sites in their default browsers. These problems can normally be solved by refreshing the browser cache ("Ctrl+F5" on most systems). Although the default HFS template is perfectly satisfactory for many users, HFS makes it very easy to use a different template which can dramatically change the "look-and-feel" of your site. You can experiment very freely, since the HFS Editor includes a "Restore default" facilty, which imports the default *.tpl file supplied with HFS. For example, here is the basic look of the "example site" viewed in Firefox: And here is the same site after applying a new template: (Note that the above pictures have been shrunk and truncated so that they are easy to view. In reality, the graph in the "black" template for example, displays (and works) perfectly.) edit Modifying TemplatesIt is much easier to modify an existing template, rather than attempting to create one from scratch. You can find good examples of templates to use at the user Forum and at this site. You should be aware that an HFS template ( a *.tpl file) contains the raw elements from which HFS builds the final HTML. Strictly speaking, it is not actually HTML, but you'll find that the HFS editor seamlessly handles verified HTML files from the above sites if you change the extension to *.tpl. Before starting, it is good practice to make a folder named "Templates" under your "HFS" folder. Eg. C:\HFS\Templates. Follow this procedure to apply the "black" template illustrated above.
edit Changing TemplatesYou may now choose to make some small changes to the template to see their effects. To do this:
The above illustrates the principles of a method for safely editing an HTML template. The main alternative is to save ("Export") the different template versions as you apply and verify changes. edit Background colorOne of the most dramatic visual changes is to change the background color. This is controlled by this line in the style section: body { margin:0; background-color:#51595B; padding:10px; color:#FFFFFF; }. Try changing the color value here to "#0D8BE9". Click to enlarge
edit Advanced exampleThe following illustration shows the template called "!!!ledufe.tpl".
The toolbar across the top allows access to further features, including "Site" navigation, further "Hosted Sites", and to change the type of "CSS" that actually constructs this webpage within the HFS browser, a site "Search" box, and this: There are many examples of good templates, together with notes about their construction, in the Template Examples Gallery. edit Running HFS as a Windows serviceThere are several good reasons to run HFS as a Windows service.
There are also several methods to achieve this. Under XP, the easiest way is to download this tray-icon utility by ledufe. It only works if you have Microsoft's .NET Framework 2.0, freely available at Microsoft website. Extract the file from the zip archive, and place it in a suitable folder, eg. C:\HFS. Double-click hfs2Service.exe to display: edit UpgradingNew versions of HFS are released fairly frequently. Although you can always manually download the latest version from Download, the easiest way is use: After a very brief delay, you'll notice your server has been automatically stopped and restarted, and now displays the new version number in the title bar. It is good practice to check that everything is working properly by using "Self Test". See HFS: Command line parameters for more information about operating HFS in this mode.
Last modified February 2, 2010 1:01 am / Content is available under GNU Free Documentation License 1.2. / Skin by Kevin Hughes
![]() |