Arty Well-known member Aug 16, 2016 #1 Is it possible to get current style id in template_post_render event handler?
Arty Well-known member Aug 16, 2016 #2 Figured it out. Code: $params = $template->getParams(); if (isset($params['_styleId'])) { // do style specific stuff. current style id = $params['_styleId'] }
Figured it out. Code: $params = $template->getParams(); if (isset($params['_styleId'])) { // do style specific stuff. current style id = $params['_styleId'] }