This is a very good module. I will however like to report something I feel is a bug. I stand to be corrected if I'm wrong. I inserted 3 collapsible nodes into another node, but unfortunately, only one appears to be collapsible.

My question is, Is it possible for the 3 nodes to be collapsible? Just for the brevity, this is how I have inserted the code;

[node:10 collapsed]
[node:11 collaped]
[node:12 collapsed]

Thanks.

Comments

AlexisWilke’s picture

drecute,

There should not be any reason why that wouldn't work. I'll have to give it a try and see whether I can make it fail.

Thank you for your report!
Alexis Wilke

drecute’s picture

Thanks Alexis.

I hope to see the report of your findings very soon.

drecute’s picture

I see no update on this yet. Any update will be gladly appreciated.

AlexisWilke’s picture

drecute,

Note that in your example, the 2nd line is wrong. There's a missing 's'. Would that fix the problem?

Thank you.
Alexis

drecute’s picture

No Alexis, that's just a typo. I've on this for more than 2 weeks now trying to know what the problem is. But no idea. I'm suggesting it has something to do with the css class or id. I don't know. I'm just guessing.

drecute’s picture

From my observation, it seems InsertNode module does not integrate well with geshifilter module. I noticed once you insert more than one geshi source code node type in a node using insertnode module, the HTML breaks and does not render the geshi node properly.

AlexisWilke’s picture

I tried with one a while back and it worked, I will create some more and see what happens... geshifilter looks nice! 8-)

Thank you.
Alexis

AlexisWilke’s picture

Assigned: Unassigned » AlexisWilke

drecute,

Okay! Got it! For an immediate fix, add the word "content" to your tags as in:

[node:123 content collapsed]

Then it will include the content. Yet, I found the reason why it would not work. Actually, [node:123] would not work!? The fact is I used the default theme (InsertNode_default) which was not defined in the list of supported themes. Because of that, it looked like it was empty. Now, I'm not too sure why it would work with just 1 for you. It did not work with any for me!

I wrote 3 nodes with simple code and I added another node with references to those three nodes and it worked. Then I added the collapsed and it is still working. (Now I'm not too sure what's up with the vertical scrollbar, but that's not an InsertNode issue.)

Sample:

http://linux.m2osw.com/multi_code_node

I'm checking things in now, it may take up to 12h to get it updated in the Drupal project.

Thank you.
Alexis Wilke

drecute’s picture

From the link you entered above, it really looks great. Obviously, I will have to wait for the committed changes. I will let you know if everything works out well for me.

As per the vertical scrollbar, I believe that is a geshifilter settings issue. If geshifilter settings is done properly, it should like this

Thanks.

AlexisWilke’s picture

It seems to me that the scrollbar problem is the fieldset used by the collapsible feature.

Your link shows some <code> blocks without a fieldset and that's not what you will get here.

Thank you.
Alexis

AlexisWilke’s picture

Status: Active » Fixed

You did not report yet so I will assume that this works now. Feel free to re-open the issue if you still have problems.

Thank you.
Alexis

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.