EduGarage Logo
Search:
Site Map
Upcoming Events:
Please e-mail us if you would like your webinar, conference, or get-together to be featured in this space.
Stay Informed:

get theme name

rated by 0 users
Answered (Verified) This post has 1 verified answer | 2 Replies | 1 Follower

Top 75 Contributor
14 Posts
alex.bell posted on 5 Apr 2012 7:32 AM

Does anyone know if there's a way of getting the theme name for a course or for the system?

Answered (Verified) Verified Answer

Top 10 Contributor
226 Posts

Not tried this before, but the following gives me the theme name in Learn 9.1.8:

blackboard.platform.branding.common.Theme theme = (blackboard.platform.branding.common.Theme)request.getAttribute("currentTheme");
System.err.println("Theme name: " + theme.getName());

HTH

All Replies

Top 10 Contributor
226 Posts

Not tried this before, but the following gives me the theme name in Learn 9.1.8:

blackboard.platform.branding.common.Theme theme = (blackboard.platform.branding.common.Theme)request.getAttribute("currentTheme");
System.err.println("Theme name: " + theme.getName());

HTH

Top 75 Contributor
14 Posts

Thanks, that does the trick

Page 1 of 1 (3 items) | RSS
© 2006-2009 Blackboard Inc. All Rights Reserved. Blackboard, the Blackboard logo, and EduGarage are trademarks
or registered trademarks of Blackboard Inc. in the United States and/or other countries.