Paste some example from this site: https://getbootstrap.com/docs/5.0/components/collapse/ to Cassiopeia index.php and try to run the collapse feature. It does not work.
Collapse feature works.
Collapse feature does not work.
Joomla 4.0.3
The question is, should some additional Javascript library be loaded to run standard Bootstrap collapse feature?
Thank you, Jan
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-10-26 15:52:03 |
Closed_By | ⇒ | PhocaCz |
@HLeithner Thank you for this info, now I understand it.
This
HTMLHelper::_('bootstrap.collapse', '');
did the trick.
Thank you, Jan
Afaik Cassiopeia doesn't use bootstrap, maybe that's the reason some JS files are missing?
NO!!!!
Afaik Cassiopeia doesn't use bootstrap, maybe that's the reason some JS files are missing?
NO!!!!
Right, my fault.
Afaik Cassiopeia doesn't use bootstrap, maybe that's the reason some JS files are missing?