Subscribe to Acqal

Got Thoughts? Write Us!

Contact
Request
Validate

Approved TYPO3 Agency

Acqal is an approved TYPO3 agency focusing on support, training and website migration.

This means that we...

  • are available on TYPO3.org
  • make substantial contributions to TYPO3 teams
  • are registered as business members of the TYPO3 Association
  • have completed more than four TYPO3 projects
  • have proven our technical abilities with quality TYPO3 extensions
  • use TYPO3 for our own website

Acqal is a TYPO3 Association Business Member

Popular Blog Posts

Blog Topics

Virgil on Twitter

Please wait while virgilhuston tweets load Twitter is loading

Recent Blog Posts

Blog Archives

Create limited page navigation with TypoScript

lib.nav.top and search box

lib.nav.top and search box

Hover over the page icon for its PID

Hover over the page icon for its PID

lib.nav.top TypoScript

lib.nav.top TypoScript
Tuesday, September 22, 2009 12:01 AM EDT

By: Michael Cannon

voting in progress Submitting your vote...
Rating: 4.0 of 5. 1 vote(s).
Click the rating bar to rate this item.

Creating inline navigation for your TYPO3 website is pretty straightforward. You can copy and paste the following TypoScript code into your TypoScript template's Setup section and then call lib.nav.top as needed into your TemplaVoila or TypoScript page template.

You can adjust what pages are shown by changing the PIDs in lib.nav.top.special.value.

lib.nav.top = HMENU
lib.nav.top {
special = list
special.value = 22, 91, 20, 32
1 = TMENU
1 {
NO {
linkWrap = | | |*||*| |
ATagTitle.field = description // title
stdWrap.htmlSpecialChars = 1
}

CUR < .NO
CUR = 1
CUR {
doNotLinkIt = 1
stdWrap.wrap = <span id="current">|</span>
}
}
}

# search box appending
temp.lib.nav.top < lib.nav.top
lib.nav.top >

lib.nav.top = COA
lib.nav.top {
10 < temp.lib.nav.top
20 < lib.static.search
}

Keywords:

  • page navigation,typoscript,hmenu,tmenu,typo3


Acqal Corporation is an approved TYPO3 agency with over 40 years of Internet experience. Acqal offers you TYPO3 support, TYPO3 templates and TYPO3 training and tutorials.

Please subscribe to Acqal Newsletter and Acqal Blogging via or RSS Feed Acqal RSS Feed.

© 2009 Acqal Corporation. All Rights Reserved.

Please Share This Post

Tweet thisRedditBookmark on deliciousStumble thisShare on Facebook

Send this article via email to your friends and peers.

Leave a Comment

Add comment

* - required field







Notify me when a new comment is added.