We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16885
    • 255 Posts
    I’m a total newbie with MODx, loving it already though, so please excuse me if I missed some option wink

    I’m using the DropMenu in my (custom) template, though a few weird things are coming up already, I use the following syntax
    [[DropMenu? &startDoc=`0` &levelLimit=`2` &topdiv=`true` &topdivClass=`nav`]]

    But the weird thing in this is that it echos one weird link that lack some information; there is no content between the <a></a> tags, I did check the ID it’s linking to, but I can’t find an option to set the name being displayed in the DropMenu.

    The output it’s giving is
    <div class="nav"><ul class="topnav">
    <li class="here">Home</li>
    <li><a href="index.php?id=2" title="">Blog</a></li>
    <li><a href="index.php?id=6" title="">Contact us</a></li>
    <li><a href="index.php?id=15" title="">Quickstart Guide</a>
    <ul>
    <li><a href="index.php?id=16" title="">Script.aculo.us</a></li>
    <li><a href="index.php?id=22" title="">DropMenu</a></li>
    <li class="last"><a href="index.php?id=14" title="">QuickEdit</a></li>
    </ul>
    </li>
    <li><a href="index.php?id=24" title="">Other Tricks</a></li>
    <li><a href="index.php?id=33" title="">Getting Help</a></li>
    <li><a href="index.php?id=32" title="">Design Credits</a></li>
    <li class="last"><a href="index.php?id=4" title="The page to login in to the CMS."></a></li>
    </ul>


    Yours,

    LeftBlank
    • Check to make sure the TV that determines the name of the link has been checked to give access to the template you are using.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 16885
        • 255 Posts
        Quote from: sottwell at Sep 30, 2006, 03:22 PM

        Check to make sure the TV that determines the name of the link has been checked to give access to the template you are using.
        Right now I’ve got the following settings on this page (default settings of the demo content installed by the MODx setup, I only changed the template used for all pages)
        Status
        Status: Published
        Publish date: (Not set)
        Un-publish date: (Not set)
        Cacheable: No
        Searchable: No
        Menu index: 99
        Show in menu: Yes
        Web access: Public
        Manager access: Public

        Markup/ structure
        Uses template: REVolt
        Edit using rich text editor: Yes
        Document is folder: No
        Which should be, as far as I can tell, enough to work.

        Another thing that I thought of what could be causing it was the fact it’s using ’[*loginName*]’ as title by default, but when I changed I didn’t notice a difference.
        • Take a look at the [*loginname*] TV; it needs to have the access checkbox checked for your REVolt template.

          DropMenu uses the "menutitle" field.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 16885
            • 255 Posts
            Quote from: sottwell at Sep 30, 2006, 05:57 PM

            Take a look at the [*loginname*] TV; it needs to have the access checkbox checked for your REVolt template.

            DropMenu uses the "menutitle" field.
            Alright, thanks a lot, I didn’t expect it was required to give TV’s permissions to use the template, it’s working now!