This module shows the taxonomy in an interactive mindmap like tree layout. It can be used to generate mind maps using the Drupal taxonomy.It uses the D3 javascript library to generate the interactive tree from the taxonomy.
https://www.drupal.org/sandbox/anshisolutions/2322937
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/anshisolutions/2322937.git d3_taxonomy_mindmap
cd d3_taxonomy_mindmap
Comments
Comment #1
t-loHi,
Found a one issues on pareview.sh here:
http://pareview.sh/pareview/httpgitdrupalorgsandboxanshisolutions2322937git
You need to add a README file (Or just rename the current one to README.txt)
Going to take a closer look through the code now.
Comment #2
t-loThere are multiple copyright notices throughout the code that I believe clash with the requirement for all code on Drupal.org to be GPL.
Comment #3
t-loThe Taxonomy tree is not displayed, this appears to be caused by an incorrect URL in the file tree.js
Starting line 49:
From a look at your hook_menu I think this should be '/d3_taxonomy_mindmap/getdata/'
Comment #4
t-loComment #5
t-loThe readme.txt and ReadMe.txt files you've included appear to be related to a wordpress plugin rather than this drupal module
Comment #6
anshisolutions commentedDear Sir,
I have fixed the issues highlighted by you. Apologies for the tree.js error. I changed the drupal module name and forgot to change the tree.js file. I should have done the testing after that change which I missed. This is fixed now.
Regards
Shivani
Comment #7
anshisolutions commentedComment #8
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #9
t-loHi Shivani,
Thanks,
I've confirmed PAREVIEW is now clean, but the taxonomy tree is still not being displayed for me.
The previous error is sorted but I'm now receiving the JS error
for line 52 of tree.js
root.children.forEach(collapse);This is a blank drupal install with one taxonomy created with Devel Generate, here's the JSON returned to the Javascript by it's call to "d3_taxonomy_mindmap/getdata/"
Comment #10
t-loComment #11
anshisolutions commentedDear Sir
Will it be possible for you to provide the taxonomy export of your setup. I will import in my installation and test. Looks like some bug that comes with a specific pattern. Do you have more than one term at root level in taxonomy?
Regards
Comment #12
anshisolutions commentedComment #13
t-loHi Shivani,
There are multiple terms at root level, here's the taxonomy structure as CSV:
Comment #14
t-loComment #15
anshisolutions commentedThis is strange. It is working perfectly on my page http://www.anshisolutions.com/content/d3-taxonomy-mindmap with your taxonomy. Is it because of some other module you have published in your setup that is causing javascript clash?
Comment #16
anshisolutions commentedComment #17
t-loHi Shivani,
It's a blank install with only devel and your module installed.
Still getting the error
for line 52 of tree.js
root.children.forEach(collapse);
Comment #18
anshisolutions commentedDear Sir,
It looked a very strange error. In my ajax call I was using dataType: 'JSON' that was working perfectly on my site. But in a blank install, it was not working and adding the unnecessary slashes. I had to change it to dataType: 'json' to get things working. Dont know why it was working on my main site. May be some other module is doing the aliasing. This is fixed now.
Apologies for the inconvenience
Comment #19
t-loHi Shivani,
I can confirm that's working now, looks good!
Comment #20
anshisolutions commentedDear Sir,
Thanks for confirming. Please let me know the next steps.
Regards
Kinshuk
Comment #21
anshisolutions commentedComment #22
kscheirerBlocking Issues:
Non-blocking issues:
Comment #23
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.