![]() |
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:
|
This isn't hard... just take a look at adminfunctions.php and you'll get the hang of it in no time :)
- miSt |
Simply put:
Code:
cpheader(); Code:
cpfooter(); Satan |
Quote:
That won't handle the form though...he has to look at makeformheader and makeformfooter in adminfunctions.php |
It would look something like this:
PHP Code:
|
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.... |
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 |
All times are GMT. The time now is 07:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|