AndyB
Well-known member
I'm creating a new add-on and I can't get Listener.php to echo a test string. I expect the word "test" to be echo'ed when I view a thread with attachments.
The file I'm trying to extend is:
/library/Xenforo/ViewPublic/Attachment/View.php
When I create a new Code Event Listener, should I listen to load_class or load_class_view ??
Thank you for your help.
The file I'm trying to extend is:
/library/Xenforo/ViewPublic/Attachment/View.php
When I create a new Code Event Listener, should I listen to load_class or load_class_view ??
Thank you for your help.