Like I allready answered to your previoust post about this, it’s not possible with DropMenu without making some changes to the snippet. It will be possible with the dropmenu’s successor though.
In the dropmenu some links are folders and some are documents.
When the link is a folder, it should display a folder as bullet - when the link is a document it should show a document as bullet. So it doesn’t mean make all items on level 2 with bullet A and all items on level 3 with bullet B, I just need it to recognise the document type and place the correct bullet accordingly.
Use the Breadcrumbs snippet what can be found from resource repository. (you can search resources using the site search or find by alphabet)
Secondly, would it be possible to make a navigation like /Home/Folder1/Subfolder1/CurrentDocumment - so the user always knows on which level he/she is and can navigate on this?
There is a document star rating snippet in the resource repository, use the link above.
Thirdly, is there some kind of a rating system?
Make a snippet to return the startDoc value, so it would be something like:
4th:
[!DropMenu?activeTreeOnly=true&startDoc=40&orderBy=pagetitle&showDescription=true!]
can I make this dynamic somehow? I need the startDoc to be dynamic, so that I don’t need to put this on each page
I tried putting in php tags but get parse errors
Make a snippet to return the startDoc value, so it would be something like:I’ve done this using a TV. Seems to be more convenient, esp. from an editing-view.
[!DropMenu?activeTreeOnly=true&startDoc=[[Snippet]]&orderBy=pagetitle&showDescription=true!]
Use the &topdiv and &topdivClass parameters to make it wrap the whole menu in a div, then in you css use that div class to point to ul tags inside that div. (.classname ul)
My last question though as the dropmenu is giving me hell to configure, I need to give it a special style for ul which should not apply to other ul tags on the site.
[!DropMenu?activeTreeOnly=`true`&topdiv=`true`&topdivClass=`navigation`&orderBy=`pagetitle`&menuName=`SideNav`¤tItemClass=`currentclass`!]
.navigation ul { padding-left: 2px; margin-left: 0.2em; margin-top: 0.2em; margin-bottom: 0.2em; list-style-image: url('/images/folder.gif') }
#navigation { margin-left: 0; padding-left: 0; list-style: none; } .navigation li { padding-left: 2px; margin-left: 0.2em; margin-top: 0.2em; margin-bottom: 0.2em; list-style-image: url('/images/folder.gif'); } .currentclass { padding-left: 2px; margin-left: 0.2em; margin-top: 0.2em; margin-bottom: 0.2em; list-style-image: url('/images/folderopen.gif') }