Jump to content

Recommended Posts

For some of you this might be old news but Bootstrap 4 is coming and it comes with a couple of new features.

 

Read more here: http://blog.getbootstrap.com/2015/08/19/bootstrap-4-alpha/

 

As with many updates some old features/function get dropped and replaced with new stuff.

I don't know if osC gonna update to BS4 but if it does there is some code cleaning to do.

Share this post


Link to post
Share on other sites

Will need some recoding.

 

http://v4-alpha.getbootstrap.com/components/card/#decks

 

http://v4-alpha.getbootstrap.com/components/card/#columns

 

 

We can (at last) get rid of all that crappy equal-heights guff that cause so many problems.

Edited by burt

This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

I don't know if osC gonna update to BS4 but if it does there is some code cleaning to do.

 

Code cleaning has commenced in anticipation of v4.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

@@burt

 

I got a bit time on my hands now so if there is anything I can help you out with, even tedious code removal or cleaning, just tell me.

Did you install and test BS4 Alpha already? Did you take a closer look at the whole card #decks and card #columns stuff?

Edited by Tsimi

Share this post


Link to post
Share on other sites

@@burt

 

Would it not be great to have a separate repository to convert the current EDGE to BS4?

Or create a 2nd GOLD release first with current status of EDGE and continue to convert the current EDGE ahead to BS4?

Edited by Tsimi

Share this post


Link to post
Share on other sites

I couldn't wait and installed BS4 into the latest EDGE and...man it looks messy at least now it is.

I cleaned the boxes first and replaced the panel stuff with cards and it looks better now.

Still there are many small changes necessary to get it look more or less like the old BS version.

Fonts seem to be a bit bigger then before maybe because of this whole rem and em conversion?

Here a list what I have found so far;

  • btn-default removed, use btn-secondary instead (html_output.php)
  • panels removed and replaced by card (for boxes)
  • nav and navbar changed, additional classes need to be added to <a> and <li> tags
  • dropdown changed same as nav and navbar, additional classes are needed
  • button-groups changed, btn-secondary is needed
  • nav-pills no hover anymore, added in user.css for now
  • h1, h2, h3, h4, h5, h6 margin-top removed
  • px replaced with rem or em
  • need to add class="blockquote" to blockquote

Just finished the product info page and will continue to look at the index.php page, stuff like new products and then product_listing.php

Interesting this new BS stuff it makes some stuff easier and some stuff I ask why did they remove that? Well, as with all new things you need to get used to it.

Edited by Tsimi

Share this post


Link to post
Share on other sites

@@burt

 

Would it not be great to have a separate repository to convert the current EDGE to BS4?

Or create a 2nd GOLD release first with current status of EDGE and continue to convert the current EDGE ahead to BS4?

 

I think this has merit. For add on purposes, it would be able for the shop owner to discuss with the developer what specific version is being used in a shop in that some add ons may not be compatible with Gold, Edge and whatever all at the same time.

 

Sans that I may tag my cloned repository to the last commit before BS 4 changes are made.  Or tag specific BS 4 commits only.

Edited by altoid

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Share this post


Link to post
Share on other sites

Good plan.  So far the only change is the removal of glyphicons.  No big deal.

 

Bear in mind that v4 bootstrap is a (relatively) long way off - it's only at Alpha and was rushed out to co-incide with their 4th birthday.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

Yeah, I know. It might be indeed too early to go too deep into BS4. Many things might still change in the next few months.

It is just so exciting to test the new things out. It is just me getting too over-excited.

Share this post


Link to post
Share on other sites

2.5 years later, and bsv4 is a reality => https://blog.getbootstrap.com/2018/01/18/bootstrap-4/

Next problem, finding time to update Community Version from bsv3 to bsv4.  


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×