bitweaver
Wiki
wiki Home
List Pages
wiki Books
Orphan Pages
wiki Rankings
Photos
List Galleries
Forums
Browse forums
Files
List Galleries
Categories
List Categories
Sign In
Message Boards
»
11. Development - Architecture and feature requests
Newest
Oldest
Threaded
5
10
20
50
100
All
Messages
Freemind (mindmap)
Post Reply
Southpaw
Joined: 10 Nov 2004
Freemind (mindmap)
Posted:07 Dec 2004 (18:35 UTC)
EzyBiz
Joined: 01 Nov 2004
Posted:07 Dec 2004 (23:09 UTC)
Southpaw
Joined: 10 Nov 2004
Posted:08 Dec 2004 (01:15 UTC)
spiderr
Joined: 08 Feb 2004
Re: Freemind (mindmap)
Posted:10 Dec 2004 (13:20 UTC)
Southpaw
Joined: 10 Nov 2004
Posted:10 Dec 2004 (19:11 UTC)
Anonymous
Differance
Posted:14 Nov 2005 (01:53 UTC)
Post Reply
Page 1 of 1
1
Post
Title
Login
If you are already registered, please enter your login credentials.
Your Name
Anonymous Post
Content Format
Tiki Wiki Syntax
Allow HTML
{quote format_guid="bbcode" comment_id="7225" user="Southpaw"}Can anyone see what's wrong with this? changes to format.tikiwiki.php I added the following under line 926 (under the images formatting) [code:1:09b0e4b5bf] //MindMap Mod (Freemind -> http://freemind.sf.net) preg_match_all("/(\{mm [^\}]+})/i", $data, $pages); foreach (array_unique($pages[1])as $page_parse) { $parts = explode(" ", $page_parse); $mmdata = array(); $mmdata["src"] = ''; $mmdata["height"] = ''; $mmdata["width"] = ''; foreach ($parts as $part) { $part = str_replace('}', '', $part); $part = str_replace('{', '', $part); $part = str_replace('\'', '', $part); $part = str_replace('"', '', $part); if (strstr($part, '=')) { $subs = explode("=", $part, 2); $mmdata[$subs[0]] = $subs[1]; } } $repl = "<script language=\"JavaScript\">". "<!--". " if(!navigator.javaEnabled()) {". " document.write('Please install a <a href=\"http://www.java.com/\">Java Runtime Environment</a> on your computer.');". " }". "//-->". "</script>". //Remove this for now /*if ($mmdata["height"]) $repl .= ' height="' . $mmdata["height"] . '"'; if ($mmdata["width"]) $repl .= ' height="' . $mmdata["width"] . '"'; */ "<applet code=\"freemind.main.FreeMindApplet.class\" archive=\"../mindmap/freemindbrowser.jar\" width=\"100%\" height=\"600\">". " <param name=\"type\" value=\"application/x-java-applet;version=1.4\" />". " <param name=\"scriptable\" value=\"false\" />". " <param name=\"modes\" value=\"freemind.modes.browsemode.BrowseMode\" />"; if ($mmdata["src"]) { $repl = '<param name=\"browsemode_initial_map\" value=\"' . $mmdata["src"] . '\" />"'; } $repl .= "<param name=\"initial_mode\" value=\"Browse\" />". "</applet>". "<br />"; if ($mmdata["src"]) { $repl = '<span class=\"notes\">Download <a href=\"' . $mmdata["src"] . '\">this mind map</a> and use the desktop application of <a href=\"http://freemind.sourceforge.net/\">Freemind</a> to edit it.</span>'; } $data = str_replace($page_parse, $repl, $data); } //End MindMap [/code:1:09b0e4b5bf] And I uploaded the freemind.jar to the root bitweaver directory under a new folder called mindmap{/quote}
Recent Page Changes
welcome to bitweaver.org
Bitweaver Overview
ReleaseTwo Schema Changelog 2006
PressReleaseOne
Spider's Web
Press Release Two
BitcommercePackage
InfiniBand vs Ethernet Performance
InfiniBand for Dummies
Show More…