Git Product home page Git Product logo

Comments (13)

b-creative avatar b-creative commented on July 18, 2024

Please upgrade to DNN 9.6.1 (Fixed many reported issues by updating jQuery to 3.5.1 and fixed an issue with search results page rendering due to jQuery 3.5.0 breaking changes.)

from dnn-theme-bootstrap4-instant.

enfJoao avatar enfJoao commented on July 18, 2024

from dnn-theme-bootstrap4-instant.

iJungleboy avatar iJungleboy commented on July 18, 2024

@SirAjZellweger could you check this? It could just be a temporary bug with dnn 9.6 fixed in 9.6.1, but it could also be that we need to enhance something so it works with old and new jquery

from dnn-theme-bootstrap4-instant.

iJungleboy avatar iJungleboy commented on July 18, 2024

Just fyi: from what we see the issue is that the standard CSS we build for the theme is optimized for the current need, and doesn't include all possible Bootstrap parts. Including all by default slows down the page and of course gets punished by Google PageSpeed.
If you need them, you need to activate the Bootstrap Modules like this one: https://github.com/2sic/dnn-theme-bootstrap4-instant/blob/master/src/scss/theme.scss#L43

@SirAjZellweger will create a checklist how to go about this.

from dnn-theme-bootstrap4-instant.

enfJoao avatar enfJoao commented on July 18, 2024

You could make these inclusions modular with a simple setting.

from dnn-theme-bootstrap4-instant.

iJungleboy avatar iJungleboy commented on July 18, 2024

@existenze I assume you mean a setting somewhere in DNN. That wouldn't work, since changing it means Webpack must run SASS again. So we can't just do this in a UI.

from dnn-theme-bootstrap4-instant.

enfJoao avatar enfJoao commented on July 18, 2024

from dnn-theme-bootstrap4-instant.

iJungleboy avatar iJungleboy commented on July 18, 2024

Since that mechanism with the imports is very Bootstrap Standard, we believe it's better to stick to that. Otherwise we add another layer of complexity.

from dnn-theme-bootstrap4-instant.

enfJoao avatar enfJoao commented on July 18, 2024

from dnn-theme-bootstrap4-instant.

enfJoao avatar enfJoao commented on July 18, 2024

BTW, you have these two lines in the src/scss/_variables.scss

@import "../../node_modules/bootstrap/scss/functions";
@import "../../node_modules/bootstrap/scss/mixins";

The "mixins" folder exists, but the "functions" one does not.

from dnn-theme-bootstrap4-instant.

iJungleboy avatar iJungleboy commented on July 18, 2024

@SirAjZellweger could you check?

from dnn-theme-bootstrap4-instant.

SirAjZellweger avatar SirAjZellweger commented on July 18, 2024

BTW, you have these two lines in the src/scss/_variables.scss

@import "../../node_modules/bootstrap/scss/functions";
@import "../../node_modules/bootstrap/scss/mixins";

The "mixins" folder exists, but the "functions" one does not.

These two lines import the following scss files:

from dnn-theme-bootstrap4-instant.

iJungleboy avatar iJungleboy commented on July 18, 2024

@existenze Just fyi: the import statement imports the files mentioned above, not the folders. So the folders are not relevant.

@SirAjZellweger created a checklist for future people looking for this: https://azing.org/2sxc/r/27gI3jSt

from dnn-theme-bootstrap4-instant.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.