rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: PejQas on June 15, 2007, 06:04:21 PM

Title: Server name
Post by: PejQas on June 15, 2007, 06:04:21 PM
Look at this  http://img70.imageshack.us/my.php?image=serveryj1.jpg (http://img70.imageshack.us/my.php?image=serveryj1.jpg) :'(
Title: Re: Server name
Post by: Granny on June 15, 2007, 08:05:40 PM
Have you even 'looked' at the HTML code?
Title: Re: Server name
Post by: fabnos on June 15, 2007, 08:13:55 PM
He

in default template you can write something here:

Code: [Select]
<body>
%login-link%
%loggedin%
%upload-link%
<div id=folderlabel>folder</div>

change in this line:

<div id=folderlabel>folder</div>

the word "folder" with what you want insert (XXXXXXXX <-> This, will be what you have inserted)  ;)

You can also made some little change for text's behaviour and colours.

For example if you write:

<div id=folderlabel><b>XXXXXXXX</b></div>  will be  XXXXXXXX

<div id=folderlabel><b><font color=red>XXXXXXXX</font color></b></div>  will be  XXXXXXXX

or

<div id=folderlabel><b><font color=#FF0000>XXXXXXXX</font color></b></div>  will be  XXXXXXXX

and so on.

Or like this one (but from here you MUST make free your fantasy .... ;D)

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <style type="text/css">
  %style%
  </style>
  <title>HFS %folder%</title>
  <link rel="shortcut icon" href="favicon.ico" />
</head>
<body>
%login-link%
%loggedin%
%upload-link%
<div id=folderlabel><h1><b><font color=#FF0000>Welcome to <blink>PejQas's</blink> HFS Web Server</font color></h1></b></div><br><br>
<div id=folder>Now you are browsing this level --> %folder%</div>
<div id=body>


Best regards


Title: Re: Server name
Post by: TSG on June 16, 2007, 12:55:12 PM
Use CSS to format the Heading, you could do it many ways, if you would like me to show you how, just post back, the way fabnos shows will work, but it is very old school :P CSS is best.
Title: Re: Server name
Post by: PejQas on June 16, 2007, 03:34:08 PM
Thank's Fabnos. Now I have very nice Server name. Do you have any suggestions how can I  make my server more 'beautifull'???
Title: Re: Server name
Post by: TSG on June 16, 2007, 04:05:29 PM
Use my template  ;D or Terayon :), lol, change the colours or something.
Title: Re: Server name
Post by: fabnos on June 16, 2007, 05:08:26 PM
Thank's Fabnos. Now I have very nice Server name. Do you have any suggestions how can I  make my server more 'beautifull'???

The most easy way to begin is to go here  ;)

http://rejetto.com/wiki/index.php?title=Gallery (http://rejetto.com/wiki/index.php?title=Gallery)

In this Wiki's section You will find more information about customization of templates.

Title: Re: Server name
Post by: PejQas on June 18, 2007, 01:22:58 PM
Thank's Fabnos once again. I have choose HFS Terayon v1.2.1 temlate.... and I have one problem. I want write a server name that you give me



Code: [Select]
<div id=folderlabel><h1><b><font color=#FF0000>Welcome to <blink>PejQas's</blink> HFS Web Server</font color></h1></b></div><br><br>
<div id=folder>Now you are browsing this level --> %folder%</div>
<div id=body>


... but I don't know where I must write it in this new HTML code. Can I do that??


PS. Sorry for my english. My national language is Polish. ;)
Title: Re: Server name
Post by: fabnos on June 18, 2007, 03:11:31 PM
Thank's Fabnos once again. I have choose HFS Terayon v1.2.1 temlate.... and I have one problem. I want write a server name that you give me

Quote
... but I don't know where I must write it in this new HTML code. Can I do that??


PS. Sorry for my english. My national language is Polish. ;)

Well You can learn more if you see differences between default .tpl (english) and default italian .tpl

download the last one from

http://fabnos.fast-ip.eu:8080/HFS_docs/ItalianResources/TPL_italiano/Terayon%20v1.2.1_ITA/ (http://fabnos.fast-ip.eu:8080/HFS_docs/ItalianResources/TPL_italiano/Terayon%20v1.2.1_ITA/)

userid:  ospite
password:  ospite

or download zipped file here

In any case

Code: [Select]
<span class="cattitle">
(Inserisci qui le credenziali del server) ::&nbsp;&nbsp;&nbsp; ...
<span id="messageTitle"></span>

see line 74 of the italian .tpl

best regards

for Polish, I have not possibility to learn it so quickly  ;)

f.
Title: Re: Server name
Post by: PejQas on June 18, 2007, 03:49:13 PM
I am not so stupid. I see differences between english and italian. But I still prefer english. I speak english better than italian. And I still can't change the server name, but I see you have the same server name such like me (adress server) so I think it isn't important :)
Title: Re: Server name
Post by: fabnos on June 18, 2007, 08:19:51 PM
Sorry but probably stupid am I , if i don't understand what you request  ;D

Do you mean the top of screen or little bottom ?

In top server address is made by

Code: [Select]
<tr>
<td width="95" align="left" height="78"><img src="/template/images/top.jpg" alt="top" /></td>
<td width="100%" align="center" height="78"><span class=MessageHeader>Http://%host%/</span></td>
<td width="95" align="right" height="78"><img src="/template/images/top1.jpg" alt="top1" /></td>
</tr>

MessageHeader  --> Http://%host%

Bottom you can insert any thing you want.

In any case, if your request is different, you can ask more specific hints to GiantEagle the creator of Terayon template.


 
Title: Re: Server name
Post by: PejQas on June 18, 2007, 09:00:22 PM
And that is what I want. Vielen danke fabnos your work is invaluable. I think it will be thats all about my server.


(http://i19.tinypic.com/4qdg5ro.jpg)