Author Topic: page in hfs  (Read 4500 times)

0 Members and 1 Guest are viewing this topic.

Offline Alons0

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

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 13016
    • View Profile
Re: page in hfs
« Reply #1 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.

Offline darkmatter

  • Occasional poster
  • *
  • Posts: 52
  • GIANT SCRIBBLES!
    • View Profile
    • HFS Live
Re: page in hfs
« Reply #2 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.....

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 13016
    • View Profile
Re: page in hfs
« Reply #3 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.

Offline Alons0

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

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 13016
    • View Profile
Re: page in hfs
« Reply #5 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.

Offline Alons0

  • Tireless poster
  • ****
  • Posts: 197
    • View Profile
    • Alons0's site
Re: page in hfs
« Reply #6 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?

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 13016
    • View Profile
Re: page in hfs
« Reply #7 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.

Offline Alons0

  • Tireless poster
  • ****
  • Posts: 197
    • View Profile
    • Alons0's site
Re: page in hfs
« Reply #8 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"

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 13016
    • View Profile
Re: page in hfs
« Reply #9 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

Offline Bers

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