[TYPO3-english] EXT: rgtabs and templates

Marcus 'biesior' Biesioroff vsbies at wp.pl
Sat Mar 28 13:04:16 CET 2009


piet roorda pisze:
> in the manual it says:(page4)
> pathToCSS      string          The path to the CSS file which is used.
>            EXT:rgtabs/res/css/rgtabs.
> 
> put the css somewherein the fileadmin and change the css to what you intend to
> that would do the trick,
> cheers,
> piet
> 
> css

Thank you Piet, of course I did it at the beginning, (basing on two 
rules: 1. "Read First Ask Later" and 2. "never change ext's source code" 
:) )

however I have two problems, first is that I want my own fragments of 
code to for an example clearing the floats (I set ul.rgtabs-menu with 
float: right, and div.rgtabs-wrapper with float: left) now I need to put 
<div style="clear: both" /> after them... (or use other technique for 
floats clearing - what I'm going to test right now)

Second is planned situation - when on one page there's more then just 
one tabs set... of course they are wrapped in divs with individual id's 
(id="rgtabs{ce_uid}") so I can write CSS for every set separately but 
after copying CE into new page id will change...

Finally I wrapped all content element with rgtabs in the other 
div#myTabsSet1 which is just a container for this set so now it's OK... 
:) I can copy it somewhere and use CSS like this:

#myTabsSet1 .rgtabs-menu {....}

Georg: I have proposal for small feature, maybe you can add in the 
future version field to flexform called "Custom Wrap ID" which (if 
filled) will overwrite id of this wrapper: <div id="rgtabs{ce_uid}"> ??

That's all for now, I think that my problem is almost resolved (with 
CSS) I just need back into CSS's clearing techniques :)



With best greetings

-- 
Marcus 'biesior' Biesioroff
a.k.a. Marek Krawczyk (original)

Polish TYPO3 Community Proud Member
http://typo3.pl


More information about the TYPO3-english mailing list