event

  1. CMTV

    Fixed actionDialog() silently removes underscores "_"

    Not a bug but unexpected and weird. In XF\Pub\Controller\Editor class there is a actionDialog() method which loads a dialog in popup when clicking on dialog-buttons in Froala editor: public function actionDialog() { $dialog = preg_replace('/[^a-zA-Z0-9]/', '', $this->filter('dialog'...
  2. CMTV

    XF 2.0 Checking and changing the style on page load

    Hi! I need to perform some checkings on every page of the forum and change its style (even for guests) depending on the results. So I have this code: if(/* Condition */) { // Set style 1 } else { // Set style 2 } Where should I place this code? Maybe there is an event for this?
Top