rejetto forum

page in hfs

Alons0 · 11 · 4773

0 Members and 1 Guest are viewing this topic.

Offline Alons0

  • Tireless poster
  • ****
    • Posts: 197
    • View Profile
    • Alons0's site
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?
« Last Edit: December 26, 2006, 12:19:28 PM by Alons0 »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
i don't understand what you want to do.
you'd better TRY and tell us what actual difficulties you find.


Offline darkmatter

  • Occasional poster
  • *
    • Posts: 52
  • GIANT SCRIBBLES!
    • View Profile
    • HFS Live
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.....


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
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.


Offline Alons0

  • Tireless poster
  • ****
    • Posts: 197
    • View Profile
    • Alons0's site
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]
« Last Edit: December 30, 2006, 09:30:41 AM by Alons0 »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
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.


Offline Alons0

  • Tireless poster
  • ****
    • Posts: 197
    • View Profile
    • Alons0's site
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?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
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.


Offline Alons0

  • Tireless poster
  • ****
    • Posts: 197
    • View Profile
    • Alons0's site
I made virtual folder and I entered in diff template [files] section and when i go in the folder there is displayed "no files"


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
hahaha, right, didn't think of it, since you have an empty folder, you have to use the [nofiles] section


Offline Bers

  • Occasional poster
  • *
    • Posts: 15
    • View Profile
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>
« Last Edit: January 15, 2007, 01:49:48 PM by Bers »