[TYPO3-english] Need pages with no menu at the left side

JoH asenau info at cybercraft.de
Thu May 7 09:48:11 CEST 2009


> The complete scenario is that I want to use at a page imageflow to
> select a page. The page should then be displayed in an extra window
> without the menu.
> The problems are:
> 1. Imageflow cannot handle to my knowledge to open a new page.
> 2. Imageflow cannot open a page with a flag (to avoid the menu).
>
> Is there a way that I can open a simple page which uses an automatic
> opening of the page I need with the flag to avoid the menu?

Exactly this is the scenario the "layout" switch (available for pages after
activating secondary options) has been made for.

Default values are Normal, Layout1, Layout2, Layout3.
You can add more if you need and you can change the labels as well:

Page TSconfig:

TCEFORM {
  pages.layout {
    addItems {
      4 = Another Layout
      5 = One more
    }
    altLabels {
      1 = No Left Menu
    }
  }
}

In your TS Setup you can then use conditions:

#this is your menu setup
temp.myMenu = COA
temp.myMenu {
  blah
}

[globalVar = TSFE:page|layout = 1]
    #this kills the menu setup
    temp.myMenu >
[global]

#this adds the appropriate menu version
page.10 < temp.myMenu

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Twitter: http://twitter.com/bunnyfield
Xing: http://contact.cybercraft.de
T3 cookbook (2nd edition): http://www.4any1.de
TYPO3 Schulung: http://workshops.eqony.com




More information about the TYPO3-english mailing list