Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • trvidea Friend
    #157483

    Hello,

    I am trying to use modalizer in order to open some links in a shadow modal window,
    But when i try to put a tag {modal}{/modal} in a menu item
    the menu breaks.

    This happens only with the main mega menu,

    these tags work just fine with the bottom (footer) menu of kyanite II.

    Specifically, when i try to put a menu item title between {modal} TITLE {/modal}
    the menu item breaks into:
    {modal url=/~xxxxxx/index.php?option=com_wrapper&view=wrapper&Itemid=84|title={modal}

    can someone help me on this?

    /N

    Khanh Le Moderator
    #367657

    Here is the fix for you:

    1. Open file plugins/system/jat3/core/menu/base.class.php, find line 349:
    [php]
    $title = “title=”$tmpname””;
    [/php]
    and replace with
    [php]
    $title = “title=””.preg_replace(‘/({[^}]*})/’,”,$tmpname).”””;
    [/php]

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Khanh Le 13 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum