[TYPO3-dev] Add header data for extensions
Peter Russ
peter.russ at 4many.net
Mon Jun 26 16:56:38 CEST 2006
Tapio Markula schrieb:
[...]
> $confProperties =
> t3lib_BEfunc::getModTSconfig($this->pageinfo['uid'],'mod.skin_grey_2');
>
> $styleSheetFile2 = '';
> if (empty($confProperties['properties']['styleSheetFile_post']))
> $styleSheetFile_post = ($this->styleSheetFile_post?'<link
> rel="stylesheet" type="text/css"
> href="'.$this->backPath.$this->styleSheetFile_post.'" />':'');
>
> Idea: override post stylesheet file, if it has been defined for user/
> user groups
Did you try something like:
$TBE_STYLES['stylesheet2']=t3lib_extMgm::extRelPath($_EXTKEY).'styles.css';
Add a little group switch and it should work as you expect.
At least in 3.8.1.
Regs. Peter.
More information about the TYPO3-dev
mailing list