fribhey Posted July 12, 2005 Share Posted July 12, 2005 right now when you click on a category it just says: "Let's See What We Have Here" which is what is defined as the HEADING_TITLE for the index.php page. the code that pulls up that header is: <?php echo HEADING_TITLE; ?> what should i put so it displays the category name as the heading title instead of the defined "Let's See What We Have Here"? i thought it was something like <?php echo $categories_name; ?> but i can't get that to work. any help would be appreciated. thanks Link to comment Share on other sites More sharing options...
OceanRanch Posted July 12, 2005 Share Posted July 12, 2005 Try <?php echo $categories['categories_name']; ?> Tom Link to comment Share on other sites More sharing options...
fribhey Posted July 12, 2005 Author Share Posted July 12, 2005 Try <?php echo $categories['categories_name']; ?> Tom <{POST_SNAPBACK}> i tried that as well but it didn't work. i don't get an error message but nothing shows up. am i missing something? thanks Link to comment Share on other sites More sharing options...
fribhey Posted July 12, 2005 Author Share Posted July 12, 2005 Try <?php echo $categories['categories_name']; ?> Tom <{POST_SNAPBACK}> i tried: <?php echo $current_category_id; ?> and it displays the category number but i can't get it to display the category name. Link to comment Share on other sites More sharing options...
Wendy James Posted July 13, 2005 Share Posted July 13, 2005 <?php echo HEADING_TITLE . '\'' . $tree[$current_category_id]['name'] . '\''; ?> Oh, should probably mention there are atleast 3 or 4 contributions that tell you how to do change the title, headings and so on. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
fribhey Posted July 13, 2005 Author Share Posted July 13, 2005 <?phpecho HEADING_TITLE . '\'' . $tree[$current_category_id]['name'] . '\''; ?> <{POST_SNAPBACK}> THANK YOU, THANK YOU, THANK YOU.... the code you posted actually caused it to display: Let's See What We Have Here 'Category Name' i just wanted Category Name so i trimmed the code to: <?php echo $tree[$current_category_id]['name']; ?> thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.