Using a DITA extension framework script plugin override the DITA Map view icon

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
Vince
Posts: 64
Joined: Wed Dec 03, 2014 11:25 am

Using a DITA extension framework script plugin override the DITA Map view icon

Post by Vince »

Hello,

After adding our extension to oXygen web author, the icon of the DITA Map view doesn't appear anymore :
image.png
image.png (9.34 KiB) Viewed 642 times
Before :
image.png
image.png (9.7 KiB) Viewed 642 times
Insepcting element show this css rule

Code: Select all

background-image: url(../rest/v25.0.0/load/framework/3%252Fframework%252Fdita-extension.exf%252Fdita-extension-bundke/img/DITAMap24.png);
Our bundle is named dita-extension-bundle.jar
Our exf is located into framework/

How to restore default icon ? or set new one ?

Regards,
Vincent
mihaela
Posts: 490
Joined: Wed May 20, 2009 2:40 pm

Re: Using a DITA extension framework script plugin override the DITA Map view icon

Post by mihaela »

Hello,

We are aware of this problem and the fix is already available in the last Web Author, version 25.1, that we recently released:
https://www.oxygenxml.com/xml_web_autho ... uthor.html

What version do you use? Can you update Web Author to 25.1?

Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
Vince
Posts: 64
Joined: Wed Dec 03, 2014 11:25 am

Re: Using a DITA extension framework script plugin override the DITA Map view icon

Post by Vince »

Hello,

Thanks for reply.

We can't update to 25.1 for now. I temporary redefine, using css rule, the DITA Map icon.

Regards,
mihaela
Posts: 490
Joined: Wed May 20, 2009 2:40 pm

Re: Using a DITA extension framework script plugin override the DITA Map view icon

Post by mihaela »

Hello,

As a workaround, until you update Web Author to 25.1, you can copy the DITA MAp image (DITAMap24.png) from DITA/web/img folder to [your_framework_dir]/web/img.

Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
Vince
Posts: 64
Joined: Wed Dec 03, 2014 11:25 am

Re: Using a DITA extension framework script plugin override the DITA Map view icon

Post by Vince »

Hello,

The workaround you suggest to me doesn't work because of my framework is packaged as a jar following your sample plugin https://github.com/oxygenxml/web-author ... -extension

Regards,
mihaela
Posts: 490
Joined: Wed May 20, 2009 2:40 pm

Re: Using a DITA extension framework script plugin override the DITA Map view icon

Post by mihaela »

Hello,

If you do not necessarily need to do this in a plugin you can simply use the framework, like in this example:
https://github.com/oxygenxml-incubator/ ... ute-values

Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
Post Reply