Chris Dunning Posted February 17, 2004 Posted February 17, 2004 A client of mine wants to put the "categories" box in both column_left and _right for his website. When I try this statement: include(DIR_WS_BOXES . 'categories.php'); in both columns, only column_left shows up with the box. Column_right disappears completely, as does the footer. I can include categories.php in the right column if I comment out that part of the left column...I just can't do both at the same time. Why is this? Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.
♥yesudo Posted February 17, 2004 Posted February 17, 2004 i thought you would have got a parse error similar to: Fatal error: Cannot redeclare tep_show_category() (previously declared in /secure/k/kysecure.net/yesudo.com/includes/boxes/categories.php:13) in /secure/k/kysecure.net/yesudo.com/includes/boxes/categories.php on line 13 due to declaring a function twice. Your online success is Paramount.
Chris Dunning Posted February 17, 2004 Author Posted February 17, 2004 Nope...no parse error. Nothing at all, in fact...the right column just disappears. Perhaps I could create a copy of the categories functions and include that in the proper place? Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.
♥yesudo Posted February 17, 2004 Posted February 17, 2004 Nope...no parse error. Nothing at all, in fact...the right column just disappears. Perhaps I could create a copy of the categories functions and include that in the proper place? worth a try - also a copy of the catagories box. Your online success is Paramount.
Chris Dunning Posted February 17, 2004 Author Posted February 17, 2004 Right - I've made categories_left.php and categories_right.php. I'll try to copy the functions over into another file as well and see how that works. Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.