I have used xarModRegisterHook('item', 'modify', 'GUI', 'gallery2', 'admin', 'g2image') and it works great in conjunction with Articles.
Now I am trying to get the hook to also be called when I am creating a new article.
I tried registering this hook: xarModRegisterHook('item', 'new', 'GUI',
'gallery2', 'admin', 'g2image') - no luck.
It wouldn't load. I have had a look at the html module and have also tried this: xarModRegisterHook('item', 'transform', 'API',
'gallery2', 'admin', 'g2image') to no avail...
Any ideas what hook actually needs to be registered so it's loaded for a new article?
Thanks for your help