NAVT 1.0.27 is released

The newest version of NAVT was released today. The release includes a few important bug fixes. I’ve changed the look a little to conform to the color choices used by Word Press 2.7. I’ve also (temporarily) removed the restore/backup functionality. The code isn’t working correctly and it’s on my list of things to fix next.

Now that the JQuery Team has released a stable version of their User Interface library I’m seriously considering rewriting the NAVT interface (once again). There are a few things about the current NAVT interface I’ve never been completely happy about. In addition, I think the code base is becoming a bit bloated – maybe its just time for a rewrite.

20 Responses to “NAVT 1.0.27 is released”


  1. 1 Christopher Kennedy

    This is great news! I’m really looking forward to seeing a more lightweight version of this fantastic plugin! Is there any chance that the next version will work in OSX browsers asides from Opera as well? :D

  2. 2 Camilo

    This plugin simply doesn’t work for me. I’m on WP 2.5, my site is at ‘.’, but my WordPress installation is on ‘./wp’. It destroyed my 1.0.26 installation, which was already broken, and I can’t input a simple command like creating a group, unlocking a group, etc. So to speak, don’t know if other features are working.
    Guess this is a path problem, trying to send javascript commands to the wrong addresses. But Firebug didn’t even show any commands being sent via ajax.
    I’ve tested it in all main browsers (Firefox, IE7, Safari, Chrome and Opera).
    I love this plugin, anything I can do to help?

  3. 3 Camilo

    Hello again!
    Fixed my issues, this version is definetly much better than the previous one! Still a few things here and there, but it’s a work in progress!!
    OK, here’s how I fixed my problem: in navtadmin.js.php, you try to require wp-load.php or wp-config.php (which is my case), but you assume they’re at the server root. Mine are at (server root)/wp. My NAVT installation was compromised because of localization (translation)!
    I was going to suggest other ways of requiring it, but I had trouble writing plugins with js localization before. Try using a “virtual file” which WP loads, instead of loading it directly! ( instead of http://www.example.com/wp/wp-content/plugins/ wordpress-navigation-list-plugin-navt/js/navtadmin.js.php?ver=1.0.27 , something like http://www.example.com/navt/navtadmin.js.php?ver=1.0.27 ).
    I’ve said too much already! Thanks for the great plugin!

  4. 4 krabbe

    Version 1.0.27 doesn’t work for me.
    All the Ajax- and Lightbox-Stuff in the backend does not work anymore. Had no probs before updating and the links I created before still work fine. I just can’t create new or edit existing ones.
    I use WP 2.7 with K2-theme.

    I love this plugin and want to use it again. Can I just go back to the older version or did you change something in database? Or do you have an idea about my problem?

    Thanks for the great work.

  5. 5 muarian

    I have installed this plug-in in WP 2.7.

    Under the widget panel, I add this plug-in to the sidebar, but when I click on Edit, a message says Navigation Lists have not created.

    How to creat Navigation Lists via this Plug-in?

    Thx

  6. 6 krabbe

    I just installed 1.0.26 again and it works like a charm.

  7. 7 Troy

    I had some path issues.

    Resolved by commenting out the NAVT_PLUGINPATH and correcting it.

    in wordpress-navigation-list-plugin-navt/navt.php
    [code]
    /*
    @define('NAVT_PLUGINPATH', (DIRECTORY_SEPARATOR != '/') ?
    str_replace(DIRECTORY_SEPARATOR, '/', $navt_root_dir) : $navt_root_dir);
    */
    define('NAVT_PLUGINPATH',dirname(__FILE__));
    [/code]

    Also, had to change
    wordpress-navigation-list-plugin-navt/app/navt.php get_url() function to the following:
    [code]
    function get_url() {
    global $navt_root_url;
    //return $navt_root_url;
    return WP_CONTENT_URL.DIRECTORY_SEPARATOR.'plugins'.DIRECTORY_SEPARATOR.'wordpress-navigation-list-plugin-navt';
    }// end function
    [/code]

    I think that fixes everything, I haven’t tested it though. As I don’t need any menu changes or feel like risking it at the moment.

  8. 8 Troy

    /wordpress-navigation-list-plugin-navt/includes/navtinc.php
    add the following

    if (!function_exists(‘_e’)) { function _e($txt){ echo $txt; } }

    The js.php files use this function, however when getting the js.php file WordPress isn’t loaded, so that function is unavailable.

    Just define it if it is undefined.

  9. 9 Jude

    Thanks for this plugin which will really help me.

    But I’ve the same problem as krabbe ! All the Javascript seems disactivated (even the arrows for the menu on the left bar)

  10. 10 Jeremy Wilkins

    I would be ecstatic to see a lighter-weight version of the plugin developed in jQuery. Would make things considerably easier to customize and theme in administration.

    Thanks for the wonderful project!

  11. 11 Alex Leonard

    Hi Greg,

    I’m delighted to hear the potential for moving to jQuery with the NAVT plugin and will be most interested to see how it all develops.

    This plugin has been a mainstay for me for such a long time that I can’t imagine installing WordPress without using it!

    I look forward to seeing new versions as and when you find the time to make the changes.

    Cheers,

    Alex!

  12. 12 Óscar Cardoso

    Thanks for this COOL plugin which really help me.

    NAVT is working very well!!! :p

    But I’ve a PROBLEM!

    I have installed the plugin qTranslate and gives me an error when the links are displayed on the site (in each link).

    this is an example of one link error:
    PaginaPage

    Can you put NAVT working with the qTranslate, pleaseeee…? :P

  13. 13 josh

    Had the same problem as krabbe. I will also revert to ver 1.0.26.

  14. 14 James

    @krabbe: I had a similar issue to you, in that my development machine has serveral versions of wordpress installed in several directories. The admin interface would fail to load any JS as a result of looking in the root folder for things that weren’t there. I managed to fix the admin interface by changing line 5 of navt/js/navtadmin.js.php from

    define('ABSPATH', $_SERVER['DOCUMENT_ROOT'] . '/');

    to

    define('ABSPATH',preg_replace('|([\\\/][^\\\/]+){4}$|','',dirname(__FILE__)).'/');

    All this does is use regx to strip the last 4 folders from the path returned from the current file.

    This solution should work in most cases but not tested in all hosting environs. You also need to make sure your navt is only in one sub folder of plugins and no deeper. If you’ve got your wp-content folder in a location that differs from the norm you may also run into problems.

  15. 15 James

    Further to my previous message rather than doing the replacement with some overcomplicated regex this works just as well and is far easier to read.

    define('ABSPATH',dirname(__FILE__).'/../../../../');

    Typical developer approach go for the most complicated solution first then come up with something incredibly simple to replace it. Guess the complexity justifies me getting paid. :P

  16. 16 James

    One more minor fix. Line 34: navt_utl.php needs to change to

    $ref = get_bloginfo('wpurl').'/wp-admin/plugins.php';

  17. 17 krabbe

    @james: thank you for your help. I will try that later…
    In the moment I have other problems. The site is answering to slow. And I have no Idea why. The url is http://baustelle.17hippies.de/hiplounge if you wanna look ;-)

  18. 18 Bohdan Hdal

    sorry, please clear full site path for sequrity my site on the previous comment :)

  19. 19 Petra

    really awesome plugin… I was searching forever for this. It really “almost” is perfect. except some sub list items don’t show up. very strange. is there a limit to how many items you can put in a group?

  20. 20 Petra

    scratch that… those categories were empty. sorry. it’s been a long night.

Comments are currently closed.