rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Alons0 on December 26, 2006, 12:07:40 PM

Title: page in hfs
Post 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?
Title: Re: page in hfs
Post by: rejetto on December 26, 2006, 04:53:00 PM
i don't understand what you want to do.
you'd better TRY and tell us what actual difficulties you find.
Title: Re: page in hfs
Post by: darkmatter on December 27, 2006, 09:38:09 PM
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.....
Title: Re: page in hfs
Post by: rejetto on December 28, 2006, 01:11:31 AM
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.
Title: Re: page in hfs
Post by: Alons0 on December 30, 2006, 09:23:22 AM
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]
Title: Re: page in hfs
Post by: rejetto on December 30, 2006, 11:59:24 AM
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.
Title: Re: page in hfs
Post by: Alons0 on December 30, 2006, 12:21:23 PM
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?
Title: Re: page in hfs
Post by: rejetto on December 30, 2006, 12:39:50 PM
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.
Title: Re: page in hfs
Post by: Alons0 on December 30, 2006, 12:55:51 PM
I made virtual folder and I entered in diff template [files] section and when i go in the folder there is displayed "no files"
Title: Re: page in hfs
Post by: rejetto on December 30, 2006, 01:13:51 PM
hahaha, right, didn't think of it, since you have an empty folder, you have to use the [nofiles] section
Title: Re: page in hfs
Post by: Bers on January 15, 2007, 01:29:42 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?

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
Code: [Select]
document.write('your HTML-code');

inside JS file HTML

Code: [Select]
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>