MaureenReed Posted December 29, 2006 Share Posted December 29, 2006 I installed this contribution and it looked great on the page but I could not get the links to work. When I clicked on a category, it kept defaulting to display home page content instead of the categories themselves. Discovered that the link was built without a beginning quote. This section in boxes/categories-xc.php: if ($level{$categories['parent_id']} == 0) { $categoriesxc_string .= "<hr><li><a href="; } else { $categoriesxc_string .= "<li><a href="; needs to be if ($level{$categories['parent_id']} == 0) { $categoriesxc_string .= '<hr><li><a href="'; } else { $categoriesxc_string .= '<li><a href="'; I'm new so maybe I'm missing something else, but it didn't work before I made the change and now it does for me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.