Dan Cole Posted January 8, 2017 Author Share Posted January 8, 2017 Just wanted to keep a list of what changes are needed.... 1. Change Error message to explain data requirement.2. Adjust configuation install to change description of the module...thanks Bill.3. Revisit how dependencies are added. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
Dan Cole Posted January 8, 2017 Author Share Posted January 8, 2017 @@greasemonkey I don't think I touched the jquery but I'll take a look at that. Scott...can I assume that you are using EDGE? Looks like the jquery version was changed between GOLD and EDGE. I was using a GOLD file. Assuming that is the issue...I'll change how the dependencies are added. I think I need to revisit how the bootstrap link is added as well. More investigation needed. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
Omar_one Posted January 8, 2017 Share Posted January 8, 2017 @@Dan Cole I had the same problem what @@greasemonkey post it Insufficient data available to produce iBar Chart. Work well after change the time period. I noticed that the left column became more narrow. BR Omar Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
Dan Cole Posted January 8, 2017 Author Share Posted January 8, 2017 I've been chewing on how best to add bootstrap to the admin side of the shop so we can have a dashboard page with control of the column widths etc. without messing up the rest of the back end. I had a look at the work that @@GLWalker did and it seems that he replaced the table with a fixed div width. Because of the use of tables or in the case of GLW.s table replacement it looks like the dashboard modules are read in to determine the positioning of the dashboards and that got me to wondering if that was necessary or desirable ....in the modular shopping cart build I think we just loaded in the modules based on the sort order and allowed that as well as the column width that we chose, to determined the placement of the modules. Does anyone see any problems doing that same sort of thing with the dashboards? @@Tsimi Lambros I know you did a Bootstrap admin at one point....how did you tackle the dashboards? Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
Omar_one Posted January 8, 2017 Share Posted January 8, 2017 @@Dan Cole I create another module based on your i_bar module. it is about orders. Would you like me to send it to you? And if anyone want to test it BR Omar Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
Dan Cole Posted January 8, 2017 Author Share Posted January 8, 2017 @@Omar_one Yes please...I was wondering if two modules would play nicely together. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
ecommunlimited Posted January 8, 2017 Share Posted January 8, 2017 @@Omar_one I'll test it out. I'll PM you my email address. Take care Bill Link to comment Share on other sites More sharing options...
Omar_one Posted January 8, 2017 Share Posted January 8, 2017 @@Dan Cole @@ecommunlimited I sent the module to your email. It need some sorting so they (customer module and order module) will be side by side. BR Omar Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
Dan Cole Posted January 8, 2017 Author Share Posted January 8, 2017 @@Omar_one Thanks Omar....looks nice and works well. You have the same couple of issues that I referenced in my things that need fixing note and I also noticed that your link to the order.php page needs to link to orders.php but otherwise well done....I think before we create a bunch of these modules we should fix up the errors I mentioned previously (I've sorted those out but haven't repackaged it yet) and figure out what to do with the bootstrap sorting and width issues. That is the more challenging thing that needs to be addressed. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
Omar_one Posted January 8, 2017 Share Posted January 8, 2017 @@Dan Cole I will create visitor module, but I need addon which can sort visitor data on the database. Do you know any good visitor addon? Omar Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
Dan Cole Posted January 8, 2017 Author Share Posted January 8, 2017 @@Omar_one Omar what do you mean by visitor? Is there a table in the database that has the data you want to display? Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
Omar_one Posted January 8, 2017 Share Posted January 8, 2017 @@Dan Cole there is no table in the database what I want to display... I was mean that if you know any addon will sort the webshop visitor in the database so that we can make another module called Visitor, and include it on your module sorry for my bad english Omar Get the latest Responsive osCommerce CE (community edition) here . Link to comment Share on other sites More sharing options...
Dan Cole Posted January 8, 2017 Author Share Posted January 8, 2017 @@Omar_one Sorry Omar...I don't know...I would probably start a thread describing what information you want to gather and ask if anyone can suggest how you would go about doing that. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
♥Tsimi Posted January 8, 2017 Share Posted January 8, 2017 @@Dan Cole I just put on the Bootstrap skin. I barely changed any code. Link to comment Share on other sites More sharing options...
Dan Cole Posted January 9, 2017 Author Share Posted January 9, 2017 @@Tsimi @@Dan ColeI just put on the Bootstrap skin. I barely changed any code. That is Interesting Lambros...did the formatting hang together? I added the bootstrap.css and things got a bit wonky. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
Dan Cole Posted January 9, 2017 Author Share Posted January 9, 2017 in the modular shopping cart build I think we just loaded in the modules based on the sort order and allowed that as well as the column width that we chose, to determined the placement of the modules. Does anyone see any problems doing that same sort of thing with the dashboards? I answered my own question. I pulled the divs, tables etc out of the index file and it seems to work okay...I have easy control over the column widths and placement of the modules so this should work out okay. I have some css work to do (anyone like working with css? - it bores me to tears) and the other dashboards will need to be edited a bit but it should give us a pretty nifty dashboard when complete. I'll try to post a screen shot so you can see what I'm babbling about. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
♥Tsimi Posted January 9, 2017 Share Posted January 9, 2017 @@Tsimi That is Interesting Lambros...did the formatting hang together? I added the bootstrap.css and things got a bit wonky. Dan The only thing that I had issues with was the 2 graphs for sale and customers.But eventually got that working too. If you want to have a look at the files just download it from github. https://github.com/Tsimi78/osCommerce-GOLD-AdminBS Link to comment Share on other sites More sharing options...
Dan Cole Posted January 9, 2017 Author Share Posted January 9, 2017 Here is that screen shot....don't pay any attention to the data....it's an old test database that is a bit wonky. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
Dan Cole Posted January 9, 2017 Author Share Posted January 9, 2017 The only thing that I had issues with was the 2 graphs for sale and customers. But eventually got that working too. If you want to have a look at the files just download it from github. https://github.com/Tsimi78/osCommerce-GOLD-AdminBS @@Tsimi Thanks Lambros...I had a look and you're right, you barely touched the code, at least on the pages I looked at. As you've probably seen from my posts above I took a run at reworking index.php and it seems to work as I want now. Thanks for replying... Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
ecommunlimited Posted January 9, 2017 Share Posted January 9, 2017 @@Dan Cole Check your email, I set you a zip file of the package. Couldn't get the zip to go through PM for some reason. Let me know what else you need done. Take care Bill. Link to comment Share on other sites More sharing options...
ecommunlimited Posted January 9, 2017 Share Posted January 9, 2017 @@Omar_one I tested your orders mod and it worked fine. I did some packaging work for Dan and a lot of it you can be used for your mod if you wish too. I'm sending the zip by email. Change it per your need. Take care Bill Link to comment Share on other sites More sharing options...
greasemonkey Posted January 9, 2017 Share Posted January 9, 2017 Yes, it would seem the bootstrap css is overwritting all the css for the admin. Is the boostrap 100% necessary? Maybe we can strip out the required elements only and add them to the ibar.css? Link to comment Share on other sites More sharing options...
Dan Cole Posted January 9, 2017 Author Share Posted January 9, 2017 @@greasemonkey My lastest change...restricting bootstrap to just the dashboard/index.php page seems to have sorted it out....there is still some css that needs adjusting but it is only on that page now. The rest of the admin functions as it normally does. All that was needed was to move the changes in template_top.php to index.php. It is not ideal but it works. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
ecommunlimited Posted January 9, 2017 Share Posted January 9, 2017 @@Dan Cole If you do as you suggested and move the css code from the admin/includes/template_top.php to the admin/index.php, you can remove the <link href="ext/bootstrap/css/bootstrap.min.css" rel="stylesheet"> from the block of code and the only thing that will not work is the Content Width. All else will work just fine. That way it doesn't bootstrap the admin/index.php and most of the dashboard does not have the Content Width function anyway. <!-- BOF iBar additions --><link rel="stylesheet" type="text/css" href="includes/iBar.css"><link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"><!-- BOF iBar additions --> Take care Bill Link to comment Share on other sites More sharing options...
Dan Cole Posted January 9, 2017 Author Share Posted January 9, 2017 @@Dan Cole If you do as you suggested and move the css code from the admin/includes/template_top.php to the admin/index.php, you can remove the <link href="ext/bootstrap/css/bootstrap.min.css" rel="stylesheet"> from the block of code and the only thing that will not work is the Content Width. All else will work just fine. That way it doesn't bootstrap the admin/index.php and most of the dashboard does not have the Content Width function anyway. <!-- BOF iBar additions --> <link rel="stylesheet" type="text/css" href="includes/iBar.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <!-- BOF iBar additions --> Take care Bill @@ecommunlimited Yup...I know but I want the ability to control the width....the other dashboard modules use a 50% width and it would also give us the ability to change those as well. My last point...I'm stubborn also. :) Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.