My bad. See the corrected getObject() call in the code above.
Thanks Bob - that worked.
I also note that JP seems to have now added a container field for new installs:
http://bugs.modx.com/issues/10204
I'm glad it worked. That's good news about the container field.
Great stuff! The only down-side to Bob's fix is that the drop-down indicator still shows so will have to look at a bit of CSS to take care of that.
-
☆ A M B ☆
- 721 Posts
What I have been doing is hiding the Articles container from the menu and then just making a Weblink in the tree, which is not a container, that links to the Article Container.
I've been doing the same thing but Bob's fix does work.