Hi, this is my first post in this forum.
I use modx for many sites and it’s the first time i have a serious problem (usually everything works
very fine), so i ask for some help or indications.
My problem is simple : access a template variable in a modx plugin when the event
OnDocFormDelete is call.
I’ve tried everything ...
$modx->getTemplateVarOutput(array('mytvid'), $id, 1);
$modx->getTemplateVar('mytvid', "",$id);
This code work on other events like
OnWebPageInit but in
OnDocFormDelete it return nothings.
Someone knows why ??