rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: TGeRi on March 21, 2007, 09:34:18 PM

Title: folder "path" question
Post by: TGeRi on March 21, 2007, 09:34:18 PM
Hi!

First something small to start with:
why is this line in the default template:
<div id=folderlabel>folder</div>

does this have any function?

And now the question of the topic:
is it possible - i know it is but i don't know how - to turn the parts of the actual path into link?

For example:
i'm in /music/oldschool/rap folder while browsing.

I want the oldschool string to be a link to /music/oldshool and the music to /music.
I know i have "goto root" and "up" but if u have long paths then this should be very nice.

What do you think?

Since the path can be any long i don't know how to "split" it into foldernames and do the linking.

Thanks in advance,
TG

PS: Keep up the good work rejetto. HFS is one of the best SW i've ever known.
Title: Re: folder "path" question
Post by: Giant Eagle on March 22, 2007, 08:12:06 AM
If you have searched the forum before posting this topic, you would have found this topic  ;): http://www.rejetto.com/forum/index.php?topic=4195.0 (http://www.rejetto.com/forum/index.php?topic=4195.0)

We call it the Browseable Folder Tree  8), its exactly what you explained.

(It's also implemented in the HFS Terayon template (http://www.rejetto.com/forum/index.php?topic=4071.0) and the Thunder Chicken of Glory template (http://www.rejetto.com/forum/index.php?topic=3896.0))
Title: Re: folder "path" question
Post by: TSG on March 22, 2007, 09:21:13 AM
 :)
Title: Re: folder "path" question
Post by: Giant Eagle on March 22, 2007, 12:28:59 PM
Hi!

First something small to start with:
why is this line in the default template:
<div id=folderlabel>folder</div>

does this have any function?

I forgot to answer your first question.. But yes, even that has a function.

Inside the [Style] section of the default template, you will find this line:
Code: [Select]
#folderlabel, #folderstats, #footer { font-size: 8pt; }
Meaning that everything that is inside that <div> has a font-size of 8 points.