[TYPO3-english] Using core Sprites with ExtJS in TYPO3 4.4 - CSS Problem or Bug?

Kay Strobach typo3 at kay-strobach.de
Fri Sep 10 16:59:57 CEST 2010


hi,

I opened a bugreport:
http://bugs.typo3.org/view.php?id=15680

Best regards
Kay

Am 06.09.2010 16:46, schrieb Kay Strobach:
> Hello guys,
> 
> i tried to use the default generated sprite classes in TYPO3 4.4.2 with
> an ExtJS BE Module. But I need to change the css to get it working.
> 
> For example: I "set t3-icon-actions t3-icon-actions-document
> t3-icon-document-new" as icon-class for an extjs button.
> 
> Additionally i need to disable the following rules in firebug:
> 
> ext-all-notheme.css:
> 
>> > .x-btn-text-icon .x-btn-icon-small-left .x-btn-text {
>> > 	background-position:0 center;
>> > }
>> > .x-btn button {
>> > 	background:none repeat scroll 0 0 transparent;
>> > }
> to see the icons.
> 
> I created the Backendmodule with the following code (only relevant parts
> for creating the module):
> 
>> > $this->doc->getPageRenderer()->loadExtJS();
>> > <...>
>> > $this->content = $this->doc->startPage($LANG->getLL('title'));
>> > $this->content.= $this->doc->moduleBody($this->pageinfo,
>> > $docHeaderButtons, $markers);
>> > $this->content.= $this->doc->endPage();
>> > $this->content = $this->doc->insertStylesAndJS($this->content);
> 
> Is this a general Extjs problem or a problem of the order of css
> inclusion what i assume. I hope I made the misstake, thanks for your help.
> 
> I think it would be nice, if it would be possible to use the default
> icons provided by the installed skin.
> 
> Best regards
> Kay



More information about the TYPO3-english mailing list