Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 144
  • Created
  • Last Reply

@@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

Link to comment
Share on other sites

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   

Link to comment
Share on other sites

@@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

Link to comment
Share on other sites

@@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

Link to comment
Share on other sites

@@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

@@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

Link to comment
Share on other sites

@@Tsimi

 

@@Dan Cole

I 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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

@@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

Here is that screen shot....don't pay any attention to the data....it's an old test database that is a bit wonky.

 

post-182953-0-16207000-1483935970_thumb.jpg

 

Dan

Link to comment
Share on other sites

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

Link to comment
Share on other sites

@@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

Link to comment
Share on other sites

@@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

@@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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...