Home » Eclipse Projects » Platform - User Assistance (UA) » Glitch in CSS usage
Glitch in CSS usage [message #474776] |
Wed, 12 November 2008 14:04  |
Eclipse User |
|
|
|
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 #474784 is a reply to message #474781] |
Thu, 13 November 2008 10:03   |
Eclipse User |
|
|
|
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 #474786 is a reply to message #474784] |
Thu, 13 November 2008 13:53   |
Eclipse User |
|
|
|
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 17:57   |
Eclipse User |
|
|
|
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 #621899 is a reply to message #474779] |
Wed, 12 November 2008 18:09  |
Eclipse User |
|
|
|
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 10:03  |
Eclipse User |
|
|
|
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 13:51  |
Eclipse User |
|
|
|
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 13:53  |
Eclipse User |
|
|
|
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 17:57  |
Eclipse User |
|
|
|
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.
>>>
|
|
| |
Goto Forum:
Current Time: Sat Jun 21 03:23:57 EDT 2025
Powered by FUDForum. Page generated in 0.05414 seconds
|