We have just recently upgraded to Luminis III.3.3. It went fairly well overall, however one of the major modifications that I made, using some tutorials posted on this site, was to change the icons at the top of the page to role based icons. Worked beautiful by just modifying the nested-tables. However with the the new version it seems that they have rolled the icons up into a channel that can now only be modified using the CDK. Anybody have experience with this. I thought I saw a post on this a few weeks ago but I've searched everything I can think and I can't find it. Any steps on how to make the change using the CDK or a node number for the previous post if there was one would be much appreciated. Thanks.
Jaci Chesnes
Icons Pre III.3.3: All Too Easy
I'm not sure I understand this change to be honest. Out of all the things that people are clamoring for-being unable to customize the icons through nested-tables didn't seem to be one of them. The docs on this basically read: "Customizing the icons was a fairly common request, so we've made it more difficult for you." Its strange.
We're in the middle of reworking all of our logic on this now for III.3.3. :-(
When I did talk to SCT they
When I did talk to SCT they said that having the icons function through the nested tables was causing some type of performance hit to the systme so it necesitated the change. So I'm left with less functionality and less ability to customize than I had before the upgrade. I've downloaded and installed the CDK but that's as far as I've gotten. In the CDK documentation it says that they have a section on conditionalizing icon display but I'm having a real hard time implementing. If you guys are further along please help.
Jaci Chesnes
Web Developer
Lakeland Community College
Well I have supressed an icon...
Not sure if you found the section, but if you look at the most recent CDKGuide (May 5, 2006 Version B) and check out page 123 you will see instructions along with working code to start customising icons.
I had a need to supress the e-mail icon from a certain role, using the code found in that guide and modifing the appropriate values (the if test was against EMAIL_ICON, and the roles test was changed to the role I had in question) I was able to take their code line for line and implement it.
That is exactly what I want
That is exactly what I want to do but I'm having some problems.
Would you be available to answer some question via email?
Jaci Chesnes (jchesnes@lakelandcc.edu)
Web Developer
Lakeland Community College
If a jobs worth doing, it's worth half doing...
It does indeed look as though it's *fairly* straightforward to change the icons as long as you think within Sungard HE's box.
It will only allow you to show/hide the default icons:
admin, email, emailMua, calendar, groups
The help and logout are hardcoded into nested-tables.xsl defeating the point of the IconEvaluator class. It *may* seem fairly obvious that users would wish to have these icons, but its not always the case.
Also, how can you now support your own conditional icons?
Extending org.jasig.portal.channels.cpicons.channel seems the obvious starting point, so where is the documentation in the SDK Channel Developer Guide?
It looks like version (this + 1) will have all the answers. As usual.
Rant over.
you can add your own custom
you can add your own custom conditional icons by adding a final static variable to your class file, modifying the channel.xsl file in uPortal.jar and add image references in the nested-tables.xsl file.
Success Adding icons
I've recently updated our test system to 3.3.3, and can happily say that I've got our Blackboard and Groupwise icons displaying. The Groupwise Icon is for all users while the Blackboard icon only displays for Faculty and Students. Both are working correctly (as you can imagine, I'm quite excited about this).
The whole process actually was not that difficult. I think the most difficult thing is getting over the intimidating documentation. Also, there was a little section of code missing from the documentation with regards to updating the nested-tables.xsl file. They've recently updated this and the new version is available for download.
:) Christine