|
||||
| ||||
|
|
#1 |
|
Minors (Double A)
Join Date: May 2002
Location: Edgerton, WI
Posts: 154
|
Style Sheet Edit Question
I hope my novice question here is going in the right direction.
I would like for my player pages on my web site to not look for the player photos in the same directory as the reports are in, but a subdirecotry of that, /photos. The reason is my web provider puts a cap on the number of files i can have in one directory, and when you get box scores / game logs for the entire season along with somewhere close to 2,000 player pages and photos, that makes for alot of pages.. so I would like to move those photos someplace else..... Any ideas, or am I asking the impossible? Thanks! |
|
|
|
|
#2 |
|
All Star Starter
Join Date: Aug 2003
Posts: 1,146
|
That's part of that standard HTML spit out by OOTP. The location referenced in the HTML is not part of the stylesheet. So you can't do anything about it short of editing all the HTML files after OOTP creates them. You could get a good search/replace utility and write a short batch file that will do the massive search and replace for you. There are a ton of them out there if you look them up on Tucows/Download.com or you favorite download spot.
|
|
|
|
|
#3 |
|
Minors (Double A)
Join Date: May 2002
Location: Edgerton, WI
Posts: 154
|
Thanks for the tip Dave, I will have to try that out.. ::gulp::
|
|
|
|
|
#4 |
|
Minors (Triple A)
Join Date: Nov 2002
Location: Dayton, OH
Posts: 226
|
This is one area I would love to have custimization in game for in future versions.
|
|
|
|
|
#5 |
|
Hall Of Famer
Join Date: May 2003
Location: Under The Christmas Fish
Posts: 7,731
|
There's a freeware Windows utility called Replace that can do what you want.
The site has good info on how to use it...but here's the magic part: Replace (tr class=g2)(td class=s4)(img src=" With (tr class=g2)(td class=s4)(img src="photos\ (you'll need to replace the ( and ) in the example with < and >. If I include them in the example, the board takes it as HTML coding and doesn't display them) ...replacing "photos" with the name of your photos directory. If you want to get really funny, you can also replace .bmp with .jpg, convert all your photos to .jpg, and save a bit of space on the server. Hope that helps! --Eriq. |
|
|
|
|
#6 | |
|
Minors (Double A)
Join Date: May 2002
Location: Edgerton, WI
Posts: 154
|
Quote:
That sounds like it might do the trick.. I assume this would need to be done on all the html player pages before each upload, but for the ability to have more files viewable, that is a price i can pay hehe |
|
|
|
| Bookmarks |
|
|