mrmenace88 Posted March 6, 2011 Share Posted March 6, 2011 On template_top.php I have the following code: <div id="bodyContent" class="grid_18 push_6"> <div class="title-t"> <div class="title-r"> <div class="title-b"> <div class="title-l"> <div class="title-tl"> <div class="title-tr"> <div class="title-bl"> <div class="title-br"> <h1><?php echo $category['categories_name']; ?></h1> </div><?php //end title-br ?> </div><?php //end title-bl ?> </div><?php //end title-tr ?> </div><?php //end title-tl ?> </div><?php //end title-l ?> </div><?php //end title-b ?> </div><?php //end title-r ?> </div><?php //end title-t ?> the <h1> tag comes up empty on the site. when i move the code bit: <h1><?php echo $category['categories_name']; ?></h1> </div><?php //end title-br ?> </div><?php //end title-bl ?> </div><?php //end title-tr ?> </div><?php //end title-tl ?> </div><?php //end title-l ?> </div><?php //end title-b ?> </div><?php //end title-r ?> </div><?php //end title-t ?> to index.php it works but then I lose the sidebar formatting. any suggestions on how to get the title to print? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.