xskatex
Statusless Send PM Posts:
Threads: Money: £0.00 (D) (+ Friend)
|
I already knew that btp uses css, the three-frame layout, and i love it, however something has always bugged me, and now that im making a site for our gaming company. i need to know something.
I noticed that btp has many pages and every page has a sidebar. How do you efficiently put so many sidebars on every page without it taking hours to fix a problem like a broken link or using frames?
|
17.03.06 01:22 Post #1 | [Hide Sig (0)] [Profile] [Quote] |
Pioneer322
Orangie Orgy Send PM
Posts: 2375
Threads: 38 Mood: FFFFFFFFFFF Money: £1289.13 (D) User Tax: -322% (+ Friend)
|
BTP uses a file (or many other files) called config.php. It uses all these things that make btp look nice and purty
when making pages, all we'd have to do was use:
require("config.php");
and
endpage();
to make everything btp show in the file, which gets displayed in the middle
...so its pretty complicated, my brain sorta combusted when i viewed it
edit: oh i forgot, the left, top and right stuff are all seperate files for easy editing and crap like that, so i guess its config's job to display them all n' shizzle
|
17.03.06 01:26 Post #2 | Last edited: 17.03.06 01:27 (Pioneer322 - 1 times) |
[Hide Sig (2)] [Profile] [Quote] |
xskatex
Statusless Send PM Posts:
Threads: Money: £0.00 (D) (+ Friend)
|
hmmmm, does this mean i have to learn php?
or is there a tutorial on this.
|
17.03.06 01:32 Post #3 | Last edited: 17.03.06 01:32 (xSKATEx - 1 times) |
[Hide Sig (0)] [Profile] [Quote] |
Pioneer322
Orangie Orgy Send PM
Posts: 2375
Threads: 38 Mood: FFFFFFFFFFF Money: £1289.13 (D) User Tax: -322% (+ Friend)
|
prolly, unless you you could get CSS to show links on each page
edit: although i like the idea of frames with btp, so pages you load, load in the middle without actually having to reload all of btp over and over
|
17.03.06 01:38 Post #4 | Last edited: 17.03.06 01:40 (Pioneer322 - 1 times) |
[Hide Sig (2)] [Profile] [Quote] |
C1
Looking For Status Send PM Posts: 0
Threads: 0 Money: £0.18 (D) (+ Friend)
|
prolly, unless you you could get CSS to show links on each page
edit: although i like the idea of frames with btp, so pages you load, load in the middle without actually having to reload all of btp over and over
Frames are ugly though. And it's not like it takes long to load BTP..
|
17.03.06 19:05 Post #5 | [Hide Sig (2)] [Profile] [Quote] |
Pioneer322
Orangie Orgy Send PM
Posts: 2375
Threads: 38 Mood: FFFFFFFFFFF Money: £1289.13 (D) User Tax: -322% (+ Friend)
|
i don't see what would be ugly, its just leaving the main menu, topstuff, and rightstuff from loading every page, and only update if a new shout or word/user/PM/etc. has been added
|
17.03.06 19:20 Post #6 | [Hide Sig (2)] [Profile] [Quote] |
C1
Looking For Status Send PM Posts: 0
Threads: 0 Money: £0.18 (D) (+ Friend)
|
i don't see what would be ugly, its just leaving the main menu, topstuff, and rightstuff from loading every page, and only update if a new shout or word/user/PM/etc. has been added
Which happens about every 5 minutes, and without it refreshing every 5 minutes, how would you know it's there?
Plus, look at websites with frames, they just don't look as nice.
|
17.03.06 22:03 Post #7 | [Hide Sig (2)] [Profile] [Quote] |
Star Worms
Rats Sworm Send PM
Posts: 1527
Threads: 44 WA Clan: WrU WWP Clan: WrU Mood: Bored Money: £3968.69 (D) Inc. Tax: 10% User Tax: -15% Ttl. Tax: -5% (+ Friend)
|
hmmmm, does this mean i have to learn php?
or is there a tutorial on this.
Not really. I didn't know php but I just learnt how to do a php insert. Then I just linked that to another file (can't remember what file type) and hey presto. Then all the pages with that code in contain whatever you have in the file, and the only thing you need to change is that one file instead of 30-odd pages.
________________
|
|
18.03.06 11:00 Post #8 | [RealVG] [Hide Sig (11)] [Profile] [Quote] |
xskatex
Statusless Send PM Posts:
Threads: Money: £0.00 (D) (+ Friend)
|
this works - lol
tutorial thingy
you guys helped me find this at least
thanks guys!
|
19.03.06 01:53 Post #9 | [Hide Sig (0)] [Profile] [Quote] |
Star Worms
Rats Sworm Send PM
Posts: 1527
Threads: 44 WA Clan: WrU WWP Clan: WrU Mood: Bored Money: £3968.69 (D) Inc. Tax: 10% User Tax: -15% Ttl. Tax: -5% (+ Friend)
|
|
20.03.06 23:38 Post #10 | [RealVG] [Hide Sig (11)] [Profile] [Quote] |
Your Comments: