Closed (outdated)
Project:
Collapse Text
Version:
7.x-2.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2011 at 05:35 UTC
Updated:
8 Nov 2025 at 02:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pukku commentedHi! Can you give me some examples of what you mean? My guess is that Textile is stripping information from the collapse_text tags, which is why none of the options work if Textile is above it. I know that Markdown by default ignores already extent block tags and everything inside them, so it's possible that a similar feature of Textile is why it doesn't work if you put Textile below...
Comment #2
pukku commentedComment #3
dydave commentedNo more feedback on this issue for more than two years.
I would assume a solution should have already been found by ticket's author who posted more than three years ago.
Additionally ticket's author didn't provide any additional information, even though it had been explicitly requested by @pukku in #1. Therefore, no follow-up was ever given to this issue.
We're left to guessing whether the possible issue mentioned in #1 could have been the problem:
In other words, we could guess that the potential solution would have been to change the order of the filters to have the Textile filter after the Collapse Text filter.
Although we will never know for sure whether this was the problem, since user never reported back, I allowed myself to mark this issue as Fixed for now, but feel free to re-open it, or post a new ticket, at any time if you have any further objections with suggested solution (we would surely be happy to hear your feedback).
Please let us know if you would have any further comments, feedback, questions, issues, objections, suggestions or concerns on this comment or ticket in general, we would be glad to provide more information or explain in more details.
Many thanks to everyone for your great help, reviews, testing, reporting and participation for the improvement of this module.
Cheers!
Comment #4
silurius commentedI do not have Textile installed, and I cannot seem to make collapsible text be collapsed by default, even when the filter is last to fire in my text format. But the title, and everything else, works fine. What additional info should I provide?
Comment #5
dydave commentedHi @silurius,
Thanks for following-up on this ticket.
Actually, I would guess the problem you encountered is most likely a bit different from the one that was discussed in this ticket.
But anyway, while we're at it, we might as well try to fix/answer your problem here.
Could you please copy/paste the code that you have in your node?
Please copy/paste here the contents of the field that should display with Collapse Text filter.
It's the piece that should contain something like
[collapse ....] ... some content .... [/collapse].Otherwise, I wanted to ask if you already tried changing the Collapse Text markup from:
[collapse ....] ... some content .... [/collapse]To
[collapsed ....] ... some content .... [/collapsed]Watch carefully the d that was added at the end of the word collapse: collapsed.
This should be the correct syntax for displaying collapsible text collapsed by default.
Feel free to let me know if you would have any additional questions, concerns or problems, I would surely be glad to provide more information.
Thanks in advance for your testing/reporting, comments and feedback.
Comment #6
silurius commentedIn my node field, I have:
[collapsed title="Some title text"][view:myviewname=myviewdisplay][/collapsed]. I am using the Insert view module.I was actually omitting the "d" at the end of the close bracket (it was
[/collapse]) but adding the "d" and clearing caches did not resolve the issue. Same result when I drag Insert view filter down below the Collapsible text blocks filter.However, testing again with just simple text and no inserted view display, it collapses by default as desired. So maybe Collapse Text is just partially incompatible with Views or Insert view. I should have tested that in the first place before posting here.
Comment #7
silurius commentedComment #8
denes.szabo commentedActually, the collapsed part does not work to me, but I am not using view display.
My text text is:
(latest copied from a comment above).
The result is in the attached shot. Seems, the text processed well, but not collapsed. Somehow, the display:none is missing from the fieldset-wrapper div.
I corrected my output in CSS (compass code):
With this fix, It seems work.
I had no time to dig deeper now, sry. I hope, I had time soon.
Comment #9
dydave commentedDrupal 7 is not supported anymore, therefore this issue is unlikely to go any further.
Additionally: No activity or reply for more than 10 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! 😊