|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
I have a plugin which lets me attach a flag to a page. I'd like to show
visually which pages have this flag set, and which don't, by modifying the icon for the page, hopefully by adding a little "badge" like the way that links work. Is this possible? I'm a bit of a newbie but I seem to have narrowed the icon creation/selection down to t3lib_iconWorks::getIcon(). Here it calculates the icon to use, but there doesn't seem to be any hooks for an extension to modify the icon. It seems to have a hardcoded list of flags that are used to determine the unique identity of the icon, which later determine the icon style and overlays: ($hidden || $timing || $futuretiming || $user || $deleted || $shaded || $noIconFound) It looks like I'd have to add another flag, adjust $string and $flags, and also change makeIcon() to detect the new type and add the correct overlay. Unfortunately, I want to do this in an extension, not by modifying the core code. Is there any hope for me? Thanks, Dobes _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3] Change page title only to one page | Cray Flatline | typo3-english@lists.netfielders.de | 5 | 20.04.2007 04:02 |
| [TYPO3-dev] CSS-problems with the new page/file tree | Tapio Markula | typo3-dev@lists.netfielders.de | 12 | 29.03.2007 12:31 |
| [TYPO3] ow can i know number pages on a given level in page tree? | Andrew Davis | typo3-english@lists.netfielders.de | 1 | 28.03.2007 09:21 |
| [TYPO3-dev] New doktype: automatic BE page tree for recordattributes | Cyprian Kowalczyk | typo3-dev@lists.netfielders.de | 2 | 26.01.2007 03:23 |
| [TYPO3-dev] How typo3 saves highlighted page in the page tree? | Tapio Markula | typo3-dev@lists.netfielders.de | 5 | 29.12.2006 11:59 |