Hide Calendar Event Fields from Anonymous Visitors


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

The following TypoScript snippet is an example of how to show specific calendar event data to only registered users and hide it from anonymous visitors.


Copy this code and paste it in your HTML
  1. [loginUser = *]
  2. # Do nothing and leave defaults in place
  3. [else]
  4. # Remove the description completely
  5. plugin.tx_cal_controller.view.event.event.description >
  6. [end]

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.