Fork me on GitHub

Cannot override menu block template.  Bottom

Go to page [-1] 1 - 2:

  • Reviewing you code, without testing myself, it looks okay, assuming your table is structured okay, doe s the output get to the browser (view source)? I can now see it is copy-paste-modify job (my favorite technique).


    To answer my own question, the array is assigned :)

    Asfaras pndebug, it is a plugin to view available vars in the templates. See the wiki.u

    Anyways, I think you may have a larger table issue. Review the output (validate).

    --
    David Pahl
    Zikula Support Team
  • Hi, you can add

    Code

    <!--[pndebug]-->

    at the bottom of the template and then you get access to all the available variables in a popup window. This can give you a clue on why the variables are not being displayed. You can see if there are menuitems, and if the menuites array has name, URL, title, etc. The code looks ok and it is quite similar to the original extmenu code.

    --
    campertoday.nl, Module development, Dutch Zikula Community

Go to page [-1] 1 - 2:

  • 0 users

This list is based on users active over the last 60 minutes.