Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Glitch in CSS usage
Glitch in CSS usage [message #474776] Wed, 12 November 2008 19:04 Go to next message
Mike Melton is currently offline Mike MeltonFriend
Messages: 50
Registered: July 2009
Member
I've set up a customization plugin and use plugin_customization.ini to
configure my Infocenter. I've set topic_css to use a CSS I have in my
customization plug-in.

With the content plug-ins, if I don't have content associated with a TOC
entry, Eclipse generates a mini-TOC and displays it in the content frame,
which is okay, but it doesn't access the CSS in the same way the regular
content pages do.

For example, in my implementation, the content pages access the CSS in the
following way:

<link rel="stylesheet"
href=" ../content/PLUGINS_ROOT/com.citrix.proddoc.ICbase/CSS/book.c ss "
type="text/css"></link>

Where com.citrix.proddoc.ICbase/CSS/book.css is what I set topic_css to.

The Eclipse generated pages, however, try to get the CSS in the following
way:

<link rel="stylesheet"
href="../content/PLUGINS_ROOT/PRODUCT_PLUGIN/book.css"
type="text/css"></link>

It's looking for the CSS in the wrong location. Does anyone know where I
can set the value for the Eclipse generated pages or how I can set
PRODUCT_PLUGIN?
Re: Glitch in CSS usage [message #474777 is a reply to message #474776] Wed, 12 November 2008 19:10 Go to previous messageGo to next message
Mike Melton is currently offline Mike MeltonFriend
Messages: 50
Registered: July 2009
Member
Okay, it appears that the Eclispe generated content is being controlled by
nav_css, instead of topic_css. I think this is a bug.
Re: Glitch in CSS usage [message #474779 is a reply to message #474777] Wed, 12 November 2008 22:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Mike Melton wrote:
> Okay, it appears that the Eclispe generated content is being controlled
> by nav_css, instead of topic_css. I think this is a bug.
>

Hi Mike,

I did a Bugzilla search for 'css' on Eclipse-Platform-User Assistance,
and found this entry:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205050

Are you using Eclipse 3.4?

From that Bugzilla entry, it sounds like there is some customization
option "nav_css" that you can set to use your CSS to get it applied to
those Eclipse-generated content topics.

I see it listed in the Product customization topic in the Eclipse help
(under the topic_css customization preference):
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/ua_help_setup_preferences.htm

Hope this helps,
Lee Anne
Re: Glitch in CSS usage [message #474781 is a reply to message #474779] Wed, 12 November 2008 23:09 Go to previous messageGo to next message
Mike Melton is currently offline Mike MeltonFriend
Messages: 50
Registered: July 2009
Member
Thanks, Lee Anne! Yes, I discover that nav_css works for generated content.

We are also looking at using a CSS for print preview. I noticed the print
preview tries to use "print.css" I didn't see an attribute that contols
the CSS for print preview. It doesn't use topic_css, nav_css, or
disabled_css. Just for kicks, I tried print_css, but it didn't work either.
Re: Glitch in CSS usage [message #474784 is a reply to message #474781] Thu, 13 November 2008 15:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi Mike,

I recommend that you open a request for enhancement to have a help
preference for print.css. It seems a parallel use case to the other CSS
files. If it is straightforward to implement, and the Eclipse UA team
has the time resources to do it, it could get into 3.5, and they might
be able to also do a patch for Eclipse 3.4.

Are you familiar with Eclipse Bugzilla? It will have a link on how to
open a new enhancement request. You'll need to be registered with
Eclipse Bugzilla to open one.

Another option, if you don't have time to wait for an official
implementation, is you could replace the Eclipse print.css with your
own. I see the print.css is located in the following plug-in in the 3.4
GA package:
org.eclipse.help.webapp_3.3.100.v20080528.jar
and is in the advanced directory in that jar file.

You'd have to update that plug-in JAR file to put in your own
"print.css" to replace the one from Eclipse.

HTH,
Lee Anne

Mike Melton wrote:
> Thanks, Lee Anne! Yes, I discover that nav_css works for generated content.
>
> We are also looking at using a CSS for print preview. I noticed the
> print preview tries to use "print.css" I didn't see an attribute that
> contols the CSS for print preview. It doesn't use topic_css, nav_css, or
> disabled_css. Just for kicks, I tried print_css, but it didn't work either.
>
Re: Glitch in CSS usage [message #474785 is a reply to message #474777] Thu, 13 November 2008 18:51 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
No it's intentional and working as designed. Under the old scheme it was
possible to have different css for navigation pages and non-navigation
pages and this preserves that option.

Mike Melton wrote:
> Okay, it appears that the Eclispe generated content is being controlled
> by nav_css, instead of topic_css. I think this is a bug.
>
Re: Glitch in CSS usage [message #474786 is a reply to message #474784] Thu, 13 November 2008 18:53 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Yes, please do open this enhancement request. It looks like for Eclipse
3.5 I will be adding another option to be able to specify a CSS file for
right to left languages.

Lee Anne wrote:
> Hi Mike,
>
> I recommend that you open a request for enhancement to have a help
> preference for print.css. It seems a parallel use case to the other CSS
> files. If it is straightforward to implement, and the Eclipse UA team
> has the time resources to do it, it could get into 3.5, and they might
> be able to also do a patch for Eclipse 3.4.
>
> Are you familiar with Eclipse Bugzilla? It will have a link on how to
> open a new enhancement request. You'll need to be registered with
> Eclipse Bugzilla to open one.
>
> Another option, if you don't have time to wait for an official
> implementation, is you could replace the Eclipse print.css with your
> own. I see the print.css is located in the following plug-in in the 3.4
> GA package:
> org.eclipse.help.webapp_3.3.100.v20080528.jar
> and is in the advanced directory in that jar file.
>
> You'd have to update that plug-in JAR file to put in your own
> "print.css" to replace the one from Eclipse.
>
> HTH,
> Lee Anne
>
> Mike Melton wrote:
>> Thanks, Lee Anne! Yes, I discover that nav_css works for generated
>> content.
>>
>> We are also looking at using a CSS for print preview. I noticed the
>> print preview tries to use "print.css" I didn't see an attribute that
>> contols the CSS for print preview. It doesn't use topic_css, nav_css,
>> or disabled_css. Just for kicks, I tried print_css, but it didn't work
>> either.
>>
Re: Glitch in CSS usage [message #474822 is a reply to message #474786] Tue, 18 November 2008 22:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi,

Chris, thanks for the encouragement.

Just to close a loop on this: I've opened the enhancement request myself
for this in 3.5. I didn't see a new one from Mike, and as it's a nice
parallel use case to the existing ones, I thought time was of the essence.

The Bugzilla entry is https://bugs.eclipse.org/bugs/show_bug.cgi?id=255732

--Lee Anne

Chris Goldthorpe wrote:
> Yes, please do open this enhancement request. It looks like for Eclipse
> 3.5 I will be adding another option to be able to specify a CSS file for
> right to left languages.
>
> Lee Anne wrote:
>> Hi Mike,
>>
>> I recommend that you open a request for enhancement to have a help
>> preference for print.css. It seems a parallel use case to the other
>> CSS files. If it is straightforward to implement, and the Eclipse UA
>> team has the time resources to do it, it could get into 3.5, and they
>> might be able to also do a patch for Eclipse 3.4.
>>
>> Are you familiar with Eclipse Bugzilla? It will have a link on how to
>> open a new enhancement request. You'll need to be registered with
>> Eclipse Bugzilla to open one.
>>
>> Another option, if you don't have time to wait for an official
>> implementation, is you could replace the Eclipse print.css with your
>> own. I see the print.css is located in the following plug-in in the
>> 3.4 GA package:
>> org.eclipse.help.webapp_3.3.100.v20080528.jar
>> and is in the advanced directory in that jar file.
>>
>> You'd have to update that plug-in JAR file to put in your own
>> "print.css" to replace the one from Eclipse.
>>
>> HTH,
>> Lee Anne
>>
>> Mike Melton wrote:
>>> Thanks, Lee Anne! Yes, I discover that nav_css works for generated
>>> content.
>>>
>>> We are also looking at using a CSS for print preview. I noticed the
>>> print preview tries to use "print.css" I didn't see an attribute that
>>> contols the CSS for print preview. It doesn't use topic_css, nav_css,
>>> or disabled_css. Just for kicks, I tried print_css, but it didn't
>>> work either.
>>>
Re: Glitch in CSS usage [message #474894 is a reply to message #474822] Thu, 04 December 2008 20:57 Go to previous message
Mike Melton is currently offline Mike MeltonFriend
Messages: 50
Registered: July 2009
Member
Thanks for this, Chris and Lee Anne. Sorry I was late in responding. I was
out of the office for several weeks.

Mike
Re: Glitch in CSS usage [message #621814 is a reply to message #474776] Wed, 12 November 2008 19:10 Go to previous message
Mike Melton is currently offline Mike MeltonFriend
Messages: 50
Registered: July 2009
Member
Okay, it appears that the Eclispe generated content is being controlled by
nav_css, instead of topic_css. I think this is a bug.
Re: Glitch in CSS usage [message #621816 is a reply to message #474777] Wed, 12 November 2008 22:07 Go to previous message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Mike Melton wrote:
> Okay, it appears that the Eclispe generated content is being controlled
> by nav_css, instead of topic_css. I think this is a bug.
>

Hi Mike,

I did a Bugzilla search for 'css' on Eclipse-Platform-User Assistance,
and found this entry:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205050

Are you using Eclipse 3.4?

From that Bugzilla entry, it sounds like there is some customization
option "nav_css" that you can set to use your CSS to get it applied to
those Eclipse-generated content topics.

I see it listed in the Product customization topic in the Eclipse help
(under the topic_css customization preference):
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/ua_help_setup_preferences.htm

Hope this helps,
Lee Anne
Re: Glitch in CSS usage [message #621899 is a reply to message #474779] Wed, 12 November 2008 23:09 Go to previous message
Mike Melton is currently offline Mike MeltonFriend
Messages: 50
Registered: July 2009
Member
Thanks, Lee Anne! Yes, I discover that nav_css works for generated content.

We are also looking at using a CSS for print preview. I noticed the print
preview tries to use "print.css" I didn't see an attribute that contols
the CSS for print preview. It doesn't use topic_css, nav_css, or
disabled_css. Just for kicks, I tried print_css, but it didn't work either.
Re: Glitch in CSS usage [message #621903 is a reply to message #474781] Thu, 13 November 2008 15:03 Go to previous message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi Mike,

I recommend that you open a request for enhancement to have a help
preference for print.css. It seems a parallel use case to the other CSS
files. If it is straightforward to implement, and the Eclipse UA team
has the time resources to do it, it could get into 3.5, and they might
be able to also do a patch for Eclipse 3.4.

Are you familiar with Eclipse Bugzilla? It will have a link on how to
open a new enhancement request. You'll need to be registered with
Eclipse Bugzilla to open one.

Another option, if you don't have time to wait for an official
implementation, is you could replace the Eclipse print.css with your
own. I see the print.css is located in the following plug-in in the 3.4
GA package:
org.eclipse.help.webapp_3.3.100.v20080528.jar
and is in the advanced directory in that jar file.

You'd have to update that plug-in JAR file to put in your own
"print.css" to replace the one from Eclipse.

HTH,
Lee Anne

Mike Melton wrote:
> Thanks, Lee Anne! Yes, I discover that nav_css works for generated content.
>
> We are also looking at using a CSS for print preview. I noticed the
> print preview tries to use "print.css" I didn't see an attribute that
> contols the CSS for print preview. It doesn't use topic_css, nav_css, or
> disabled_css. Just for kicks, I tried print_css, but it didn't work either.
>
Re: Glitch in CSS usage [message #621904 is a reply to message #474777] Thu, 13 November 2008 18:51 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
No it's intentional and working as designed. Under the old scheme it was
possible to have different css for navigation pages and non-navigation
pages and this preserves that option.

Mike Melton wrote:
> Okay, it appears that the Eclispe generated content is being controlled
> by nav_css, instead of topic_css. I think this is a bug.
>
Re: Glitch in CSS usage [message #621905 is a reply to message #474784] Thu, 13 November 2008 18:53 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Yes, please do open this enhancement request. It looks like for Eclipse
3.5 I will be adding another option to be able to specify a CSS file for
right to left languages.

Lee Anne wrote:
> Hi Mike,
>
> I recommend that you open a request for enhancement to have a help
> preference for print.css. It seems a parallel use case to the other CSS
> files. If it is straightforward to implement, and the Eclipse UA team
> has the time resources to do it, it could get into 3.5, and they might
> be able to also do a patch for Eclipse 3.4.
>
> Are you familiar with Eclipse Bugzilla? It will have a link on how to
> open a new enhancement request. You'll need to be registered with
> Eclipse Bugzilla to open one.
>
> Another option, if you don't have time to wait for an official
> implementation, is you could replace the Eclipse print.css with your
> own. I see the print.css is located in the following plug-in in the 3.4
> GA package:
> org.eclipse.help.webapp_3.3.100.v20080528.jar
> and is in the advanced directory in that jar file.
>
> You'd have to update that plug-in JAR file to put in your own
> "print.css" to replace the one from Eclipse.
>
> HTH,
> Lee Anne
>
> Mike Melton wrote:
>> Thanks, Lee Anne! Yes, I discover that nav_css works for generated
>> content.
>>
>> We are also looking at using a CSS for print preview. I noticed the
>> print preview tries to use "print.css" I didn't see an attribute that
>> contols the CSS for print preview. It doesn't use topic_css, nav_css,
>> or disabled_css. Just for kicks, I tried print_css, but it didn't work
>> either.
>>
Re: Glitch in CSS usage [message #622202 is a reply to message #474786] Tue, 18 November 2008 22:57 Go to previous message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi,

Chris, thanks for the encouragement.

Just to close a loop on this: I've opened the enhancement request myself
for this in 3.5. I didn't see a new one from Mike, and as it's a nice
parallel use case to the existing ones, I thought time was of the essence.

The Bugzilla entry is https://bugs.eclipse.org/bugs/show_bug.cgi?id=255732

--Lee Anne

Chris Goldthorpe wrote:
> Yes, please do open this enhancement request. It looks like for Eclipse
> 3.5 I will be adding another option to be able to specify a CSS file for
> right to left languages.
>
> Lee Anne wrote:
>> Hi Mike,
>>
>> I recommend that you open a request for enhancement to have a help
>> preference for print.css. It seems a parallel use case to the other
>> CSS files. If it is straightforward to implement, and the Eclipse UA
>> team has the time resources to do it, it could get into 3.5, and they
>> might be able to also do a patch for Eclipse 3.4.
>>
>> Are you familiar with Eclipse Bugzilla? It will have a link on how to
>> open a new enhancement request. You'll need to be registered with
>> Eclipse Bugzilla to open one.
>>
>> Another option, if you don't have time to wait for an official
>> implementation, is you could replace the Eclipse print.css with your
>> own. I see the print.css is located in the following plug-in in the
>> 3.4 GA package:
>> org.eclipse.help.webapp_3.3.100.v20080528.jar
>> and is in the advanced directory in that jar file.
>>
>> You'd have to update that plug-in JAR file to put in your own
>> "print.css" to replace the one from Eclipse.
>>
>> HTH,
>> Lee Anne
>>
>> Mike Melton wrote:
>>> Thanks, Lee Anne! Yes, I discover that nav_css works for generated
>>> content.
>>>
>>> We are also looking at using a CSS for print preview. I noticed the
>>> print preview tries to use "print.css" I didn't see an attribute that
>>> contols the CSS for print preview. It doesn't use topic_css, nav_css,
>>> or disabled_css. Just for kicks, I tried print_css, but it didn't
>>> work either.
>>>
Re: Glitch in CSS usage [message #622625 is a reply to message #474822] Thu, 04 December 2008 20:57 Go to previous message
Mike Melton is currently offline Mike MeltonFriend
Messages: 50
Registered: July 2009
Member
Thanks for this, Chris and Lee Anne. Sorry I was late in responding. I was
out of the office for several weeks.

Mike
Previous Topic:Infocenter: Bookmarks only for IE?
Next Topic:Re: Standalone help for RCP product
Goto Forum:
  


Current Time: Sat Apr 20 04:07:19 GMT 2024

Powered by FUDForum. Page generated in 0.05289 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top