Looks like Bootstrap has its own collapse implementation by default that appears to conflict with this module.

Comments

DaPooch created an issue. See original summary.

silverham’s picture

Title: Conflict with Collapes in Bootstrap Theme » Conflict with Collapse Text in Bootstrap Theme
Status: Active » Needs review
StatusFileSize
new4.71 KB

Looks to be related to theming where cache version is generated outside the theme layer (e.g. admin theme), so the collapase markup doesn't have the bootstrap theming done. #2351731: hook_element_info_alter() does not always get invoked in themes Not stricting a drupal core issue, rather a side effect.

Some options look like:

  1. Add another text format that prevents caching in hook_filter_info()
  2. Dectect if unthemed then regenerate the text.

Patch coming up of what could work using detection.

silverham’s picture

Updated patch to support adding an extra class for debugging purposes an small bug fix.

dydave’s picture

Status: Needs review » Closed (outdated)

Drupal 7 is not supported anymore, therefore this issue is unlikely to go any further.

Additionally: No activity or reply for more than 6 years.

If this issue is still valid for more recent versions of the module and Drupal core, please create a new ticket with the appropriate version.

Marking issue as Closed (outdated), for now.

Thanks everyone for your interest in the Collapse Text module and contributions! 😊

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.