Flexible Navigation – Wordpress Plugin *beta
Beta release 0.09
This Plugin adds a Flex Accordion Navigation to your wordpress instance. This plugin is perfect for those sites that have out of control links in the sidebar. With Flexible-Navigation you can simple use one function call in the sidbar to generate an accordion navigation.
add AddFlexNav(); anywhere you would like to add the navigation. (most commonly the sidebar.php file of your theme.)
Flexible navigation takes your links, posts and catagories and creates an accordion navigation. You may customize this from the admin menu or by editing the php file itself.
more to come!
Recently

July 5th, 2008 at 6:13 am
Hi! Your plugin could make my day. I installed it and it seems to work, but when I put the code on sidebar.php it doesn’t work.
Can you please tell me the exact code and the exact place I have to put it in?
Many thanks
July 5th, 2008 at 9:20 am
Use the plugin once it is installed you would call the function
AddFlexNav();
If this is outside a block of php code then you must do somthing like this
< ?php AddFlexNav(); ?>
July 5th, 2008 at 11:11 am
Thank you for the response, but… nope, it still doesn’t work for me. I’m using K2 template and I’m putting the code in “sidebar.php”. Surely I’m wrong with something…
July 18th, 2008 at 10:21 pm
Would like to give this a test run, but ideally could see it in action somewhere. Do you have a working example of this?
Thanks
July 22nd, 2008 at 10:21 am
Hi,
I tried the plugin but it isn’t working. I wrote it in the sidebar.php… I have to to more?
July 22nd, 2008 at 1:14 pm
Some additional reasons why it might not be working.
1. you are placing it somewhere within an if statement that is returning false. Make sure you place the function call in the right place.
2. You do not have flash 9 installed. Install the newest flash plugin.
3. You do not have at least wordpress 2.5
Upgrade to version 2.5 or higher.
4. You are using something other than php5. Not sure if this could be an issue, but I know that yahoo and other restrictive web hosting companies still use 4.*
Could also be that your web host has restricted certain php functions.
For example, if you use yahoo as your web host, certain DOM/XML functions are restricted. The plugin uses these functions, so if they are disallowed it will
not function correctly.
I have recently tested the plugin with wordpress versions 2.5.* through 2.6 and have not had any problems getting it activated and functional. I would be happy to help with specific issues, but please send an email to me instead of leaving a vague comment like “it don’t work?”
As for your question Pablo, there is an example of what the accordion looks like at
http://www.dreamwagon.com/flex/examples/accordionupdate/index.html.php
This is not the installed plugin, but rather just an example of what it will look like.
August 4th, 2008 at 3:28 pm
I get the following error and at the end a Fatal Error here it is:
Warning: domdocument() expects at least 1 parameter, 0 given in /home/arteula/public_html/wp-content/plugins/flexible-navigation/flexible-navigation.php on line 269
Fatal error: Call to undefined function: createelement() in /home/arteula/public_html/wp-content/plugins/flexible-navigation/flexible-navigation.php on line 272
Any help? THe example looks great
August 5th, 2008 at 10:46 am
You are using a php version older than 5. You can change line 269 to
$dom = new DOMDocument(”1.0″);
That will eliminate the first error. You can change createelement to create_element
at line 272, but you are bound to run into more errors. Your best bet is to install php5.
August 5th, 2008 at 11:48 am
Damn, I’m on shared hosting… Well I’ll try your solutions and see how it goes I’ll let you know.
August 5th, 2008 at 1:14 pm
I created a version that works for php4.
All I did was change all the php5 DOM functions to the php4 versions. Could you test it and let me know? Replace flexible-navigation.php with the new one below.
flexible navigation for php4
August 7th, 2008 at 1:18 pm
Yeap works perfectly, awesome plugin…
August 22nd, 2008 at 6:20 pm
Hi jesse,
nice plugin, i think the navigation display properly in the sidebar. but i got this error message right above the navigation
DOMDocument::save(wp-content/plugins/flexible-navigation/data/properties.xml) [function.DOMDocument-save]: failed to open stream: Permission denied in /home/ekobiz/public_html/wp-content/plugins/flexible-navigation/flexible-navigation.php on line 306
i already set the /wp-content/plugins/flexible-navigation/data folder permission into 777 and put on sidebar.php
i use php 5*, wordpress ver 2.6, and superadsensebiz theme from easy wordpress.com
any help?
August 22nd, 2008 at 7:39 pm
I believe that in your case php does not have write permissions. You should try to chmod to allow php write access. (if you use apache, then grant apache write access.)
Try this:
http://coding.derkeiler.com/Archive/PHP/php.general/2007-03/msg00402.html
August 23rd, 2008 at 11:45 pm
thanks, unfortunatey i’m not a programmer wizz, it’s quite difficult for me. But i’m quite impressed, there is not much plugin in like this out there. At least, i should try to correct this first
November 13th, 2008 at 12:44 am
Been a while since I last tried this.
I place in the sidebar.php file and am only returned with that line of code appearing in the sidebar
I am using WP 2.6.3 and am a savvy user with full admin rights and server rights.
Any suggestions? Has this been tested on this my version of WP?
Will you update it?
Pablo
November 13th, 2008 at 9:24 am
What you describe is a coding mistake. Check your syntax and try again.
You can email me your sidebar.php and I will check it if you like.
December 4th, 2008 at 6:34 am
Hi Jesse,
Thanks for this wonderful plugin.
I’m wondering how do we add html code inside the box instead of link only? can we do that? I try to put include statement there but it went outside the box
Really appreciate your feedback here
December 4th, 2008 at 11:45 pm
Yes ivy, you may add html, although it may not render exactly how you expect. That depends on what you are trying to do. To add html text, you will need to modify a bit of the flex source and recompile to swf. If you like I can explain further.
in general you will add the mx:text and html tag in in place of the mx:button tag
I can provide an example if you would like
February 9th, 2009 at 8:36 am
What can I say but thank you for the great plugin! Is there anyway to make it more SEO friendly, e.g. by printing links out using jQuery or something other than swf?
Thanks
February 10th, 2009 at 7:01 am
Hi David.
A snapshot of you links, posts etc is written to an xml file that the swf reads.
{base-dir}/wp-content/plugins/flexible-navigation/data/properties.xml
You could of course use javascript to write some unordered list based on this xml and then use jQuery to create the accordion. This is actually a great idea, and would make a fabulous feature. Since I haven’t even had time to update the flex version, I doubt this will be something I can get to soon.
June 22nd, 2009 at 3:18 am
Hi,
This plugins doesn’t work with Wordpress 2.8
June 22nd, 2009 at 3:40 am
Sorry, this plugin work on WP2.8, this was just problem in auto-install, there are 2 folder : flexible-navigation/flexible-navigation/…
July 23rd, 2009 at 5:30 pm
Hi Jesse,
I’ve installed… buy have no idea how to use…. Where is this?> “After activating the plugin, go to the Manage menu and select the menu tab: NAVT Lists to use the plugin.”
It would be great to see screen shots on exactly how to use this widget.
Thank you in advance for your kind help.
July 29th, 2009 at 11:35 am
This plugin was build on wordpress 2.5
It should work on the newest version, although the GUI is bound to be different. I am working on a new version that is much more robust, including the ability to use the navigation without flash.
August 6th, 2009 at 10:54 am
Trying to activate in WP 2.8.3 and am getting the error in the admin panel: “plugin does not contain a proper header”
Please advise
August 13th, 2009 at 6:42 am
Hi Jesse,great plugin.Though is there a way I can give the accordion bars a different color.Thanks.
August 17th, 2009 at 11:29 pm
Jesse, I am trying to install your plugin but am just getting the code “” wherever I post it in my sidebar code. I also tried AddFlexNav(); by itself and that didn’t work. My sidebar code is as follows:
<img src=”/wp-content/themes/arthemia/images/banners/square.jpg” alt=”" width=”300px” height=”250px” />
\
Blogroll
AddFlexNav();
Michael Jubel
Hanna Siahaan
Majari Magazine
The Bloggerzine
Majari Kanayakan
What can I do? Thank you
August 18th, 2009 at 12:46 am
Jesse, I figured out how to get it to work. Above you said we needed this line:
The problem was that there was an extra space between the < and the ?
is the code that made this work for me.
Are there any plans on getting a hierarchy setup? My Child/Parent categories are very important on my site and it would be very helpful to get it setup like this.
Lastly, I’m working on getting it setup in a way where each block (Links, Posts, and Category) is actually a different parent Category while the options inside are that parent’s child categories. Any advice on this?
August 28th, 2009 at 11:18 pm
Hi Jesse, It wonderful simple plugin, When i am installed in my word press 2.8.2 its, installed properly but in configuration section when ever i select False for any of the Links or post its turning back to True and those are displaying in front end to….Can you try to fix this, and if possible to try to develop an option that we can select only individual sections like only for Categories or links or posts.
August 30th, 2009 at 5:11 pm
Thanks to all who have commented here. Unfortunately I cannot confirm that this plugin will work with the 2.8.* or going forward.
I am currently working on a version that will be more customizable and portable using JSON and jQuery. Will post here one the blog when this version is complete.
~Jesse
November 3rd, 2009 at 8:50 am
Hy. Thanks for your plugin, it’s awesome.
I installed the plugin, I activated it in the plugin page, but I’ don’t see were I can change the option of the plugin.
Thanks
Pierre