typo3 - TypoScript: mixed menu of public and access restricted pages -


i want make menu containing both public , access restricted pages, based on following requirements:

  1. public pages should linked, regardless whether user logged in or not
  2. access restricted pages should not linked if user not logged in
  3. access restricted pages should linked if user logged in

this have far:

lib.menu = hmenu lib.menu.1 = tmenu lib.menu.1 {     // satisfies requirement 2     no.donotlinkit = 1     // satisfies requirement 3     usr = 1 } 

however, expect, requirement 1 isn't satisfied way. can't come way make lib.menu.1.no conditional based on page being public or access restricted.

if set no.donotlinkit = 1 normal pages not linked. want set showaccessrestrictedpages = <uid> uid id if page login form. see documentation. can set cur.donotlinkit = 1, requirement 2.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -