BE Module CSS
The stylesheet of the BE modules is still not loaded probably.
Change line 456 in file \lib\class.tx_t3blog_modbase.php from
$this->doc->addStyleSheet('t3blog_css', t3lib_extMgm::siteRelPath('t3blog') . 'lib/styles.css');
$this->doc->addStyleSheet('t3blog_css', t3lib_div::resolveBackPath($this->doc->backPath . t3lib_extMgm::extRelPath('t3blog') . 'lib/styles.css'));
Code is taken from sysext recycler.
Please remove function getCSS (line 167+ in file \mod1\class.functions.php) as its not longer in use.
#1 Updated by Felix Nagel about 8 years ago
Additionally i modified the BE module style.css file to improve the visual style of odd lines (changed hover and odd background color) and added some :last-child selector (works only in modern browsers) to change the width of the functions (button) pane.
Please replace old /lib/styles.css with this one:
#3 Updated by Felix Nagel about 8 years ago
Use this snippet to make module CSS work in TYPO3 4.4
$this->doc->JScode .= '<link rel="stylesheet" type="text/css" href="' . t3lib_div::createVersionNumberedFilename(t3lib_div::resolveBackPath($this->doc->backPath . t3lib_extMgm::extRelPath('t3blog') . 'lib/styles.css')) . '" />';
This is taken from the syext recycler shipped with TYPO3 4.4.
#6 Updated by Clemens Riccabona over 7 years ago
Current (TER) Version won't work in TYPO3 4.4 and 4.5 at least for me, but I found others on the Web too.
Version switch seems to be integrated (
#4 by Dmitry), so where is the problem using the snippet from Felix ( #3 -> $this->doc->JScode instead of $this->doc->addStyleSheet)?
For me this solves the problem on differently configured servers (base_dir on/off, different install paths, etc ...) perfectly.
-> By the way it is not always just a cosmetical problem.
I stepped over this problem because one of my blog installations had a crowded sys_log because of this error (>95MB).