[TYPO3-dev] Add header data for extensions
Tapio Markula
tapio.markula at dnainternet.net
Mon Jun 26 17:41:03 CEST 2006
Peter Russ wrote:
> 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.
Where and how to add that so that it could work reliable.
$TBE_STYLES['stylesheet2'] (or other BE stylesheets) can't be set
user/user group level in ext_tables.php.
TS Config options don't work reliable in class.ux_template.php - as I
wrote in another topic.
function startPage() in template.php
writes the HEAD part of BE HTML-files.
I tried to rewrite only function docStyle()
- doesn't work for all pages.
More information about the TYPO3-dev
mailing list