David:

In the desktop.vm or desktop.jsp you need to include the stylesheet
declaration after the dojo:

For example, in desktop.vm (tigris) you will see this on line 28:

<meta http-equiv="Content-style-type" content="text/css" />
  
#desktopIncludeDojoHeaderContent()
        
#desktopIncludeHeaderContent()
            
</head>



Now, try to modify it and add the stylesheet line, like this:

    

<meta http-equiv="Content-style-type" content="text/css" />
  
#desktopIncludeDojoHeaderContent()
        
#desktopIncludeHeaderContent()
#IncludeStylesheets()
            
</head>

    
I didn't test it yet, but I will soon. 
In all cases if it works for you, please let me know in order to open an issue 
and 
submit a patch.





On Fri Apr 10,2009 01:50 pm, David Just wrote:
> Thanks Mansour,
> 
> I found the PageEditor.css earlier and tried to copy it to do overrides.
> This method doesn't seem to work because dojo includes it's CSS after my
> CSS so it overrides mine instead of the other way around.  Is there a
> way to change the include order so that dojo includes come first and
> then mine?
> 
> 
> 
> David Just l Software Engineer l Vision Solutions l +1 (507) 529-5939 l 
> [email protected]
> The contents of this e-mail (and any attachments) are privileged and 
> confidential. Unauthorized use is strictly prohibited.
> -----Original Message-----
> From: Mansour Al Akeel [mailto:[email protected]] 
> Sent: Wednesday, April 08, 2009 7:08 PM
> To: Jetspeed Users List
> Subject: Re: Changing the theme used by Desktop Edit sections
> 
> David:
> Sorry for hte confusion. I think I understand now what you need.
> Under "javascript/jetspeed/widget" directory you can find a file called 
> Pageeditor.css
> 
> javascript/jetspeed/widget/PageEditor.css
> 
> There's a class selector .pageEditorPaneContainerNotIE and
> .pageEditorPaneContainerIE
> 
> If I am not wrong you need to modify these or overwrite them in your
> desktop theme to get what you want. 
> 
> Make sure you restart the server for the changes to take effect.
> 
> 
> 
> On Wed Apr 08,2009 03:47 pm, David Just wrote:
> > We are still having a communication issue.  What I want to do is
> replace
> > the images/theme of the section in the attached screen shot with my
> own
> > images/colors, but it appears that it's rendered directly out of dojo
> > and not officially themeable.  The blue has to go. 
> > 
> > If you go into /desktop/ and choose edit,  this section of the page's
> > theme stays the same regardless of what layout theme/portlet theme you
> > choose.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > David Just l Software Engineer l Vision Solutions l +1 (507) 529-5939
> l [email protected]
> > The contents of this e-mail (and any attachments) are privileged and
> confidential. Unauthorized use is strictly prohibited.
> > -----Original Message-----
> > From: Mansour Al Akeel [mailto:[email protected]] 
> > Sent: Wednesday, April 08, 2009 11:14 AM
> > To: Jetspeed Users List
> > Subject: Re: Changing the theme used by Desktop Edit sections
> > 
> > There's a file in the decorator for tigris:
> > 
> > decorations/layout/tigris/resources/Messages.properties
> > 
> > You will find the label you are looking for in that file:
> > 
> > desktop.pageeditor.labels.title=Jetspeed Page Editor
> > 
> > Change it to what you want.
> > 
> > 
> > 
> > 
> > On Wed Apr 08,2009 07:45 am, David Just wrote:
> > > By the Edit page section, I'm talking about the area of the portal
> > that
> > > allows you to change the theme, portlet theme, and layout of the
> page.
> > > It has a mini-title called Jetspeed Page Editor.  This section is
> > > generated by dojo when you click the pencil button which (in tigris)
> > is
> > > next to the add portlet button when viewing the portal via desktop. 
> > > 
> > > 
> > > 
> > > David Just l Software Engineer l Vision Solutions l +1 (507)
> 529-5939
> > l [email protected]
> > > The contents of this e-mail (and any attachments) are privileged and
> > confidential. Unauthorized use is strictly prohibited.
> > > -----Original Message-----
> > > From: Mansour Al Akeel [mailto:[email protected]] 
> > > Sent: Wednesday, April 08, 2009 12:13 AM
> > > To: Jetspeed Users List
> > > Subject: Re: Changing the theme used by Desktop Edit sections
> > > 
> > > 
> > > What do you mean by "the edit page section of the portal" ? 
> > > When you edit a page to add more portlets, then another portlets
> > appear
> > > to help you adding/removing/arranging the portlets on the page. If
> you
> > > want to change the "+" plus for exmaple: 
> > > 
> > > decorations/layout/tigris/images/desktop/addportlet.gif
> > > 
> > > Is this what you mean ? 
> > > 
> > > 
> > > 
> > > On Tue Apr 07,2009 03:26 pm, David Just wrote:
> > > > I'm attempting to create a theme for Jetspeed 2.1.3 at this point,
> I
> > > > need to change the images/CSS used by DOJO when creating the edit
> > page
> > > > section of the portal.  Is there documentation somewhere on how to
> > do
> > > > this?   The example themes don't seem to change the Jetspeed page
> > > editor
> > > > theme at all.
> > > > 
> > > >  
> > > > 
> > > > Thanks in advance.
> > > > 
> > > > Dave
> > > > 
> > > > 
> > > > 
> > > > David Just l Software Engineer l Vision Solutions l +1 (507)
> > 529-5939
> > > l [email protected]
> > > > The contents of this e-mail (and any attachments) are privileged
> and
> > > confidential. Unauthorized use is strictly prohibited.
> > > 
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail:
> [email protected]
> > > 
> > > 
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail:
> [email protected]
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> > 
> > 
> 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to