Dear all, rthrash and bunk58,
I think linking nodes is possible and I will use features like this (just modify the node-tag (see chunks below) and add LINK="
http://domain.com/target"), see here for a mindmap which uses many features:
http://www.efectokiwano.net/mm/
Here’s the way I integrated it, kongondo and mrhaw, please let me know if that’s complete and understandable:
- Download FreeMindFlashBrowser (
http://sourceforge.net/project/showfiles.php?group_id=7118&package_id=7225), unzip/untar it somewhere, I use /assets/site/andre-bischof.com/scripts/freemindflashbrowser/
- New Document mindmap-generator, template blank, no richtext, call to wayfinder (2.5beta at the moment, but this shouldn’t be an issue):
[!Wayfinder2.5beta2?&debug=`0`&startId=`0`&level=`0`&textOfLinks=`pagetitle`&parentRowTpl=`mindmap_parentRow`&outerTpl=`mindmap_outer`&innerTpl=`mindmap_inner`&innerRowTpl=`mindmap_innerRow`!]
- Make new chunks, in my case:
mindmap_outer:
<map version="0.8.0">
<node TEXT="Sitemap">
[+wf.wrapper+]
</node>
</map>
mindmap_inner:
mindmap_innerRow:
<node TEXT="[+wf.linktext+]"/>[+wf.wrapper+]
mindmap_parentRow:
<node TEXT="[+wf.linktext+]">[+wf.wrapper+]</node>
- Duplicated and modified my template (template-mindmap), added:
(head section:)
<script type="text/javascript" src="/assets/site/andre-bischof.com/scripts/freemindflashbrowser/flashobject.js"></script>
<style type="text/css">
/* hide from ie on mac \*/
html {
height: 100%;
overflow: hidden;
}
#flashcontent {
height: 400px;
background-color: #f2f2f2;
}
/* end hide */
</style>
(body section where you want the mindmap to show:)
<div id="flashcontent">
<p>Flash oder Javascript ist nicht verfügbar.</p>
<p>Aktivieren Sie beides und laden Sie die Seite neu, um die Sitemap als dynamisches Mindmap zu sehen.</p>
<p>Alternativ können Sie auch die <a href="/start/sitemap-standard" title="Standard Sitemap">Standard-Sitemap</a> verwenden.</p>
</div>
<script type="text/javascript">
// <![CDATA[
var fo = new FlashObject("assets/site/andre-bischof.com/scripts/freemindflashbrowser/visorFreemind.swf", "visorFreeMind", "100%", "100%", 6, "#9999ff");
fo.addParam("quality", "high");
fo.addParam("bgcolor", "#ffffff");
fo.addVariable("openUrl", "_self");
fo.addVariable("initLoadFile", "http://andre-bischof.com/index.php?id=55");
fo.addVariable("startCollapsedToLevel","5");
fo.addVariable("mainNodeShape","rectangle");
fo.write("flashcontent");
// ]]>
</script>
Pay special attention to initLoadFile, here’s the place to reference the formerly new built document mindmap-generator!
- New document "sitemap", use formerly built template "template-mindmap".
That should be it, hope I didn’t forget a thing.
Cheers
Frisco