Post by Pamella » Tue Jun 08, 2021 4:25 am

Hi, do you know why dashboard's Bootstrap version is 3.3.7 (css) / 3.3.1 (js) and 3.3.5 (css/js) at front office
Not planed to upgrade to the latest available version ?
https://github.com/twbs/bootstrap/releases/v3.4.1
Last edited by Pamella on Tue Jun 15, 2021 4:24 am, edited 1 time in total.

OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4


New member

Posts

Joined
Tue Oct 25, 2011 4:22 am

Post by thekrotek » Tue Jun 08, 2021 4:44 am

No.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by JNeuhoff » Tue Jun 08, 2021 4:50 pm

The latest bootstrap version is 5.0.1. Daniel is currently integrating bootstrap 5 into the upcoming OpenCart 4, and so far bootstrap 5 has been a real pain in the neck, there are simply too many changes with bootstrap breaking backward compatibility and page layouts.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Pamella » Wed Jun 09, 2021 4:20 am

Yes, in fact I'm speaking about Bootstrap 3.x branch ;) only (at this time)

OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4


New member

Posts

Joined
Tue Oct 25, 2011 4:22 am

Post by ADD Creative » Wed Jun 09, 2021 7:52 pm

Pamella wrote:
Wed Jun 09, 2021 4:20 am
Yes, in fact I'm speaking about Bootstrap 3.x branch ;) only (at this time)
Although there are updates to the 3.x branch, I wouldn't say it's fully maintained. I would say the work involved means it's unlikely to be updated.
viewtopic.php?f=125&t=220306#p801728

Bootstrap 3.x is already almost 2 years past it's end of life anyway.
https://github.com/twbs/release

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Pamella » Thu Jun 10, 2021 5:51 pm

Thanks @ADD Creative to share this topic about Bootstrap

Right we 're late ;) our website is sill running Bootstrap v3 mainly (v4 sometimes)

OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4


New member

Posts

Joined
Tue Oct 25, 2011 4:22 am

Post by johnp » Thu Jun 10, 2021 5:57 pm

I have to say I like Bootatrap 3. Call me a dinosaur or luddite. Lol. :)

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by Pamella » Fri Jun 11, 2021 10:38 pm

Upgraded Bootstrap files to 3.4.1 then there is an issue with image button (edit / delete icons aren't displayed in pop-over) on dashboard's category, product, manufacturer, etc pages

Starting point...

Code: Select all

<div class="popover-content">
<button type="button" id="button-image" class="btn btn-primary"><i class="fa fa-pencil"></i></button> 
<button type="button" id="button-clear" class="btn btn-danger"><i class="fa fa-trash-o"></i></button>
</div>
Tried to find in OpenCart javascript (common.js) something to update but without success!

Code: Select all

	// Image Manager
	$(document).on('click', 'a[data-toggle=\'image\']', function(e) {
		var $element = $(this);
		var $popover = $element.data('bs.popover'); // element has bs popover?

		e.preventDefault();

		// destroy all image popovers
		$('a[data-toggle="image"]').popover('destroy');

		// remove flickering (do not re-add popover when clicking for removal)
		if ($popover) {
			return;
		}

		$element.popover({
			html: true,
			placement: 'right',
			trigger: 'manual',
			content: function() {
				return '<button type="button" id="button-image" class="btn btn-primary"><i class="fa fa-pencil"></i></button> <button type="button" id="button-clear" class="btn btn-danger"><i class="fa fa-trash-o"></i></button>';
			}
		});
(...)

OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4


New member

Posts

Joined
Tue Oct 25, 2011 4:22 am

Post by xxvirusxx » Sun Jun 13, 2021 4:33 pm

Add

Code: Select all

sanitize: false,
to popover.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by Pamella » Sun Jun 13, 2021 9:04 pm

Great idea ;-) many thanks @xxvirusxx for now it's working even if using Bootstrap popover.js 3.4.1

OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4


New member

Posts

Joined
Tue Oct 25, 2011 4:22 am

Post by Pamella » Tue Jun 15, 2021 4:23 am

Not using all features but not seen issues on dashboard and front office (once upgraded to Bootstrap 3.4.1), so I 'll close this topic

OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4


New member

Posts

Joined
Tue Oct 25, 2011 4:22 am
Who is online

Users browsing this forum: SohBH and 267 guests