Giter Site home page Giter Site logo

Comments (3)

pepperstreet avatar pepperstreet commented on June 27, 2024

Good point. A general problem with most template frameworks and the way J! implemented bootstrap.

You may have a look into the Joomlart T3 framework. I remember, they check for bootstrap and joomla version, and switch/remove J! core bootstrap files with their own files from T3 folders. Not sure if this is a good solution, because it is "hardcoded" and not implemented as a template parameter/toggle.

@MHey @Bloggerschmidt
Please, have a look into *_template.php in T3 system plugin. See functions addHead() and *_updateHead()
.../plugin/plg_system_t3.vX.X.X/includes/core/template.php

Maybe helpful.

from blank.

acheloos-m avatar acheloos-m commented on June 27, 2024

Checked this, but it won't work here. I've just debugged it. At the very end of template loading the jui/bootstrap file isn't set, neither in $doc->_scripts nor in $headdata['scripts'] , so you can't eliminate it the way it's did in the T3 plugin. Seems like it's added elsewhere?

But i found a simple workaround:
You're able to overide the file in /media/jui/ by adding a juifolder to $template/js/. Then simply by adding a empty file called bootstrap.min.js you can use your very own js files as defined in logic.php.

from blank.

schmidt1024 avatar schmidt1024 commented on June 27, 2024

The way bootstrap is implemented in joomla is not the best way. A clean way is to write overrides, e.g. for mod_breadcrumbs and comment out the bootstrap framework like //JHtml::_('bootstrap.tooltip');.

from blank.

Related Issues (20)

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.