<![CDATA[ DropMenu documentation flaw - My Forums]]> https://forums.modx.com/thread/?thread=25246 <![CDATA[Re: DropMenu documentation flaw]]> https://forums.modx.com/thread/25246/dropmenu-documentation-flaw#dis-post-129571 ]]> rafael Jul 20, 2006, 05:11 AM https://forums.modx.com/thread/25246/dropmenu-documentation-flaw#dis-post-129571 <![CDATA[Re: DropMenu documentation flaw]]> https://forums.modx.com/thread/25246/dropmenu-documentation-flaw#dis-post-129570 sottwell Mar 16, 2006, 11:44 AM https://forums.modx.com/thread/25246/dropmenu-documentation-flaw#dis-post-129570 <![CDATA[Re: DropMenu documentation flaw]]> https://forums.modx.com/thread/25246/dropmenu-documentation-flaw#dis-post-129569 Piro Mar 16, 2006, 11:39 AM https://forums.modx.com/thread/25246/dropmenu-documentation-flaw#dis-post-129569 <![CDATA[Re: DropMenu documentation flaw]]> https://forums.modx.com/thread/25246/dropmenu-documentation-flaw#dis-post-129568
// if menutitle is blank fall back to pagetitle for menu link
$textOfLinks = (empty($child['menutitle'])) ? 'pagetitle' : "$textOfLinks"; 
]]>
sottwell Mar 15, 2006, 12:12 PM https://forums.modx.com/thread/25246/dropmenu-documentation-flaw#dis-post-129568
<![CDATA[DropMenu documentation flaw]]> https://forums.modx.com/thread/25246/dropmenu-documentation-flaw#dis-post-129567
Currently it says:

What database field do you want the actual link text to be? The default is pagetitle because it is always a valid (not empty) value, but if you prefer it can be any of the following: menutitle, id, pagetitle, description, parent, alias, longtitle, introtext. TO DO: set text to be first non-empty of an array of options. Defaults to ’menutitle’.

If you take a look at the underlined text you can see that this part has two default states smiley. I assume the default should be menutitle, but you might want to correct this in the docs.]]>
Piro Mar 15, 2006, 11:26 AM https://forums.modx.com/thread/25246/dropmenu-documentation-flaw#dis-post-129567