Creating color backrounds for file directories

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

hyler

Thread Starter
Joined
Jul 30, 2001
Messages
126
OK, first off my site is http://www.progressiveguitar.com

Right now I have it so once the main PHP page opens, you click "Click Here for our full Tab Archive" and you can see all our tablature files. However, it would be nice if I was able to customize the view of this page for users, is this possible? Maybe making the backround a different color?

OK, if that's not possible. Is there anyway to tell a program like PHP nuke to have all files in a certain directory viewable under the downloads section (accessible from the "Tabs" button)?
 
Joined
Mar 28, 2001
Messages
781
Since your site has a login area I'm going to assume you're using cookies in some parts of your site.

Why not write multiple CSS files and the members of your site can choose the one they want. Store the value they choose in their cookie and have a php script check the cookie when they revisit the site and load the appropriate CSS.

I hope that makes sense.
 
Joined
Jul 29, 2001
Messages
21,334
I believe you are right about using a custom CSS for users and I think that is how most sites kind offer custom skins for their users. You could go as far as different color buttons, etc. with your style sheets as well.
 

hyler

Thread Starter
Joined
Jul 30, 2001
Messages
126
OK, let's say I have a CSS sheet that will interface with the directory ready to go. What do I upload it as? Will it automatically be viewed when people open the directory? Or will I have to write an index file for that particular fold with code telling the browser to display the directory view with the specific settings in the CSS?

Keep in mind this is what I'm talking about when I say directory view http://progressiveguitar.com/tabs/
 
Joined
Jul 29, 2001
Messages
21,334
You can't really do anything with the default index view used by the web server, you pretty much get what you get. Apache may have some configuration files you can set for individual users like an htaccess file you can configure
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Top