[TYPO3-english] Naming convention of record icons with hidden, start-/endtime status

Lee Perry leeperry at slack.de
Wed Mar 24 14:48:13 CET 2010


Hi there,

in my own extension I use some icons for the records in the TYPO3 
backend. The standard icon is named 
"icon_tx_[extension-key]_[table-name].gif" - and it works, but with the 
extra fields "starttime" and "endtime" I will need some more icons, 
because the default icon is not used.

I don't know the naming convention for these cases 
(starttime/endtime-access, hidden, ...), but I've realized the default 
icon name gets a suffix like "*__h.gif" for a hidden record or 
"*__t.gif" for a record, that is out of the start-/endtime.

I tried some cases and got the following results:

Now            Start          Stop           Icon            Disabled
------------------------------------------------------------------------
24-3-2010      0              0              default         false
24-3-2010      15-1-2010      0              default         false
24-3-2010      15-4-2010      0              "__t"           true
24-3-2010      0              15-2-2010      "__t"           true
24-3-2010      0              15-4-2010      "__f"           false
24-3-2010      15-1-2010      15-2-2010      "__t"           true
24-3-2010      15-1-2010      15-4-2010      "__f"           false
24-3-2010      15-4-2010      15-5-2010      "__tf"          true

And when all these different records are hidden, the "h" will be added 
to the suffix (f.e. "__ht").

So when "t" means "true" - it is disabled because it's out of the time, 
but what does "__tf" stands for?

Please help me to understand the naming convention of the icons.


Thanx and greetings,
Lee


More information about the TYPO3-english mailing list