Bulletproof template: Missing user-defined stylesheet

Found a bug? Tell us!!
Post Reply
WebComPas
Regular
Posts: 101
Joined: Thu Nov 22, 2007 10:14 am
Contact:

Bulletproof template: Missing user-defined stylesheet

Post 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
Interessantes aus den Themenbereichen Computer, Internet und Programmierung unter http://www.it-blog.net
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post 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}
=Don=
WebComPas
Regular
Posts: 101
Joined: Thu Nov 22, 2007 10:14 am
Contact:

Post by WebComPas »

OK, this works fine. Thanks!

Regards,
Pascal
Interessantes aus den Themenbereichen Computer, Internet und Programmierung unter http://www.it-blog.net
Post Reply