Author Topic: folder "path" question  (Read 1617 times)

0 Members and 1 Guest are viewing this topic.

Offline TGeRi

  • Tireless poster
  • ****
  • Posts: 113
    • View Profile
folder "path" question
« 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.

Offline Giant Eagle

  • Tireless poster
  • ****
  • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
Re: folder "path" question
« Reply #1 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

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

(It's also implemented in the HFS Terayon template and the Thunder Chicken of Glory template)

Offline TSG

  • Operator
  • Tireless poster
  • *****
  • Posts: 1934
    • View Profile
    • RAWR-Designs
Re: folder "path" question
« Reply #2 on: March 22, 2007, 09:21:13 AM »
 :)

Offline Giant Eagle

  • Tireless poster
  • ****
  • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
Re: folder "path" question
« Reply #3 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.