Search found 201 matches

by alin
Sat Jul 24, 2021 11:02 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Fonts for different languages
Replies: 1
Views: 114

Re: Webhelp Fonts for different languages

Hello, There is no requirement to embed the fonts in the WebHelp output. You can reference Google Fonts in you CSS files. We have several built-in Publishing Templates that also use Google Fonts (Aquamarine, Ashes, Blue, etc). If your HTML pages contain the language information as an xml:lang attrib...
by alin
Sat Jul 24, 2021 10:11 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Run AMD script after built-in scripts
Replies: 3
Views: 72

Re: Run AMD script after built-in scripts

Hello, You could try to list the "expand.js" as a dependency in your module definition. For example: define(["expand"], function () { console.log("template module loaded"); }); Here is my console output (I have added some log in the expand.js module): http://www.oxygenxml.com/forum/files/expand-amd-...
by alin
Thu Jul 22, 2021 11:42 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Run AMD script after built-in scripts
Replies: 3
Views: 72

Re: Run AMD script after built-in scripts

Hello,

For the WebHelp Responsive output, please have a look at this topic: https://www.oxygenxml.com/doc/versions/ ... s-amd.html

Regards,
Alin
by alin
Tue Jul 20, 2021 7:47 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Footer issue in search-before-header template
Replies: 4
Views: 144

Re: Footer issue in search-before-header template

Hello, I have updated the template as follows: - Main flex items in the header section (title, menu + index terms link, search input) will not wrap - The content within each item can still wrap independently (e.g.: menu items will warp on multiple lines if there is no enough space) - Title and searc...
by alin
Tue Jul 20, 2021 11:54 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Which files do I need to edit to customize webhelp?
Replies: 2
Views: 117

Re: Which files do I need to edit to customize webhelp?

Hello, For the completeness of this post, please provide more details about your configuration. - What type of WebHelp output (Responsive / Classic) are you trying to customize? - Which version of the associated plugin are you using? - What are you trying to achieve with your customization? Please n...
by alin
Tue Jul 20, 2021 9:19 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to insert the metadata into index.html?
Replies: 1
Views: 137

Re: How to insert the metadata into index.html?

Hello, You need to customize the WebHelp Classic plugin in order to transfer the metadata information in the index.html page. You can do this by overriding the default XSLT templates that are used by the WebHelp transformations as described here: https://www.oxygenxml.com/doc/versions/21.0/ug-webhel...
by alin
Tue Jul 20, 2021 8:57 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: How can I insert the current upload date into the main page or topics?
Replies: 1
Views: 86

Re: How can I insert the current upload date into the main page or topics?

Hello, FIrst of all I want to let you know that the WebHelp Classic plugin for DITA-OT that comes bundled in Oxygen 21.0 has been deprecated and removed from Oxygen distribution starting with version 23. The newly versions of Oxygen includes an enhanced version of DITA-OT plugin: WebHelp Responsive....
by alin
Thu Jul 15, 2021 12:30 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Footer issue in search-before-header template
Replies: 4
Views: 144

Re: Footer issue in search-before-header template

Hello, I have fixed the position of the footer section and pushed the changes to the samples repository. In footer-fix.css I have replaced: body { height: 100vh; } with body { min-height: 100vh; } Please let me know if the issue still occurs on your side. You can also remove the footer-fix.css file ...
by alin
Mon Jul 12, 2021 4:11 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Title page dates for OOB publishing template
Replies: 4
Views: 187

Re: Title page dates for OOB publishing template

Hello, You can use an XSLT Extension (https://www.oxygenxml.com/doc/versions/23.1/ug-webhelp-responsive/topics/whr-responsive-override-xslt-dita-xslt-import.html) in your Publishing Template to generate the additional content. You can use the following sample as inspiration: https://github.com/oxyge...
by alin
Tue Jun 29, 2021 9:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Override sidetoc.xsl aria-label
Replies: 3
Views: 264

Re: Override sidetoc.xsl aria-label

Hello Christina, The issue you are facing is because the oxygen:getParameter() function does not work properly. To fix it, first you have to declare the following parameters in your stylesheet: <xsl:param name="TEMP_DIR_URL"/> <xsl:param name="WEBHELP_PARAMETERS_URL" select="concat($TEMP_DIR_URL, 'p...
by alin
Tue Jun 22, 2021 4:10 pm
Forum: General XML Questions
Topic: Make tile image link to a topicref
Replies: 2
Views: 105

Re: Make tile image link to a topicref

Hello, You can achieve this by contributing custom JS code (via an HTML Fragment ) to the generated WebHelp HTML pages. Please have a look at the following sample Publishing Template that provides a similar functionality: https://github.com/oxygenxml/oxygen-publishing-template-samples/tree/master/te...
by alin
Tue Jun 15, 2021 4:34 pm
Forum: General XML Questions
Topic: Customize the logo
Replies: 1
Views: 124

Re: Customize the logo

Hello, You could achieve this by customizing the HTML Page Layout files, but we do not recommend this approach. A complete explanation is available in our User Guide (see the Warning note): https://www.oxygenxml.com/doc/versions/23.1/ug-webhelp-responsive/topics/html_page_templates.html The easiest ...
by alin
Tue May 25, 2021 12:20 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Don't want my SVG diagram in an image modal
Replies: 3
Views: 255

Re: Don't want my SVG diagram in an image modal

Hello,

You can try to use the following custom CSS rules to disable the unwanted hover effect:

Code: Select all

img.image:not(img[usemap]) {
    cursor: initial;
}

img.image:not(img[usemap]):hover {
    opacity: initial;
}
I have registered an issue to correct this behavior.

Regards,
Alin
by alin
Mon May 24, 2021 11:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Create TOC links to child elements of topic
Replies: 1
Views: 123

Re: Create TOC links to child elements of topic

Hello, It is not possible to generate an HTML page for a <topichead> entry. According to DITA Specification : The <topichead> element provides a title-only entry in a navigation map, which should appear as a heading when the map is rendered as a table of contents. In print contexts it should also ap...
by alin
Mon May 10, 2021 4:41 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp valign="middle" not working
Replies: 1
Views: 179

Re: Webhelp valign="middle" not working

Hello,

We have already fixed this issue in our current development stream. The fix will be available in Oxygen WebHelp 24.
Until then, we can provide a custom CSS rule to correct this behavior. Please let us know if you are interested.

Regards,
Alin
by alin
Tue Apr 06, 2021 12:46 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Need to put Last Updated in the body of a topic
Replies: 23
Views: 2192

Re: Need to put Last Updated in the body of a topic

Hi,

Sorry for the delayed response. I did managed to reproduce the error in Oxygen 23.1.
I have submitted a task (ID: EXM-47764) to analyze what is the cause of this behavior.

Regards,
Alin
by alin
Thu Apr 01, 2021 9:32 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Need to put Last Updated in the body of a topic
Replies: 23
Views: 2192

Re: Need to put Last Updated in the body of a topic

Hello, In my opinion this a classpath issue. You should check the order of Saxon libraries listed in the transformation's console output and check that the Saxon jar file from {OXYGEN-INTSALL_DIR}/lib is listed before the one bundled in your current DITA-OT. Please see this topic post . You can also...
by alin
Tue Mar 30, 2021 9:54 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Need to put Last Updated in the body of a topic
Replies: 23
Views: 2192

Re: Need to put Last Updated in the body of a topic

Hello, It seems that you need to follow this procedure and update your transformation scenario. Cannot find a 1-argument function named Q{http://expath.org/ns/file}last-modified() The file:last-modified function is available only in Saxon EE and PE distributions and the DITA-OT bundled in Oxygen use...
by alin
Tue Mar 23, 2021 5:30 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen webhelp customization
Replies: 1
Views: 287

Re: Oxygen webhelp customization

Hello, The Publication TOC (Side TOC) is generated based on the structure of the expanded DITA map (that is the DITA map created in the WebHelp transformation's temporary directory). The profiling attributes declared at topic level are not being transferred by default to the associated topicref elem...
by alin
Thu Mar 11, 2021 5:08 pm
Forum: Common Problems
Topic: Menu Title Capitalization
Replies: 3
Views: 914

Re: Menu Title Capitalization

Hello,

What you want can be achieved using the following property:

Code: Select all

text-transform: capitalize;
https://developer.mozilla.org/en-US/doc ... -transform

Regards,
Alin
by alin
Tue Mar 02, 2021 7:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How do I add font color inline for a few words?
Replies: 2
Views: 253

Re: How do I add font color inline for a few words?

Hello, In the DITA topic you can use the @outputclass attribute on a DITA element to generate a custom class on the associated HTML element in the WebHelp output. For example, the following DITA content: <p>And above all, <ph outputclass="red">remember</ph> that many flower gardens fail because they...
by alin
Mon Feb 15, 2021 1:11 pm
Forum: General XML Questions
Topic: Inserting HTML Content in WebHelp Responsive Output
Replies: 3
Views: 465

Re: Inserting HTML Content in WebHelp Responsive Output

Hello, Your HTML fragment is not well-formed because the associated DTD contains broken references. When performing an well-formedness test in Oxygen, the check fails with the following error: https://www.oxygenxml.com/forum/files/not-well-formed-broken-dtd.png Please remove the DTD declaration and ...
by alin
Fri Feb 12, 2021 10:24 am
Forum: General XML Questions
Topic: Inserting HTML Content in WebHelp Responsive Output
Replies: 3
Views: 465

Re: Inserting HTML Content in WebHelp Responsive Output

Hello, Please check that the content of your file (javascript.xhtml) is well-formed. If you contribute this file using a transformation parameter, you need to set that parameter to the absolute path of the file. If you contribute the file in your Publishing Template please provide more details about...
by alin
Thu Jan 21, 2021 11:57 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Potential Accessibility Issues in Webhelp Responsive Output
Replies: 1
Views: 338

Re: Potential Accessibility Issues in Webhelp Responsive Output

Hello, The recommended way to change the HTML structure of the WebHelp Responsive output is to use an XSLT Extension: https://www.oxygenxml.com/doc/versions/23.0/ug-webhelp-responsive/topics/whr-responsive-override-xslt-dita-xslt-import.html This way you can override the default XSLT processing that...
by alin
Thu Dec 17, 2020 7:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to generate locale specific output?
Replies: 3
Views: 444

Re: How to generate locale specific output?

Hello, You can automatically add DITAVAL profiling attributes for your use case using a custom XML Refactoring Operation (XRO): https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/refactoring-xml-documents.html https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/custom-refactoring-...
by alin
Wed Nov 04, 2020 12:05 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Expand clickable area of Webhelp tile
Replies: 2
Views: 436

Re: Expand clickable area of Webhelp tile

Hello, You can achieve this behavior by contributing a custom JavaScript that registers a 'click' event handler on each tile that opens the associated link. The procedure is described in our User Manual:https://www.oxygenxml.com/doc/versions/22.1/ug-webhelp-responsive/topics/wh-add-custom-html.html ...
by alin
Tue Oct 06, 2020 2:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Relative folder path for webhelp.custom.resources parameter in a publishing template?
Replies: 1
Views: 350

Re: Relative folder path for webhelp.custom.resources parameter in a publishing template?

Hello,

You should instruct the Publishing Template that the parameter's value represents a relative file path by setting the @type="filePath" attribute on the <parameter> element.

Regards,
Alin
by alin
Mon Oct 05, 2020 12:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Need to put Last Updated in the body of a topic
Replies: 23
Views: 2192

Re: Need to put Last Updated in the body of a topic

Hello, You should use the following XSLT functions: fn:adjust-dateTime-to-timezone - to convert the date & time to your time zone fn:format-dateTime - to format the date & time Please update your XSLT file with the following snippet: <time datetime="{$lastModified}"> <xsl:value-of select="format-dat...
by alin
Fri Oct 02, 2020 3:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Need to put Last Updated in the body of a topic
Replies: 23
Views: 2192

Re: Need to put Last Updated in the body of a topic

Hi Toolie, The problem is in your Publishing Template's descriptor file. You have two XSL files registered for the same XSLT Extension Point ( com.oxygenxml.webhelp.xsl.dita2webhelp ): <extension file="xslt/generation-time.xsl" id="com.oxygenxml.webhelp.xsl.dita2webhelp"/> <extension file="xslt/last...
by alin
Thu Oct 01, 2020 5:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Need to put Last Updated in the body of a topic
Replies: 23
Views: 2192

Re: Need to put Last Updated in the body of a topic

Hi Toolie, According to your error-log.txt the transformation scenario does not promote the Saxon library bundled with Oxygen ( oxygenxml\lib\oxygen-patched-saxon-9.jar ) before the Saxon library bundled in the DITA-OT distribution ( DITA-OT3.x\lib\Saxon-HE-9.9.1-4.jar ). Please see the screenshot b...