Forums

[Plugin: Wordpress Navigation List Plugin NAVT] [Plugin NAVT] Conflict with qTranslate plugin (7 posts)

  1. Oscar Cardoso
    Member
    Posted 10 months ago #

    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:
    #<!--:PT-->Page<!--:--><!--:en-->Pagina<!--:-->

    Can someone put NAVT working with the qTranslate, pleaseeee…?

  2. owlman
    Member
    Posted 9 months ago #

    Dear Oscar,

    I had that problem as well, and I found solution on NAVT blog (it closed now - I access it via google cache). It works! See text below, please:

    Re: Multilingual support!

    Postby TomPress on Tue Oct 14, 2008 9:49 pm
    I cant?t believe. I could solve the problem by myself.
    This just by comparing codes and without any knowlegde of the meaning.

    file: navt_widget.php
    I have changed:
    echo ($before_widget . apply_filters('the_title', $title) . $out . $after_widget);

    into:
    echo ($before_widget . apply_filters('the_title', $title) . apply_filters('the_title',$out) . $after_widget);

    Hope it will help others now. Maybe some of the experts can confirm this solution.

    TomPress

    Posts: 3
    Joined: Tue Oct 14, 2008 7:06 pm

  3. Oscar Cardoso
    Member
    Posted 7 months ago #

    Dear owlman,

    thank you for the solution. :)

  4. karl19
    Member
    Posted 7 months ago #

    Hi there,

    I'm also having an issue with NAVT and qTranslate. All page/post titles in the NAVT admin show as <!--:en-->ENGLISH<--:--><!--:-->SWEDISH<--:--> and don't show on the site. If I drag a page to my NAVT menu and then manually change the name to for example ENGLISH, the menu shows.

    I'm using NAVT 1.0.31 and I've got both an app/navt_widget.php and an app/navt_widget2.5.php, but neither of them have the code as listed above. Instead I've got:

    if( !empty($out) &amp;&amp; '' != $out ) {
        echo ($before_widget . $title . $out . $after_widget);
      }

    I tried just swapping out

    echo ($before_widget . $title . $out . $after_widget);

    with the code above, in both files, but it doesn't seem to work. Posts/pages still show wrong in the admin and don't get listed on the frontpage.

    Any ideas on this would be appreciated!

  5. karl19
    Member
    Posted 6 months ago #

    I couldn't get this to work, so in the end I started using a different menu plugin which I found to work much better for me. Not saying this would be the case for everyone, but in case someone is using qTranslate, this might be easier - Simple Sidebar Navigation

  6. tinuviel
    Member
    Posted 5 months ago #

    I'd really love to find the solution to Karl19's originaly problem as well. Unfortunately, the Simple Sidebar Navigation doesn't work for me, as I need two menus to be generated.

  7. karl19
    Member
    Posted 5 months ago #

    @tinuviel,

    Since I didn't go back to NAVT, I'm not sure if there was a solution. But in terms of Simple Sidebar Navigation, can't you just use two widgets for your menus? You should be able to create as many menus as you want - for the site we used it for, we ran five SSN menus.

Reply

You must log in to post.

About this Topic