lib.crumbnavigation = COA
lib.crumbnavigation {
    wrap = <nav id="crumbNavigation" role="navigation"><ol class="clearfix">|</ol></nav>

    10 = HMENU
    10 {
        special = rootline
        special.range = 0|-1

        1 = TMENU
        1 {
            NO = 1
            NO {
                allWrap = <li>|</li>
                stdWrap.htmlSpecialChars = 1
                ATagTitle.field = abstract // description // subtitle // title
            }

            CUR < .NO
            CUR {
                allWrap = <li class="active">|</li>
                doNotLinkIt = 1
            }
        }
    }
}

[request.getQueryParams()['tx_news_pi1']['news'] > 0]
    lib.crumbnavigation.20 = RECORDS
    lib.crumbnavigation.20 {
        tables = tx_news_domain_model_news
        dontCheckPid = 1
        source.data = GP:tx_news_pi1|news
        source.intval = 1
        conf.tx_news_domain_model_news = TEXT
        conf.tx_news_domain_model_news.field = title
        conf.tx_news_domain_model_news.htmlSpecialChars = 1
        wrap = <li class="active">|</li>
    }
[END]

[request.getNormalizedParams().getHttpHost() == 'my.weytec.com' || request.getNormalizedParams().getHttpHost() == 'my.weytec.com.zwei14.website' || request.getNormalizedParams().getHttpHost() == 'my.weytec.com.local']
    lib.crumbnavigation {
        wrap = <nav id="crumbNavigation" role="navigation"><ol class="clearfix"><li><a href="/en/home/">myWEYTEC</a></li>|</ol></nav>

        10 {
            special.range = 1|-1
        }
    }
[END]
