Subnavigation with parent page title as headline


/ Published in: TYPO3
Save to your folder(s)

This subnavigation shows the parent page as headline and then a simple list for the navigation links. The navigation is only shown if the current page has actually subpages.


Copy this code and paste it in your HTML
  1. temp.sidebarSubNav = COA
  2. temp.sidebarSubNav {
  3. 10 = HMENU
  4. 10 {
  5. entryLevel = 1
  6. 1 = TMENU
  7. 1 {
  8. expAll = 1
  9. noBlur = 1
  10. stdWrap.cObject = COA
  11. stdWrap.cObject {
  12. 10 = HMENU
  13. 10 {
  14. special = rootline
  15. special.range = 1|0
  16. wrap = <h2>|</h2>
  17. 1 = TMENU
  18. 1.NO.doNotLinkIt = 1
  19. }
  20. 20 = HMENU
  21. 20 {
  22. entryLevel = 1
  23. 1 = TMENU
  24. 1 {
  25. expAll = 1
  26. noBlur = 1
  27. NO {
  28. ATagTitle.field = subtitle//title
  29. ATagParams = class="sidebarNav"
  30. stdWrap.htmlSpecialChars = 1
  31. }
  32. }
  33. }
  34. }
  35. wrap = |
  36. NO {
  37. }
  38. }
  39. }
  40. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.