rejetto forum

How to add HFS variables to index.htm

Beaker · 5 · 11770

0 Members and 1 Guest are viewing this topic.

Offline Beaker

  • Occasional poster
  • *
    • Posts: 2
    • View Profile
Hello,
I'm new and apologize for this topic, but I'm unable answer question myself.

I want to create an index.html file that has a link to real HFS page.
The current index.html page was "bound to real folder in HFS".
I'm using a real folder.
In the meantime I was able to find out, that a simple Link to the folder is one solutionto link to HFS folder structure.
But is it possible to use HFS variables for index.hrml page such as in templates?
I tried some variables from HFS (such as %version%) but it's not resolved by HFS.

I searched the forum, but didn't found the information I'm looking for, although I'm quite sure that it was described here..

regards, Michael
« Last Edit: September 12, 2008, 08:50:37 AM by Beaker »


Offline Foggy

  • Tireless poster
  • ****
    • Posts: 806
    • View Profile
It is not possible to include hfs variables in an external html file because hfs just serves the page and doesn't build it.

But that gives me the idea of binding the folder to a user created template section. Is such a thing possible rejetto?


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2068
    • View Profile
rename your index.html as hfs.diff.tpl

hfs detect it as a template


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile

Offline Beaker

  • Occasional poster
  • *
    • Posts: 2
    • View Profile
Thanks for help.
although I cannot do tests on the HFS for now,
I think, it will help.
Thank you!

 ::)

Michael