4 users online. Create an account or sign in to join them.Users
Have an event 'read-only' in Symphony
This is an open discussion with 1 reply, filed under Troubleshooting.
Search
Just change
public static function allowEditorToParse(){
return true;
}
to
public static function allowEditorToParse(){
return false;
}
and the event editor only shows the help section of your event.
Create an account or sign in to comment.
I was wondering if it is posible to give an event a ‘final’-state. I have some custom code now in my event.xxx.php file in my workspace/events-folder. But when I go to Symphony and edit my event and click on ‘Save Changes’, the PHP file gets re-generated and my custom code gets lost!
Is there a way to give the event a final-state or something so the ‘Delete’- and ‘Save Changes’-button don’t get displayed? I see it is possible with the ‘Login Info’-event for example, but I cannot see in it’s PHP-code how they accomplished this.
Is there a way to do this?