Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Twitter
Powered by Vanilla. Made with Bootstrap.
Theme built by Kasper Kronborg Isager
rel="external" in a dynamic menu
  • ok, this is a more simple question (i hope)
    i need every anchor tag of the dynamic menu to have an rel="external" added to it, as such :
    <li><a href="index.html"  rel="external">home</a></li>
    <li><a href="about.html" rel="external">about</a></li>


    can also have this attribute insted of rel="external" (data-ajax="false")

    any ideas?
  • you can set the $linkAttributes property before you call the createMenu() method.

    then after set it back to false.

    do like this:
    $feindura->linkAttributes = 'rel="external"';
     
    ...
     
     
    // and after the createMenu loops do this, so other menus or createLink() calls don't get affected.
    $feindura->linkAttributes = false;
  • YESSS !!
    tnx :)