Ok
if i have a drop menu that shows : parent
child
(the parent is a folder) and i dont want to put content on the parent ... but i DO want the parent visible but non clickable in the menu .. how do i do it ?
Many thnx ...
Everytime you use Flash ... a puppy dies .....
R.G Taylor
-
MODX Staff
- 12,272 Posts
Enable the category folders option and make sure the folders don’t have anything in [*content*]
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
how would you do something similiar but only have the menu shown and clickable but nothing happens when you click like its there but just doesn’t go anywhere
Quote from: bugsmi0 at Jul 06, 2006, 03:32 PM
how would you do something similiar but only have the menu shown and clickable but nothing happens when you click like its there but just doesn’t go anywhere
Are you saying that you want the menu to show also the documents/links that the user don’t have access to? If so, I have posted instructions/code for this in some thread.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
no mainly if i have a folder and the docs inside are not yet ready to be published but I want to still show the menu as a link but when clicked it wouldn’t go anywhere
You could always make the link
href="#"
Then the link will not go anywhere.
Chuck
that won’t work using the dropmenu snippet, I’m not refering to a weblink but an actual folder/doc
ie
folder 1 < show in menu as link ---- idea here is to make it clickable only nothing would happen
doc 1 - don’t show until its published
doc 2 - don’t show until its published