Problem
The width of WordPress theme was less. Wanted to extend it for a specific page used for displaying a mindmap with Freemind wordpress plugin.
[Read more…] about nanolog : WordPress Theme – Custom Width for a Post or Page
संगच्छध्वं सं वदध्वं सं वो मनांसि जानताम्। देवा भागं यथा पूर्वे संजानाना उपासते॥ ऋग्वेद 12/191.4
The width of WordPress theme was less. Wanted to extend it for a specific page used for displaying a mindmap with Freemind wordpress plugin.
[Read more…] about nanolog : WordPress Theme – Custom Width for a Post or Page
For my one of the blogs TDD Nuggets I used Freemind Viewer plugin which worked really well. However it had one annoying issue. The mindmap was somehow was not aligned to left. Because of that the whole mindmap was not visible and one has to drag it on the page to see it fully. That itself was a big hindrance to usability.
In order to display Flash based mindmap, following change was required in wp-freemind/wp-freemind.php plugin file and it finally worked.
[javascript]
<!–
var fo = new FlashObject("/wp-content/plugins/wp-freemind/visorFreemind.swf", "visorFreeMind", "100%", "100%", 6, "#9999ff");
fo.addVariable("initLoadFile","’.$content.’");
fo.addVariable("offsetX","left");
fo.write("’.$id.’");
//–>
[/javascript]
In above mentioned snippet, line 4 is added in order to set “offsetX” FlashObject variable.