Don't remember Publication icons ever being different depending on type, but I did once create a UI extension that changed the icon of certain Publications (we made them pink cloud icons ;o), so that certainly is possible.
If I remember correctly I usedthink the icon based on a list extension for itPublication Type was pretty simple, will look tomorrow ifusing a standard UI Extension (Editor), with the following configuration:
<extensions>
<ext:editorextensions>
<ext:editorextension target="CME">
<ext:editurls />
<ext:listdefinitions />
<ext:itemicons>
<icon match="^T1L[01]P[01]S5$" path="${theme}Images/Icons/${icon}.${size}x${size}.png" />
</ext:itemicons>
....
And then I can findhad the following icons created:
- T1L0P0S5.16x16.gray.png
- T1L0P0S5.16x16.png
- T1L0P0S5.24x24.png
- T1L0P0S5.32x32.png
- T1L0P0S5.48x48.png
- T1L0P1S5.16x16.png
- T1L0P1S5.24x24.png
- T1L0P1S5.32x32.png
- T1L0P1S5.48x48.png
- T1L1P0S5.16x16.png
- T1L1P0S5.24x24.png
- T1L1P0S5.32x32.png
- T1L1P0S5.48x48.png
- T1L1P1S5.16x16.png
- T1L1P1S5.24x24.png
- T1L1P1S5.32x32.png
- T1L1P1S5.48x48.png
Note the S5
in my icon names and in the match of the configuration. We had created an additional Publication Type in the Tridion.ContentManager.config
with id 5.
I think if you match S1
and S2
and create separate icons for that, you might be there with a code sample backsimple UI (Editor) Extension.