On my website
www.tvhochwald.ch/tvmodx I have a lot of galleries and therefore I have some Pages which display the childgalleries. I don’t want the Galleries themselves to appear in my menu, but only the pages with the galleries. So I disable the option "show in menu" for the gallery documents, but if I do this, the folder-document is also not shown the menu. Same happens, if a folder is empty.
Here my call:
[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`mh.ParentRowTpl` &outerTpl=`mh.OuterTpl` &innerTpl=`mh.InnerTpl` &rowTpl=`mh.RowTpl` &outerClass=`menu` &cssTpl=`mh.css`]]
And the css:
/* common styling */
#tvmenu {
margin-right: auto;
margin-left: auto;
width: 781px;
}
#tvmenu ul li a, #tvmenu ul li a:visited {
display:block;
width:111px;
/*height:28px;*/
text-align:center;
line-height:28px;
font-size:11px;
overflow:hidden;
color: #ffffff;
font-weight: bold;
padding-right: 0px;
padding-left: 0px;
background-image: url(images/array_332x28.jpg);
background-repeat: no-repeat;
background-position: -111px;
margin: 0px;
}
#tvmenu ul {
padding:0;
margin:0;
list-style-type: none;
}
#tvmenu ul li {
float:left; position:relative;
}
/* commented backslash \*/
* html ul li a {height:1%}
/* end hack */
#tvmenu li a {
text-decoration: none;
}
#tvmenu ul li ul {
display: none;
position: absolute;
left: 0; /* Set 1px less than menu width */
top:28px;
left:0;
width:111px;
line-height:18px;
height:18px;
}
/* specific to non IE browsers */
#tvmenu ul li:hover a {
color: #fff;
background-image: url(images/array_332x28_roll.jpg);
}
#tvmenu ul li:hover ul {
display:block;
position:absolute;
left:0;
width:111px;
height:18px;
line-height:18px;
}
#tvmenu ul li:hover ul li a.hide {
background-image: url(images/bullet_11x8_trafix.png) !important; color:#fff;
background-repeat: no-repeat;
background-position: left center;
height:18px;
line-height:18px;
}
#tvmenu ul li:hover ul li:hover a.hide {
color:#fff;
}
#tvmenu ul li:hover ul li ul {
display: none;
}
/*Submenu leer*/
#tvmenu li li a, #tvmenu li.over li a {
color: #fff;
background-image: url(images/bullet_11x8tra.png) !important;
background-repeat: no-repeat;
background-position: left center;
height:18px;
line-height:18px;
border-top: solid 1px;
}
#tvmenu ul li:hover ul li a {
color: #fff;
background:none;
text-align:left;
height:18px;
font-weight:normal;
text-indent:10pt;
line-height:18px;
height:18px;
}
#tvmenu ul li:hover ul li a:hover {
background-image: url(images/bullet_11x8_rolltra.png) !important;
color: #fff;
background-repeat: no-repeat;
background-position: left center;
height:18px;
line-height:18px;
}
#tvmenu ul li:hover ul li:hover ul {display:block; position:absolute; left:111px; top:0;}
#tvmenu ul li:hover ul li:hover ul.left {left:-80px;}
How can I tell Wayfinder to show theses parent-documents?