Page 1 of 1

Bulletproof template: Missing user-defined stylesheet

Posted: Sun Aug 24, 2008 7:38 pm
by WebComPas
Hello!

Just now I found a little bug in the bulletproof template. This template offers the possibility to define an additional stylesheet file. Normally this works fine. But in the entry preview this stylessheet is not included. I hope, this will be fixed.

Regards,
Pascal

Posted: Sun Aug 24, 2008 8:46 pm
by Don Chambers
Nice catch Pascal - I just added it right after the colorset stylesheet in preview_iframe.tpl:

Code: Select all

        <!-- additional user stylesheet: this can be used to override selected styles -->
        {if $template_option.userstylesheet == 'true'}<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="user.css"}" media="screen" />{/if}

Posted: Sun Aug 24, 2008 9:34 pm
by WebComPas
OK, this works fine. Thanks!

Regards,
Pascal