Forums / Templates, Stylesheets, Page Layout / Move "home and login" link to category navigation

Move "home and login" link to category navigation

Locked

Started by theblackcandle on 19 Sep 2007, 5:15 PM · Views: 1,544

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
19 Sep 2007, 5:15 PM
#1
theblackcandle avatar

theblackcandle

New Zenner

Join Date:
Aug 2007
Posts:
8
Plugin Contributions:
0

Move "home and login" link to category navigation

As the subject states I would like to remove these links from the header and put them in the top of the categories listing sidebox. Any suggestions will be greatly appreciated.

Thanks in advance.

TBC

19 Sep 2007, 5:56 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Move "home and login" link to category navigation

You can take the relevant parts of the header navigation code from /includes/templates/your_template/common/tpl_header.php and add them elsewhere. (I added them to column_left.php.) In this case, /includes/templates/your_template/sideboxes/tpl_categories.php would probably work.

At the top of the file, find```php
$content = "";

$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";

It may also be possible to output the nav code directly before $content is initialized - experiment if you like. I'm not sure that will work.