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.

  1. create new external link in site map under home titled, "schools". link, enter # (pound sign, no http://), or javascript(0);

  2. move pages inside existing "schools" page under new "schools" (do dragging-and-dropping each school onto new external link

  3. 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

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -