2k11: Including the user.css
Posted: Fri Mar 29, 2013 12:03 pm
As of now, 2k11 includes the user.css using a template option to determine whether the user.css should be used and serendipity_getFile. Someone just pointed out to me that serendipity_getFile seems to be “part of the fallback mechanism”, which means if:
* the option to include it is set to “Yes”
* there is no user.css in /templates/2k11
* there is a user.css in /templates/bulletproof
Bulletproof's user.css is used in 2k11. That's not ideal.
The solution would be simple: include the user.css using
instead. Does anyone see any drawback to this?
YL
* the option to include it is set to “Yes”
* there is no user.css in /templates/2k11
* there is a user.css in /templates/bulletproof
Bulletproof's user.css is used in 2k11. That's not ideal.
The solution would be simple: include the user.css using
Code: Select all
<link rel="stylesheet" href="{$serendipityHTTPPath}templates/{$template}/user.css">
YL