[TYPO3] HMENU and Access restricted page

Tyler Kraft headhunterxiii at yahoo.ca
Thu Apr 19 14:52:29 CEST 2007


Hi

I'm building a hmenu using special.list and one of the pages I need in 
it is a access restricted page.

Now by default HMENU has the property excludeDoktypes which doesn't 
allow doktypes of 5 (not in menu) or 6 (user access). But from my 
understanding of TSref I should be able to override this and allow doc 
types of  6, or am I wrong in thinking this?

here is the relevant part of my setup

temp.mainnav = HMENU
temp.mainnav{
	special = list
	special.value = 17,26,31,32,59
	excludeDoktypes >
	excludeDoktypes=5
	1 = TMENU
	1{
		showAccessRestrictedPages=126
		showAccessRestrictedPages.addParams=&return_url=###RETURN_URL###
		
<snip>



Thanks


More information about the TYPO3-english mailing list