re: [Rainbowportal-devel] changes in the way themes are applied to modules?
Brought to you by:
danijel_kecman,
manudea
From: Jeremy E. <je...@ma...> - 2004-09-20 17:46:45
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>changes in the way themes are applied to modules?</TITLE> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD> <BODY bgColor=#ffffff leftMargin=1 topMargin=1 rightMargin=1><FONT face=Tahoma size=2> <DIV>Hi, Mark</DIV> <DIV> </DIV> <DIV>Yes .... I changed just about everything "under the hood" ... PortalModuleControl is now self-sufficient, i.e. it does not use the separate DesktopModuleTitle control. This was done for a number of reasons: partly just to tidy things up, but also to allow for much greater flexibility now and in the future. It is worth noting, though, that for legacy support there is still a DesktopModuleTitle class which is queried by PortalModuleControl for values set but is never rendered. In fact I went to great lengths to ensure that old Layouts/Themes would look the same... if I've failed then I'm very interested in fixing it.</DIV> <DIV> </DIV> <DIV>There is still an "Apply Theme" switch in the module settings screen ... if you uncheck it, and also uncheck "Show Title" and "Show Modified by" you should get pretty close to what you used to have. If you don't, then don't despair! Let me know the full dteails on the problem/requirement and i'll see what can be done. Also worth considering is the use of the new "Custom Theme per Module" feature ... using that you could generate the exact module container you want and apply it as a custom theme to the module. On the flip-side, there are other ways to get the PortalID, I'm sure ... portalSettings, for example ... so maybe you'd be better off refactoring your code as a simple control (and including it in the Layout)?<BR><BR>Cheers,</DIV> <DIV> </DIV> <DIV>Jes1111</DIV> <DIV> </DIV> <DIV> </DIV></FONT> <DIV style="FONT-SIZE: x-small; FONT-FAMILY: Tahoma"> <DIV>----------------------- <B>Original Message</B> -----------------------</DIV> <DIV> </DIV> <DIV><B>From:</B> "Plowman, Mark" <A href="mailto:MPl...@bc..."><FONT color=#0000ff><MPl...@bc...></FONT></A></DIV> <DIV><B>To:</B> <A href="mailto:rai...@li..."><FONT color=#0000ff>"'rai...@li...'"</FONT></A> <A href="mailto:rai...@li..."><FONT color=#0000ff><rai...@li...></FONT></A></DIV> <DIV><B>Date:</B> Mon, 20 Sep 2004 12:37:29 +0100</DIV> <DIV><B>Subject: <U>[Rainbowportal-devel] changes in the way themes are applied to modules?</U></B></DIV> <DIV> </DIV></DIV> <P><FONT size=2>Hi,</FONT> </P> <P><FONT size=2>Has the way that modules are displayed changed? Specifically, the way that the themes are applied?</FONT> </P> <P><FONT size=2>I ask because in the previous version, I have a control that inherits PortalModuleControl and which is displayed in the PortalBanner. The control simply either displays an image with a hyperlink, or it doesn't display anything - in both cases it does not have any theme applied to it.</FONT></P> <P><FONT size=2>In the pre-release version, it now has a theme applied to it, regardless of whether the image is displayed or not. I really don't want a theme to be applied to this control, but I need to inherit from PortalModuleControl so that I have access to the PortalID value.</FONT></P> <P><FONT size=2>Is there someway to turn off a theme for a module? </FONT></P> <P><FONT size=2>Cheers,</FONT> <BR><FONT size=2>Mark</FONT> </P> <META content="MSHTML 5.00.3103.1000" name=GENERATOR> <STYLE></STYLE> <TABLE width=500 border=0> <TBODY> <TR> <TD> <HR> <FONT face="Arial, Helvetica, sans-serif" color=#666666 size=1>This message is intended only for the addressee(s) and may be confidential. Access to this email by anyone else is unauthorised. Any opinions expressed in this email do not necessarily reflect the opinions of BCA. Any unauthorised disclosure, use or dissemination, either in whole or in part is prohibited. If you are not the intended recipient of this message please notify the sender immediately. BCA, Greater London House, Hampstead Road, London. NW1 7TZ. Tel: 020 7760 6500. This message has been checked for all known viruses by the MessageLabs Virus Scanning Service.</FONT><BR> <HR> </TD></TR></TBODY></TABLE></BODY></HTML> |