attroll
11-29-2004, 02:00 AM
Just got done installing a sperate header for the CMPS frontpage. I created this mod myself. I will atempt to explain what I did.
1, Create a new header template called "header2".
2. After you created the "header2" template opened the /forum/includes/vba_cmps_include_bottom.php
Go through this file and changed every instance of $header to $header2.
3. Now go into the template "phpinclude_start and added the following line:
eval('$header2 = "' . fetch_template('header2') . '";');
4. Since the template is uncached you will have an extra query on each page. To fix, open global.php
Find:
// misc useful
Add Below this:
'header2',
5. Go into you CMPS templateplate adv_portal.
Find:
$navbar
Above that add:
$header2
6. Now you should be all set.
I hope I have all my steps that I did here. If not I am sure someone will point it out for me.
1, Create a new header template called "header2".
2. After you created the "header2" template opened the /forum/includes/vba_cmps_include_bottom.php
Go through this file and changed every instance of $header to $header2.
3. Now go into the template "phpinclude_start and added the following line:
eval('$header2 = "' . fetch_template('header2') . '";');
4. Since the template is uncached you will have an extra query on each page. To fix, open global.php
Find:
// misc useful
Add Below this:
'header2',
5. Go into you CMPS templateplate adv_portal.
Find:
$navbar
Above that add:
$header2
6. Now you should be all set.
I hope I have all my steps that I did here. If not I am sure someone will point it out for me.