♥clustersolutions 94 Posted July 29, 2018 I hv not looked at the internals of BS since 2014... So to check it out I have just merged the latest and greatest...frozen and this admin... https://github.com/clustersolutions/osCommerce-234-bootstrap/tree/osc2nuke The installer ran, but I got these errors, they are stored in the DB configurations table? I am running PHP 7.2.5... 3 1 radhavallabh, oscMarket, valquiria23 and 1 other reacted to this Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 29, 2018 (edited) Good catch, changed it back to BOOTSTRAP_CONTENT (it is unused at the moment). I haven't make any changes in the .sql. This error should go away assoon you visit:https://yourdomain.com/admin/modules_admin_content.php $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_ADMIN_CONTENT_INSTALLED' limit 1"); if (tep_db_num_rows($check_query) < 1) { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Installed Modules', 'MODULE_ADMIN_CONTENT_INSTALLED', '', 'This is automatically updated. No need to edit.', '6', '0', now())"); define('MODULE_ADMIN_CONTENT_INSTALLED', ''); } Same for modules_admin.php?set=XXXXX Edited July 29, 2018 by wHiTeHaT 1 clustersolutions reacted to this BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 29, 2018 Trying footer scripts in admin dashboard modules: $oscTemplate->addBlock($_js . PHP_EOL, 'footer_scripts'); Calling footer scripts in admin template_bottom.php: <?php echo $oscTemplate->getBlocks('footer_scripts'); ?> Working perfectly! 1 clustersolutions reacted to this BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 29, 2018 Categories layout: BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
♥clustersolutions 94 Posted July 29, 2018 The only thing is I am indifferent with $oscTemplate...I don't know if I am ready to put effort into it except for whatever's avail. Don't ask me why, it's just a gut thing for now... 1 oscMarket reacted to this Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 29, 2018 Collapsible menu Thanks for remembering me @LeeFoster 1 valquiria23 reacted to this BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
♥clustersolutions 94 Posted July 29, 2018 It's looking nice! 1 oscMarket reacted to this Share this post Link to post Share on other sites
LeeFoster 40 Posted July 29, 2018 Just now, wHiTeHaT said: Collapsible menu Thanks for remembering me @LeeFoster I'd just seen this in your last screen print. 1 oscMarket reacted to this Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 29, 2018 1 minute ago, clustersolutions said: The only thing is I am indifferent with $oscTemplate...I don't know if I am ready to put effort into it except for whatever's avail. Don't ask me why, it's just a gut thing for now... $oscTemplate is only spitting out arrays of content. I think it is the most simple approach. BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 29, 2018 1 minute ago, LeeFoster said: I'd just seen this in your last screen print. But i owned it to you 1 valquiria23 reacted to this BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
♥clustersolutions 94 Posted July 29, 2018 Hence.... Quote for now... 1 oscMarket reacted to this Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 29, 2018 (edited) i wonder if this is something worth trying:https://azouaoui-med.github.io/pro-sidebar-template/bootstrap4/ Now as we can use : $oscTemplate->buildBlocks(); $oscTemplate->addBlock($block, $group); $oscTemplate->hasBlocks($group); $oscTemplate->getBlocks($group); And even for "right boxes" there is some room. In (almost) each admin file this could be replaced: if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo '<div class="col-md-4" >' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo '</div>' . "\n"; } A little imagination for it required.......... Let's take the TOOLS from the columnLeft. It could directly link to a $oscTemplate->getContent('tools'); content module. Then in the "right" Show the links to all kind of tools. As these are more "view" parts of the admin and not have any configuration options. Edited July 29, 2018 by wHiTeHaT BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
♥clustersolutions 94 Posted July 29, 2018 (edited) I think I would keep uncoupling html and php in my mind, but if it is easy peasy I would say go for it. Remember, V3 ended with the attempt to uncouple html and php, and 2.4 I think had an attempt to do that also. You don't want to continue diving into the deep end. You know you can borrow from existing framework's MVC? Oh, for now, again...you probably have a full plate. Edited July 29, 2018 by clustersolutions 1 oscMarket reacted to this Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 29, 2018 (edited) The oscTemplate is already MV The C(ontroller) is missing couse of the lack of decent classes. And yes could use routes. Still, using the oscTemplate like we use it now. Comes closest to an MVC. Backporting to an MVC with only MV is much more easier. Edited July 29, 2018 by wHiTeHaT 1 1 valquiria23 and clustersolutions reacted to this BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
dr_lucas 38 Posted July 29, 2018 @wHiTeHaT It's a nice touch BS4 in the admin, but I think having fly-out menus (on hover) is significantly better and required... 1 oscMarket reacted to this Did I help you? Click "Like" or "Thanks"! It's free of charge. :)My contributions:Total Configuration (newly updated 07/2018, for both osC 2.2 and 2.3.4.1 BS Frozen CE)User Tracking with Admin 1.0 (newly updated 07/2018)FedEx - Web Services v9, FAQ System , Who's Online Enhancement, Order Editor, MoneyBookers IPN, Ship in Cart (MS2), Admin Products Paging, Margin Report v1.00, 2Checkout INS / IPN (Instant Notification System) for MS2.2, Visitor Web Stats, Time Zone Offset - Adjust to match your location, Category Meta Tags Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 29, 2018 Just now, dr_lucas said: It's a nice touch BS4 in the admin, but I think having fly-out menus (on hover) is significantly better and required... It is not only BS4. The same system that is used in your front-end for boxes can be used in the admin. So if you choose to fly-out.........................https://apps.oscommerce.com/ 1 dr_lucas reacted to this BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
dr_lucas 38 Posted July 29, 2018 (edited) Naah, not a contribution, I truly believe it must be added to the core by now. See: http://demo.prestashop.com/en/?view=back Edited July 29, 2018 by dr_lucas 1 oscMarket reacted to this Did I help you? Click "Like" or "Thanks"! It's free of charge. :)My contributions:Total Configuration (newly updated 07/2018, for both osC 2.2 and 2.3.4.1 BS Frozen CE)User Tracking with Admin 1.0 (newly updated 07/2018)FedEx - Web Services v9, FAQ System , Who's Online Enhancement, Order Editor, MoneyBookers IPN, Ship in Cart (MS2), Admin Products Paging, Margin Report v1.00, 2Checkout INS / IPN (Instant Notification System) for MS2.2, Visitor Web Stats, Time Zone Offset - Adjust to match your location, Category Meta Tags Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 29, 2018 37 minutes ago, dr_lucas said: Naah, not a contribution, I truly believe it must be added to the core by now. https://github.com/osc2nuke/oscommerce-2.3.4.1-CE Here you can show how it must be done. BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 29, 2018 The idea for the admin is that eventually you can add your own coded boxes. The "core" developers only give YOU the opportunity. BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 29, 2018 I must admin (as this repository is still under devellpment) the oscTemplate *boxes calls are not yet done. The whole menu on the left (columnLeft) is only 1 call to Tree up the whole menu. BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
♥frankl 277 Posted July 29, 2018 On 29/07/2018 at 7:24 AM, wHiTeHaT said: Now that i active work on the admin, i see it have A LOT OF POTENTIAL. I can guarantee you that any store owner that receives more than a few orders a day has had to modify their admin. Modularity, classes, hooks etc are the way to go for admin. 1 1 oscMarket and cupidare reacted to this Let's make things easier for new osCommerce users http://forums.oscommerce.com/topic/402638-discussion-about-hard-coded-database-tables/?p=1718900 Getting there with osCommerce 2.4! Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 30, 2018 57 minutes ago, frankl said: I can guarantee you that any store owner that receives more than a few orders a day has had to modify their admin. "als de ene koe schijt, schijt de andere ook" 2 Rwe and JcMagpie reacted to this BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
dr_lucas 38 Posted July 30, 2018 8 hours ago, wHiTeHaT said: https://github.com/osc2nuke/oscommerce-2.3.4.1-CE Here you can show how it must be done. Thanks. I am pretty sure you are a much better programmer than I am. Did I help you? Click "Like" or "Thanks"! It's free of charge. :)My contributions:Total Configuration (newly updated 07/2018, for both osC 2.2 and 2.3.4.1 BS Frozen CE)User Tracking with Admin 1.0 (newly updated 07/2018)FedEx - Web Services v9, FAQ System , Who's Online Enhancement, Order Editor, MoneyBookers IPN, Ship in Cart (MS2), Admin Products Paging, Margin Report v1.00, 2Checkout INS / IPN (Instant Notification System) for MS2.2, Visitor Web Stats, Time Zone Offset - Adjust to match your location, Category Meta Tags Share this post Link to post Share on other sites
♥oscMarket 420 Posted July 30, 2018 @dr_lucas , you have a nice list of addons. I'm sure you know how to code a bm_* module. BreadBuilder for osCommerce, New Way to Admin osCommerce!CONTACT ME as i am for HIRE Share this post Link to post Share on other sites
dr_lucas 38 Posted July 30, 2018 Didn't write the addons, just copied and pasted other people work. 1 oscMarket reacted to this Did I help you? Click "Like" or "Thanks"! It's free of charge. :)My contributions:Total Configuration (newly updated 07/2018, for both osC 2.2 and 2.3.4.1 BS Frozen CE)User Tracking with Admin 1.0 (newly updated 07/2018)FedEx - Web Services v9, FAQ System , Who's Online Enhancement, Order Editor, MoneyBookers IPN, Ship in Cart (MS2), Admin Products Paging, Margin Report v1.00, 2Checkout INS / IPN (Instant Notification System) for MS2.2, Visitor Web Stats, Time Zone Offset - Adjust to match your location, Category Meta Tags Share this post Link to post Share on other sites