Flexible Navigation – Wordpress Plugin *beta

Friday, June 13th, 2008 @ 2:34 pm | flex, php, wordpress

Beta release 0.09

Download it here

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

  • Ava the firefly on facebook- Level submission how-to
  • Caching rotations as bitmapdata in flex AS3
  • I will never buy an Adobe product ever again!
  • XNA Tutorial: HLSL and SpriteBatch for 2D effects.
  • Will Philly make me cry again this week
  • Photoshop takes a long time to open or create files
  • Fight Monkey of Magic
  • David Stern must read my blog
  • The most over hyped non-storm of all time
  • cforms ii custom submit script
  •  

    31 Responses to “Flexible Navigation – Wordpress Plugin *beta”

    1. Lee Says:

      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

    2. Jesse Says:

      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(); ?>

    3. Lee Says:

      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…

    4. Pablo DiCiacco Says:

      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

    5. Thomas Says:

      Hi,

      I tried the plugin but it isn’t working. I wrote it in the sidebar.php… I have to to more?

    6. Jesse Says:

      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.

    7. Dario Novoa Says:

      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 :D

    8. Jesse Says:

      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.

    9. Dario Novoa Says:

      Damn, I’m on shared hosting… Well I’ll try your solutions and see how it goes I’ll let you know.

    10. Jesse Says:

      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

    11. Dario Novoa Says:

      Yeap works perfectly, awesome plugin…

    12. jalujati Says:

      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?

    13. Jesse Says:

      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

    14. jalujati Says:

      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

    15. Pablo DiCiacco Says:

      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

    16. Jesse Says:

      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.

    17. ivy Says:

      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

    18. Jesse Says:

      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

    19. David Radovanovic Says:

      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

    20. Jesse Says:

      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.

    21. Laurent Says:

      Hi,

      This plugins doesn’t work with Wordpress 2.8 :-(

    22. Laurent Says:

      Sorry, this plugin work on WP2.8, this was just problem in auto-install, there are 2 folder : flexible-navigation/flexible-navigation/…

    23. steve Says:

      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.

    24. Jesse Says:

      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.

    25. Chris Says:

      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

    26. Jeremy Says:

      Hi Jesse,great plugin.Though is there a way I can give the accordion bars a different color.Thanks.

    27. Shawn Says:

      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

    28. Shawn Says:

      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?

    29. slekha Says:

      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.

    30. Jesse Says:

      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

    31. Pierre Says:

      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

    Leave a Reply

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">