However, we did create equivalents for most of the Bootstrap JS components. One reason is because Bootstrap uses jQuery and we use AlloyUI, and loading multiple JS libraries is just an overall bad practice. We are only using the Bootstrap CSS and HTML conventions, but not any of their JavaScript. $FontAwesomePath: "aui/alloy-font-awesome/font" "aui/alloy-font-awesome/scss/core" īody "aui/alloy-font-awesome/scss/icons-alloy-extra" ĭo you support Bootstrap's JavaScript plugins? If you'd like to use our version of FontAwesome (so you can use resolution independent icons as well), go ahead and paste this code inside of your _diffs/css/custom.css: This will use the default bootstrap icons, so there may be one or two that we have added that may not show up for you. images/aui/ (and of course, deploy your theme). Open the aui.css file and do a find/replace with the following values: find.Inside of your theme's _diffs/css/ directory, create a file called aui.css.I'm assuming you're using the plugins SDK and are familiar with placing your files in the _diffs/ directory): If you're a theme developer, here's the easiest way you could accomplish that. How do I use my Bootstrap theme?Ī common case is that someone has taken a generated theme (from a site such as Bootswatch) and want to use it inside of Liferay. Hopefully that makes sense, and technically, you could still use Bootstrap 3 in your own theme and portlets (I'll go more into how this may be possible below). While in Liferay 6.2 we provided limited support for IE7 and below, it's just not feasible yet for this version to completely drop support for everyone across the board. It completely dropped support for IE7 and below.Trying to cram it in at the last minute would have led to nothing but major bugs, weeping, gnashing of teeth, etc. It was released on August 19th, 2013, roughly a month and a half before we were planning on releasing. Basically, the reason why we didn't use Bootstrap 3 comes down to 2 reasons: We have been following Bootstrap 3's development since it was first announced in December of 2012, so we knew it was coming and had been discussing it while we were working on the Alloy and Liferay portions of converting over to it. Why did you choose version 2.3.2 instead of 3? In order to alleviate your burning curiosity, I'll answer these questions first. Or maybe you didn't, but now that I've mentioned it, it's eating a hole in your brain. You may in fact have wondered those same things. Why do all of the Bootstrap rules have.Do you support Bootstrap's JavaScript plugins?.Why did you choose version 2.3.2 instead of 3?.If I had to sum-up, here are the most common questions I've gotten from developers about Bootstrap in 6.2: Jorge's discussed a lot of the benefits, and the feedback we've gotten from the community has definitely been great. With the release of Liferay 6.2, there have been a few questions regarding Bootstrap as well as general theme changes, and I'd like to take a minute to go into more details about what we've added, but also some of the rationale for some of the decisions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |