• 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" />');    }

    And if someone gave you a pile of gold, you'd probably complain that it was too heavy.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!