smijer Posted March 5, 2004 Share Posted March 5, 2004 I don't have any previous experience with PHP, and I'm not that handy with HTML tables either, but I thought it should be a rather simple task to move the Navigation bar from header.php to the index file and place them between the left column and right-column. In order to do so, I copied the entire table from header.php and placed it after this code: <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> </table></td> and before the Heading_Title table: <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> I tried inserting the entire table, and also tried inserting only the lines that defined the td and/or tr classes ( '=headerNavigation'). I tried inserting it in place of the table/td/tr tags that define the body of the center column and I tried inserting it between those tags in virtually every permutation. Only one placement would allow the bar to be seen at all, and in that placement it destroyed the table structure altogether, placing the bar itself below the left column, the would-be center below the bar, and the right column below the center. In all other configurations, it does not appear when you reload the page. I'm at wits end. Does anyone know what simple thing I am missing? Sorry for the dumb question. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.