rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Alons0 on December 26, 2006, 12:07:40 PM
-
I wanna make site with hfs interface(no folders) with some information. Can i create section in html templte and folder? And then I wanna edit html design in section. Any ideas?
-
i don't understand what you want to do.
you'd better TRY and tell us what actual difficulties you find.
-
ok ya... im sry you desin a normal html....... and when you want them to go to one of those folders.... just makee a link to that folder.....
-
if you have a folder named "aaa" you just have to use this html
<a href="/aaa/">go to aaa</a>
nothing else. it works.
-
Rejetto I wanna page in hfs with no folders and there to paste some information. And in html template to make section of this page ex. "abc" and i wann open it like ex. http://10.6.13.25/abc/. I made a picture which i edited with MS Paint to view what I want:
[attachment deleted by admin]
-
no, you can't. sections in template are not made for this.
if you want to do /abc/, you must create a folder, doesn't matter if it is virtual or not.
you may even make all in a single html, using javascript to recognize the URL, though i don't see the gain.
-
no, you can't. sections in template are not made for this.
if you want to do /abc/, you must create a folder, doesn't matter if it is virtual or not.
you may even make all in a single html, using javascript to recognize the URL, though i don't see the gain.
I wanna help my users about some things - this is the gain. If I use javascriptfor the single html, would it be it design which I want?
-
you can edit the template you are using, and replace the %list% with the content you want.
%list% is the list of files, this way the list won't show.
to have a different content in every subfolder, you can create a virtual folder and use the "diff template" feature (right click on the folder). this way you can enter a differet [files] section with the new content.
-
I made virtual folder and I entered in diff template [files] section and when i go in the folder there is displayed "no files"
-
hahaha, right, didn't think of it, since you have an empty folder, you have to use the [nofiles] section
-
I wanna make site with hfs interface(no folders) with some information. Can i create section in html templte and folder? And then I wanna edit html design in section. Any ideas?
why not
use one of this http://www.boutell.com/newfaq/creating/include.html metod
or use this
all java script possible use like this
document.write('your HTML-code');
inside JS file HTML
document.writeln('<head>');
document.writeln('<style type="text/css">');
document.writeln('A {text-decoration:underline}');
document.writeln('.menu { textalign: left; font-size: medium; fontsize: medium; font-weight: bold; fontweight: bold}');
document.writeln('.menu1 {text-align: left; textalign: left; font-size: small; fontsize: small; font-weight: bold; fontweight: bold}');
document.writeln('</style></head>');
create all needed HTML like this and save to whatyouwantname.js
at last include to TPL
<script language="JavaScript" src=whatyouwantname.js></script>