Search found 268 matches

by alin
Fri Dec 10, 2021 1:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: 404 Error Page For Webhelp Templates
Replies: 1
Views: 588

Re: 404 Error Page For Webhelp Templates

Hello, A 404 Page should be part of the configuration of the HTTP server where the WebHelp Responsive output is deployed. Such a page it is beyond the scope the WebHelp output. The HTML pages that are part of the WebHelp ouptut are generated based on the topics contained by your DITA map source. Reg...
by alin
Fri Nov 19, 2021 2:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing the copy/paste button for <codeblock> in webhelp
Replies: 5
Views: 1568

Re: Changing the copy/paste button for <codeblock> in webhelp

Hi Dan, WebHelp uses the following CSS rules to style the Copy button: .codeblock .copyTooltip{ background: #fafafa url("../img/Copy.png") no-repeat 85% 50%; background-size: 15px; width: 68px; height: 32px; margin-top: -7px; color: #888; border:1px solid #CCCCCC; right: 15px; position: ab...
by alin
Wed Oct 27, 2021 4:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp: Best way to get the whole map tree into JavaScript?
Replies: 2
Views: 854

Re: WebHelp: Best way to get the whole map tree into JavaScript?

Hello, You can generate the Publication TOC as JSON file by processing the temporary toc.xml file. For this you need to register an XSLT file on the com.oxygenxml.webhelp.xsl.createNavLinks XSLT extention point. I have created a sample Publishing Template that generates a toc.json file in the output...
by alin
Tue Aug 24, 2021 11:04 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Automatically show audience metadata in a published topic
Replies: 7
Views: 1940

Re: Automatically show audience metadata in a published topic

Hi Dave, One other question--can I show the same metadata content in a concept? I've tried and I can't get this to work for concepts. The fragment I'm using: <div class="audience ${topic-xpath(/concept/prolog/metadata/audience[1]/@type)}"/> Yes you can show the same metadata in concept top...
by alin
Tue Aug 24, 2021 9:31 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: encrypt documentation
Replies: 2
Views: 851

Re: encrypt documentation

Hi Catherine, Yes, it is possible to secure and restrict access to certain resources, but this is out of scope of the output generated by the WebHelp Responsive plugin. This should be the job of the HTTP server were your output is deployed. The WebHelp Responsive output is a collection of static res...
by alin
Wed Aug 18, 2021 3:10 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Automatically show audience metadata in a published topic
Replies: 7
Views: 1940

Re: Automatically show audience metadata in a published topic

Hello, WebHelp Responsive allows you to insert custom HTML fragments in the output HTML pages. Such an HTML fragment can use special Macros that allow you to execute XPath expressions on the input DITA documents (map or topics). For example: Considering the following prolog content available in a DI...
by alin
Thu Aug 12, 2021 11:17 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Footer issue in search-before-header template
Replies: 7
Views: 1841

Re: Footer issue in search-before-header template

Hi Justin,

You can fix the issue by increasing the "z-index" property of the pop-up menu in CSS.
For example:

Code: Select all

.ui-autocomplete {
  z-index: 10000;
}
I have also updated our templates samples.

Regards,
Alin
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: 943

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: 5
Views: 1384

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.oxygenx...
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: 5
Views: 1384

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: 7
Views: 1841

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: 3
Views: 1046

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: 709

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: 798

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: 7
Views: 1841

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: 1339

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: 1248

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="...
by alin
Tue Jun 22, 2021 4:10 pm
Forum: General XML Questions
Topic: Make tile image link to a topicref
Replies: 2
Views: 1138

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: 1391

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: 1136

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: 724

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: 733

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: 29
Views: 10217

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: 29
Views: 10217

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: 29
Views: 10217

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: 857

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: 1705

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: 1265

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 be...
by alin
Mon Feb 15, 2021 1:11 pm
Forum: General XML Questions
Topic: Inserting HTML Content in WebHelp Responsive Output
Replies: 3
Views: 1483

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: 1483

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...