TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 08.06.2007, 21:24
Dobes Vandermeer
Gast
 
Beiträge: n/a
Standard [TYPO3] Can I change the icon in the backend's page tree based on aflag?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:50 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75