The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
makeyaddayaddacode(); ... in custom CP pages
Bleh. Icky title.
Anyway, I've made a custom page for my admin CP, works likea charm, BUT -- the pages are all black on white. I COULD hard-code it to look like the other pages, but, upon looking at some other hacks, (namely the template backup system) I've figured out that there are approximately a jillion makeinputcode("blah", "lbah", "halb"); maketableheader("moo", "moo" , 0); etc things that can be used, and I'd prefer to use them. SO, i've got a hard-coded (using "echo") form, and I want to put it in a nice table w/colors that match the rest of the cp. What would I use, and how? PHP Code:
|
#2
|
||||
|
||||
This isn't hard... just take a look at adminfunctions.php and you'll get the hang of it in no time
- miSt |
#3
|
||||
|
||||
Simply put:
Code:
cpheader(); Code:
cpfooter(); Satan |
#4
|
|||
|
|||
Quote:
That won't handle the form though...he has to look at makeformheader and makeformfooter in adminfunctions.php |
#5
|
|||
|
|||
It would look something like this:
PHP Code:
|
#6
|
||||
|
||||
Thanx, guys, I'll try that.
EDIT: I replaced the "Echo" statements w/ that code, and put Cpheader(); at the top of the page, and cpfooter(); at the bottom.... But nothing changed.... |
#7
|
||||
|
||||
If you know how php functions work then like i said - look at adminfunctions.php.
I learnt how to use these functions in minutes as they are so simple - miSt |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|