By mtnpavlas on Friday, 08 October 2021
Replies 4
Likes 0
Views 1.4K
Votes 0
Hi, is there a plan to support Bootstrap 5? For our use cases, there were only a few lines of code in about 3 files I had to adjust (mainly things like data-toggle to data-bs-toggle, data-target to data-bs-target, data-dismiss to data-bs-dismiss, etc.). Just wondering how long I'll have to keep on updating the core jEvents files after upgrades since our template only supports BS5.

(Sorry if this has been published somewhere - I perused the blog and this forum, but couldn't find anything.) Thanks a ton!
Hello,

That means we are planning to support Bootstrap 3/4/5 individually whereby we use the native classes and let your themes bootstrap framework do the rendering. Like we do with http://www.easylayouts.net. At present we don't have a timeframe. We are currently working through J4 issues and support throughout Yoursites, EasyLayouts and JEvents and then we can look at new themes :-)

Many thanks
Tony
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Given the issues we have faced over the years with Bootstrap version clashes etc. We are slowly phasing it out in replacement for a custom namespaced UiKit for the backend. However, we will be doing native frontend interfacing CSS Frameworks :-)

Many thanks
Tony
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for your reply, Tony. I should have clarified I was asking about the front-end.
So when you say "we will be doing native frontend interfacing CSS Frameworks" ... what does that mean, and what timeframe you expect for that? Thanks a bunch!
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Got it - thanks, Tony, for the extra details. If it's of any help, here's all I needed to do to make jEvents work with BS5 (BS is turned off in jEvents config, and I'm using Helix Ultimate 2.0.5 if it helps anyone):

Altered /components/com_jevents/assets/js/editpopupJQ.js
Replaced data-dismiss="modal" with data-bs-dismiss="modal"

Altered /components/com_jevents/views/flatplus/helpers/flatpluseventmanagementbutton.php and flatpluseventicalbutton.php
Replaced data-toggle with data-bs-toggle
Replaced data-target with data-bs-target

Added a language override (I couldn't find the file this was coming from so this was a bit of a work-around)
Constant: JEV_CLOSE
Text: <button type="button" class="btn btn-default" data-bs-dismiss="modal">Cancel</button>
·
3 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post