tp214
04-10-2005, 10:00 PM
What this does: This Allows you to add quick links into your admincp for your lazy self.
Edits: 2+ depending on how many links
How Long to Install: (Default) 2 minutes
First small hack/hack every, give me a break! :nervous:
<?-- Begin Steps --?>
Ok Firstly, download your admincp/index.php file from your ftp server.
Open it up and find:
$printhr = false;
if (can_administer('canadminstyles'))
{ $printhr = true;
Add After:
construct_nav_option($vbphrase['quicklink1'], 'http://www.url.com', '<br />');
construct_nav_group("Quick Links", '<hr />');
(Of course replacing the "http://www.url.com" with your new link.)
After This, you must:
1. Create a new phrase -
type: global
phrase var: quicklink1
text: The name of your first link
After That, you can:
1. Copy and paste the first line construct_nav_option($vbphrase['quicklink1'], 'http://www.url.com', '<br />'); and make as many links as you want.
*Note: Everytime you make a new button/link, you must change the "vbphrase" line to something else, and make a new phrase that has:
type: global
phrase var: newname
text: The name of your second+ link
<!-- End Begin Steps --!>
please click install if you install/edit...
Edits: 2+ depending on how many links
How Long to Install: (Default) 2 minutes
First small hack/hack every, give me a break! :nervous:
<?-- Begin Steps --?>
Ok Firstly, download your admincp/index.php file from your ftp server.
Open it up and find:
$printhr = false;
if (can_administer('canadminstyles'))
{ $printhr = true;
Add After:
construct_nav_option($vbphrase['quicklink1'], 'http://www.url.com', '<br />');
construct_nav_group("Quick Links", '<hr />');
(Of course replacing the "http://www.url.com" with your new link.)
After This, you must:
1. Create a new phrase -
type: global
phrase var: quicklink1
text: The name of your first link
After That, you can:
1. Copy and paste the first line construct_nav_option($vbphrase['quicklink1'], 'http://www.url.com', '<br />'); and make as many links as you want.
*Note: Everytime you make a new button/link, you must change the "vbphrase" line to something else, and make a new phrase that has:
type: global
phrase var: newname
text: The name of your second+ link
<!-- End Begin Steps --!>
please click install if you install/edit...