22. August 2010 um 17:04 #1 Is it possible to modify the header to include a stylesheet file?This is what I tried so far:In FormAddForm.class.php PHP public function show() { parent::show(); WCF::getTPL()->append('specialStyles', '<link rel="stylesheet" type="text/css" media="screen" href="' . RELATIVE_K2_CMS_DIR . '"style/k2_cms.css" />'); }
22. August 2010 um 17:26 #2 You just need to swap your commands. First the append function, then the parent::show()