Dang, I'm hoping someone, somewhere, has tried this successfully. In my searches, I've found several people who wanted to-- but the threads peter out before the answers come up...
Where i would like to put my categories box, is in the left-hand side of my header.
Right now, my code looks like this;
PHP Code:
<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
I changed the logo id in css to float to the right, and my logo image is exactly where i want it tobe.
Now, I want to drop my categories sidebox into the left side of the header.
To do that, I have tried;
PHP Code:
<!--bof-branding display-->
<div id="logoWrapper">
<div id="catheader"><?php require(DIR_WS_MODULES . 'sideboxes/categories.php'); ?></div>
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
However, when I save my file to the server, everything disappears beyond the eof navigation display notation in tpl_header.php
I really don't see why it should break the file like this... It's a copy of this line;
PHP Code:
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
which comes just at the end of the navigation section, and that certainly doesn't break anything!
So... what am I missing?