Not planed to upgrade to the latest available version ?
https://github.com/twbs/bootstrap/releases/v3.4.1
OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
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
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
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>
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
Code: Select all
sanitize: false,
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Users browsing this forum: No registered users and 322 guests