Make the initial dropdown menu option in Concrete5 not go to a page -
i building website using concrete5 includes drop down navigation using auto nav.
right navigation looks this:
--home --schools --school 1 --school 2 --school 3
right when click on schools takes page (which blank because haven't added anything)
my question is, how make schools didn't go anywhere when clicked , had choose drop down options?
quick workaround make "dummy" parent page in concrete5 nav: use external link main schools page instead of actual concrete5 page.
create new external link in site map under home titled, "schools". link, enter
#
(pound sign, no http://), orjavascript(0);
move pages inside existing "schools" page under new "schools" (do dragging-and-dropping each school onto new external link
delete old "schools" parent page.
another more in-depth option includes creating custom page attribute called "nav_link_dummy", using custom autonav template check (in php script) attribute not show link. use:
`if $_c->getcollectionattributevalue('nav_link_dummy')`
to check attribute in autonav template.
Comments
Post a Comment