• Hi, my choices in the “REL Options” dropdown box don’t stick. That is, I make a selection and update the menu item, but my selection is not implemented nor is it there when I go back in “edit” to look. Is anyone else having this problem?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Umm you should verify it in the actual code for the menu and I’ll fix it so it shows in the admin panel.

    Thread Starter janecraft

    (@janecraft)

    Hi, the HTML of the page as the browser renders it shows the menu item with rel="" in the link. Is this where you intended for me to verify the actual code?

    By the way, all the menu items have that same empty rel value, not just the one that I wanted to set a value for. If that’s helpful.

    Thanks for looking at this.

    Ok fixed now and will be in this release this weekend.

    Thread Starter janecraft

    (@janecraft)

    Thank you!

    This still appears to be broken.

    I’m adding an external link and, when I select anything in the “REL Options” drop down, it doesn’t have any affect on the menu and when I go back to edit that same menu item, the “REL Options” drop down is still empty.

    This option doesn’t appear to be saving properly. Is there any fix for this?

    If anyone else is having this problem, I edited the plugin to get the target attribute of the link to be “_blank” when you select “Target external window” in “REL Options” select box. Here’s how:

    Open up menu-creator.lib.php

    Line 181:
    Change this

    echo '<li id="menu_item_' . $item["id"] . '" class="mc_menu_item ' . ($item["type"] == "wordpress" ? "wordpress_link" : "external_link") . ' ' . $class . '"><a href="' . resolveURL($item) . '" title="' . $item["alttext"] . '" rel="' . $item["target"] . '">' . $item["title"] . '</a>';

    To this:

    echo '<li id="menu_item_' . $item["id"] . '" class="mc_menu_item ' . ($item["type"] == "wordpress" ? "wordpress_link" : "external_link") . ' ' . $class . '"><a href="' . resolveURL($item) . '" title="' . $item["alttext"] . '" rel="' . $item["target"] . '"';
            if($item["target"] == 'external') echo ' target="_blank"';
            echo '>' . $item["title"] . '</a>';

    That doesn’t solve the issue with the “REL Options” select box showing the appropriate value, but it will add the target=”_blank” attribute to any links you set to “Open in external window”.

    Fixed in the update we published. Anyone interested in the BETA should contact me.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WordPress Menu Creator] REL Options not sticking’ is closed to new replies.