Forums: How to hide 'Add new' button on Monthly list page - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to hide 'Add new' button on Monthly list page

#1 User is offline   admin 

  • Administrator
  • PipPipPip
  • Group: Admin
  • Posts: 15880
  • Joined: 03-February 03

Posted 08 July 2014 - 03:47 PM

Add the following code to the end of calmonthly view 'List page: Before Display' event:
$xt->assign("allow_add", false);

Best regards,
Sergey Kornilov
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic