Closed (fixed)
Project:
InsertNode
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
22 Dec 2009 at 16:45 UTC
Updated:
29 Apr 2010 at 00:54 UTC
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
Comment #1
AlexisWilke commenteddrecute,
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
Comment #2
drecute commentedThanks Alexis.
I hope to see the report of your findings very soon.
Comment #3
drecute commentedI see no update on this yet. Any update will be gladly appreciated.
Comment #4
AlexisWilke commenteddrecute,
Note that in your example, the 2nd line is wrong. There's a missing 's'. Would that fix the problem?
Thank you.
Alexis
Comment #5
drecute commentedNo 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.
Comment #6
drecute commentedFrom 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.
Comment #7
AlexisWilke commentedI 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
Comment #8
AlexisWilke commenteddrecute,
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
Comment #9
drecute commentedFrom 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.
Comment #10
AlexisWilke commentedIt 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
Comment #11
AlexisWilke commentedYou 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