This topic is locked

AddOnLoad event not working

10/7/2008 4:43:25 PM
PHPRunner General questions
D
dakk author

In 4.2 there was an Add page event called AddOnLoad. I had some code that captured a variable in 4.2 and echo'd it on the add page. Now it doesn't work in 5.0. The event seems to be deprecated in 5.0. Is this by design or a bug?

Sergey Kornilov admin 10/7/2008

In fact this event is carryover from version 4.1.

In v4.2-5.0 use "Insert PHP code snippet" function in Visual Editor.