I've been meaning to actually try this out, but is it possible to offer freemind content from within a Drupal node?

Comments

hutch’s picture

I *might* be possible to run the freemindbrowser.html in an <iframe>, or a link to a popup.
Suck it and see ;-)

joel_guesclin’s picture

I prefer to use the Flash browser - much less time to load and doesn't require Java. You can certainly put this within a node. You just need to enter this code, and set the node to be a Full HTML (ie not filtered HTML):

<script type="text/javascript" src="files/freemind/flashobject.js"></script>
	
	<div id="flashcontent">
		 Flash plugin or Javascript are turned off.
		 Activate both  and reload to view the mindmap
	</div>
	
	<script type="text/javascript">
		// <![CDATA[
		var fo = new FlashObject("files/freemind/visorFreemind.swf", "visorFreeMind", "100%", "500", 6, "#9999ff");
		fo.addParam("quality", "high");
		fo.addParam("bgcolor", "#ffffff");
		fo.addVariable("openUrl", "_blank");
		fo.addVariable("initLoadFile", "files/freemind/sitemap.mm");
		fo.addVariable("startCollapsedToLevel","5");
		fo.addVariable("mainNodeShape","rectangle");
		fo.write("flashcontent");
		// ]]>
	</script>

Notice the "sitemap.mm" file - that's the Freemind file which might have another name of course. You might also find that the parameters for the Flash module have changed slightly if you are using the latest version. You can also change the height of the map (it is set to "500" in the example.

I also configured my blocks not to appear on the Freemind map page, in order to give the full screen width to the display.

Hope that helps!

joel_guesclin’s picture

Status: Active » Closed (fixed)

I closed this support request