rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: ebola on August 16, 2008, 10:34:05 AM
-
Hi
I have created a section called [generalinfo]. Here I can use symbols that are available in all sections. This is fine & working.
But now i want to include there (in section [generalinfo]) the symbol %number-files% from a special folder o HD. How is this done?
Cheers,
ebola
-
I don't understand what you are trying to achieve :(
-
you get that symbol only when that folder is browsed.
but in the future, if an {.exec.} macro will be created, there will be a way.
-
Hi
Thx for your answer, rejetto :)
@Foggy :
This is for a project where HFS is used as a webserver displaying static websites - but some sites including additional, variable informations. Sure, PHP would be possible but I like bulletproof HFS with non-script-support for "exposed" things :)
Cheers,
ebola
-
had an idea.
if you make an external program/script that writes the information you need in a text file, then you can load it in HFS with {.load|that file with the info.txt.}
-
Hi
Yeah.
I already do this with various stuff. For example there is a dummy-html that is edited (filled with systeminfos like Systemuptime, free RAM, ...) by a external program. HFS copy's and fill's it with other things that are possible with macros + displays it after all.
Cheers,
ebola