Keyword

[SOLVED] Dropdown bootstrap works incorrectly on cat. page

  • Jan Zoutendijk
  • Jan Zoutendijk's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 weeks ago #118471 by Jan Zoutendijk
Replied by Jan Zoutendijk on topic Re: Dropdown bootstrap works incorrectly on cat. page
What do you mean by the `default` one? As far as I can see bootstrap.js is only loaded on pages that use tooltips. What do you suggest is the best way to use the bootstrap framework for frontend development, if not loaded in the template index.php?

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 2 weeks ago #118472 by Yiota
By the default one I mean !Joomla's bootstrap.js.
You cannot avoid loading it through index.php either way.
This issue rose after version 3.1.5 where the library is loading when necessary.
If someone needs it for his/her frontend he could include the JHtml::_('bootstrap.framework') in order to use the already existing library instead of reloading it through another place.

You could read more about the use of that here:
docs.joomla.org/J3.1:Javascript_Frameworks

Please Log in or Create an account to join the conversation.

  • Jan Zoutendijk
  • Jan Zoutendijk's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 weeks ago #118473 by Jan Zoutendijk
Replied by Jan Zoutendijk on topic Re: Dropdown bootstrap works incorrectly on cat. page
Aah I understand now :) Though I'll still use the latest library from bootstrap 3. Your solution makes this possible!

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 2 weeks ago #118474 by Yiota
I'll mark this topic as solved then :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum