rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Colonia

Pages: 1
1
HFS ~ HTTP File Server / Re: server-root
« on: May 08, 2010, 11:44:02 PM »
Ciao Rejetto,
I do not agree, sorry.
Yes it would be great as I could work from the server alone, without messing with Windows (hidden files...).
But I do not like the idea of having absolute path' relativ to Windows in the .tpl.
Moving the place of the server would mean I need also need to adjust the tpl, while if I do not need to do anything if done as mentioned above.
Zip the folder and extract where ever I like it is all I have to do.
And this way it is easier to exchange new templates with the HFS community - as all images are included in the package.

2
HFS ~ HTTP File Server / Re: server-root
« on: May 06, 2010, 03:48:53 PM »
puhhh, yes this works.... not ideal - but a solution.

Here in detail for all:

create two folders where you put your pictures in....
- (path to HFS.EXE server folder)/http_sources/images/mypicture.png

- in Windows make both folders (http_sources and images) hidden
- sources like the example mypicture.png must be NOT-hidden
- right mouse click on root in HFS server Virtual File System: "Bind root to real folder" and select "http_sources"

Now you can add and reference pictures and other includes in the tpl-template like this example:

- /images/mypicture.png

3
HFS ~ HTTP File Server / Re: server-root
« on: May 06, 2010, 05:13:19 AM »
Dear all.

OK - I tried the following:
- bind root to: /images (a folder in the server root)
- added an image (test.gif) to that folder
- added a line to the template: <img src="/test.gif">
- tested it: image was there - but also the file in the listing.... :-(
- right mouse button on image file: hidden
- tested it: NO image :-((

Edit:
Found that one just a minute ago. That's exactly what I have done. But hiding the file ends in not showing.
http://www.rejetto.com/forum/index.php/topic,6660.0.html


Background info:
HFS: 2.3 beta  (build 260)
Windows 7 64bit (running HFS as user only)

4
HFS ~ HTTP File Server / Re: server-root
« on: May 05, 2010, 10:02:37 PM »
HI SilentPliz, this is for the document root ok yes. And if I like to create an individual page it is THE solution.
What I am looking for is a place to put common images into.

If I change the virtual or real folder I need to copy all the images into that folder again, right?

5
HFS ~ HTTP File Server / server-root
« on: May 05, 2010, 09:45:31 PM »
Hello dear community - ciao Rejetto!

first of all thanks for this very-very good peace of software.

I have been looking through the forum, FAQs and manuals but I can not find answer to the folowing:
- Is there a variable for the server-root?

I think this would be a huge help to customize the templates. I had a look into the customized templates and everyone is referencing to images and icons somewhere, but not in the server root.
I was expecting to have something like an image folder on the same level as the HFS.exe to feed the template by using something like:
<img src="%server-root%/image/smile.png">

Or maybe I just missed something....

Pages: 1