[TYPO3-english] redirection to subpage

ddrill p.halczakCUT at ITyahoo.co.uk
Thu Feb 12 17:53:25 CET 2009

StephenBungert wrote:
> Your main page is normally where the home page is. Why do you need the home
> page not to be at the top of the tree? So that there is a link to home in a
> menu?
> If this is all you can just use typoscript conditions to check for the tree
> level. If your not at the root level you can add with typoscript a link to
> the home page in to your menu.
> -----

temp.mainTemplate = TEMPLATE
temp.mainTemplate {
  template =< plugin.tx_automaketemplate_pi1
  workOnSubpart = DOCUMENT_BODY
  subparts.content < styles.content.get

  subparts.menu_top = HMENU
  subparts.menu_top.1 = TMENU
  subparts.menu_top.1 {
    NO.allWrap = <li><span>|</span></li>
    NO.stdWrap.htmlSpecialChars = 1
    ACT = 1
    ACT.allWrap = <li id="current"><span>|</span></li>
    ACT.stdWrap.htmlSpecialChars = 1

this is the menu, how to add main page to it and let behave like other do

More information about the TYPO3-english mailing list