No Code Attached Yet
avatar PhocaCz
PhocaCz
26 Oct 2021

Steps to reproduce the issue

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.

Expected result

Collapse feature works.

Actual result

Collapse feature does not work.

System information (as much as possible)

Joomla 4.0.3

The question is, should some additional Javascript library be loaded to run standard Bootstrap collapse feature?

Thank you, Jan

avatar PhocaCz PhocaCz - open - 26 Oct 2021
avatar joomla-cms-bot joomla-cms-bot - change - 26 Oct 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Oct 2021
avatar HLeithner
HLeithner - comment - 26 Oct 2021

Afaik Cassiopeia doesn't use bootstrap, maybe that's the reason some JS files are missing?

avatar PhocaCz PhocaCz - change - 26 Oct 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-10-26 15:52:03
Closed_By PhocaCz
avatar PhocaCz PhocaCz - close - 26 Oct 2021
avatar PhocaCz
PhocaCz - comment - 26 Oct 2021

@HLeithner Thank you for this info, now I understand it.

This

HTMLHelper::_('bootstrap.collapse', '');

did the trick.

Thank you, Jan

avatar brianteeman
brianteeman - comment - 26 Oct 2021

Afaik Cassiopeia doesn't use bootstrap, maybe that's the reason some JS files are missing?

NO!!!!

avatar HLeithner
HLeithner - comment - 26 Oct 2021

Afaik Cassiopeia doesn't use bootstrap, maybe that's the reason some JS files are missing?

NO!!!!

Right, my fault.

Add a Comment

Login with GitHub to post a comment