sackling Posted March 15, 2012 Share Posted March 15, 2012 Hello, I am looking for a contribution (if it exists) that would allow you to select which boxes should be shown on which pages. For instance I don't want to show the entire categories box on the product info page. Is there anything like that that exists? Link to comment Share on other sites More sharing options...
foxp2 Posted March 15, 2012 Share Posted March 15, 2012 Hi Robert, -> http://www.oscommerce.com/forums/topic/368579-add-on-dynamic-template-system-for-oscommerce-23x/ only for osCommerce 2.3.x Regards, Link to comment Share on other sites More sharing options...
cuyo Posted June 20, 2012 Share Posted June 20, 2012 hi @@foxp2 Great contribution. i just have a little problem. in some pages, some boxes doesn't appear, quite rare... for example, in index.php everything works fine, but in product_info.php, some boxes appear and others don't. (bm_best_sellers.php doesn't appear, but bm_curencies.php does it) i've been compared all the files but don't find any difference have you got a clue ?? Link to comment Share on other sites More sharing options...
multimixer Posted June 20, 2012 Share Posted June 20, 2012 Some boxes have restrictions about wen to execute and when not within their own code. For example the bestsellers box has this if (!isset($HTTP_GET_VARS['products_id'])) { This mean in plain english "if there is no products_id present in the url ...." My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
cuyo Posted June 20, 2012 Share Posted June 20, 2012 Thank u @@multimixer do you know any way to fix it ? I located the code, but looks like a whole function. is there a way to show best sellers box in product_info ? (i use SEO URL 5) Link to comment Share on other sites More sharing options...
multimixer Posted June 20, 2012 Share Posted June 20, 2012 There is nothing to "fix" since nothing is broken. The box work as intented You can however remove the condition (comment it by adding // in front) and the box will execute on product info Dont forget to comment the closing bracket } too, not any closing bracket but the one that correspond to the opening My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
cuyo Posted June 20, 2012 Share Posted June 20, 2012 you're right. There is nothing to "fix" ;-)) works ok, comment it. // if (!isset($HTTP_GET_VARS['products_id'])) { and the closing bracket. } thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.