Search found 126 matches

by alin
Mon Jun 18, 2018 10:24 am
Forum: Common Problems
Topic: Webhelp responsive - Related links nav position
Replies: 1
Views: 106

Re: Webhelp responsive - Related links nav position

Hello,

Unfortunately you cannot move the related links without modifying the topic HTML template file. I will log your request in our issue tracking system to be analyzed.

Regards,
Alin
by alin
Mon May 14, 2018 4:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Using localized variables in webhelp HTML fragments
Replies: 3
Views: 344

Re: Using localized variables in webhelp HTML fragments

Hello, I hope I have correctly understood your use case. Please correct me if I am wrong. So, you are trying to customize the content of the footer sections in the WebHelp Responsive output HTML pages. I understand that your custom content is not static and you need to regenerate it at each transfor...
by alin
Mon May 14, 2018 2:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Generate today's date in output
Replies: 4
Views: 329

Re: Generate today's date in output

Hello, You cannot use XSLT fragments directly in the DITA sources. If you want to customize the PDF output you can have a look at this topic in our User Manual: https://www.oxygenxml.com/doc/versions/20.0/ug-editor/topics/dita_pdf_output_customization.html You can also read more about this subject i...
by alin
Thu May 03, 2018 6:18 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Generate today's date in output
Replies: 4
Views: 329

Re: Generate today's date in output

Hello, There is no out of the box setting that would allow you to insert the current date or time in the generated output. However, for the WebHelp Responsive output, you can achieve this behavior by contributing a custom XSLT extension stylesheet. You can use the following example as starting point...
by alin
Thu May 03, 2018 5:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding documents to WebHelp search index
Replies: 1
Views: 219

Re: Adding documents to WebHelp search index

Hello, Unfortunately, you cannot rerun the WebHelp indexer after the output has been generated. The WebHelp search engine indexes all HTML files found in its output directory. The only way you could force the WebHelp plugin to index your custom HTML files is to manually copy them in the WebHelp's ou...
by alin
Fri Apr 27, 2018 3:05 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: webhelp.head.script converts &,<,> to &amp; &lt; &gt;
Replies: 4
Views: 279

Re: webhelp.head.script converts &,<,> to &amp; &lt; &gt;

Hello, There is no predefined option (parameter) that would allow you to instruct the WebHelp plugin to not escape the XML special characters (&, <, >, etc.). The content of the file referenced using the "webhelp.head.script" parameter is included in the output HTML files via XSLT. Whe...
by alin
Thu Apr 26, 2018 10:53 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: webhelp.head.script converts &,<,> to &amp; &lt; &gt;
Replies: 4
Views: 279

Re: webhelp.head.script converts &,<,> to &amp; &lt; &gt;

Hello,

You should place your JS content inside an XML comment (<!-- -->):

Code: Select all

<script type="text/javascript">
  <!--
    if (1==1 && 2==2) {
      document.write('YES');
    }
  //-->
</script>


Regards,
Alin
by alin
Wed Apr 25, 2018 5:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Using localized variables in webhelp HTML fragments
Replies: 3
Views: 344

Re: Using localized variables in webhelp HTML fragments

Hello, We're created a customization of the responsive webhelp plugin where we run custom XSLT tasks for generating HTML fragments with localized texts (such as "Last updated" in the footer) from the webhelp localization framework. Is there any easier way to do this, especially with the ne...
by alin
Wed Apr 25, 2018 4:25 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to load custom JS libraries in the responsive webhelp transformation
Replies: 5
Views: 427

Re: How to load custom JS libraries in the responsive webhelp transformation

Hello, The problem is that the DataTables JS library is defined as a RequireJs module and it cannot be loaded via an HTML <script> tag. It should be loaded using a "require" call or as a dependency of another module. Unfortunatelly the RequireJS configuration used in WebHelp is not extenda...
by alin
Wed Apr 04, 2018 5:55 pm
Forum: Common Problems
Topic: How to display the build date in WebHelp Classic?
Replies: 1
Views: 267

Re: How to display the build date in WebHelp Classic?

Hello, The easiest way to insert the generation date in the WebHelp Classic output is to edit the "webhelp.copyright" parameter in the Transformation Scenario Dialog and use the Current Date Editor Variable ( ${date(yyyy-MM-dd)} ) as its value. For example set the parameter to: Date: ${dat...
by alin
Mon Mar 26, 2018 5:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Responsive output functionally changed
Replies: 1
Views: 259

Re: Responsive output functionally changed

Hello, In version 20, the Publication TOC (formerly known as Side TOC) was hidden by default on mobile layouts. You can use the new Publishing Template feature along with the Save template as action to customize a built-in template in order to display the Publishing TOC on mobile layouts. You can fi...
by alin
Thu Mar 15, 2018 11:05 am
Forum: Common Problems
Topic: Problem running ditaWebhelp.bat
Replies: 2
Views: 242

Re: Problem running ditaWebhelp.bat

Hello, The WebHelp bundled in oXygen was only intended to be used from oXygen and not from the command line. This is a lightweight WebHelp distribution as it is missing some JAR files that are already found in the oXygen's core. In conclusion, if you want to trigger the WebHelp transformation from t...
by alin
Fri Feb 23, 2018 4:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: webhelp.skin.css in build.xml
Replies: 3
Views: 348

Re: webhelp.skin.css in build.xml

Hello Nick, Since you are referring to the "webhelp.skin.css" parameter I assume that you are trying to obtain an WebHelp Classic output. Can you please give me more details about your setup and usecase? ⋅ What type of documents are you trying to transform, DITA or DocBook? &sdot...
by alin
Tue Jan 30, 2018 10:35 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Failure publishing from Data Source Explorer
Replies: 2
Views: 432

Re: Failure publishing from Data Source Explorer

Hello, Sorry for the late reply! Indeed it seems that there is a problem when transforming a DITA Map located on a SharePoint server that was open via the Data Sources view. I will log an issue in our system to be analyzed. In my tests, I was able to successfully transform a SharePoint DITA Map when...
by alin
Mon Jan 22, 2018 7:21 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom XML to Responsive Webhelp Index Page discarding HTML entities
Replies: 1
Views: 280

Re: Custom XML to Responsive Webhelp Index Page discarding HTML entities

Hello, The XML fragment files should be well-formed in order to be parsed by the WebHelp Plugin. The only entities allowed in an well-formed XML file are the predefined entities (" &amp; ", " &apos; ", " &quot; " , " &gt; ", " &lt; &qu...
by alin
Wed Dec 20, 2017 3:42 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Template creates an empty div
Replies: 1
Views: 362

Re: Template creates an empty div

Hello, You can generate the ' notes ' in a temporary variable and then generate the ' <div> ' element if at least one note was found. For example: ............ <xsl:template name="generateItemGroupTaskElement"> <xsl:variable name="notes"> <xsl:apply-templates select="*[not(c...
by alin
Wed Nov 29, 2017 3:29 pm
Forum: General XML Questions
Topic: Extension Point for commonComponentsExpander.xsl
Replies: 1
Views: 467

Re: Extension Point for commonComponentsExpander.xsl

Hello, The " commonComponentsExpander.xsl " module is referenced from the stylesheets that process the WebHelp template pages. Its role is to generate the common components in these pages. If you want your change to reflect in all pages, you should consider the following extension points: ...
by alin
Tue Nov 14, 2017 3:58 pm
Forum: Common Problems
Topic: XML refactoring preview highlights namespace declarations
Replies: 3
Views: 481

Re: XML refactoring preview highlights namespace declarations

Hello,

Thank you for your feedback! I have logged your request in our issue tracking tool.

Regards,
Alin
by alin
Wed Nov 08, 2017 1:24 pm
Forum: Common Problems
Topic: XML refactoring preview highlights namespace declarations
Replies: 3
Views: 481

Re: XML refactoring preview highlights namespace declarations

Hello, I was able to obtain a similar situation using the XML document listed below: <root xmlns:ns="my-ns"> <other xmlns:ns="my-ns" ns:attr="value"/> <sec> <title>My Title</title> </sec> </root> As you can see, in my case, the namespace declaration is redundant as it a...
by alin
Mon Oct 23, 2017 11:23 am
Forum: XSLT and FOP
Topic: wh_not_expandable
Replies: 1
Views: 654

Re: wh_not_expandable

Hello, The wh_not_expandable class is internally used by the "expand-collapse" mechanism in WebHelp Responsive and it should not affect your content filtering implementation. The "expand-collapse" feature toggles the visible state of certain content in WebHelp. We use the class a...
by alin
Mon Oct 09, 2017 5:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: 19.1 Responsive Top Nav Not Obeying Top Menu Depth Setting
Replies: 6
Views: 627

Re: 19.1 Responsive Top Nav Not Obeying Top Menu Depth Setting

Hello,

You can use one of the following two procedures to hide entries in the top menu:
https://www.oxygenxml.com/doc/versions/ ... nu_entries

Regards,
Alin
by alin
Thu Oct 05, 2017 1:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Convert Editor 19's customized webhelp to 19.1
Replies: 1
Views: 305

Re: Convert Editor 19's customized webhelp to 19.1

Hello, In version 19.1 the WebHelp Plugin was split in two main plugins, one that covers the WebHelp Classic functionality and one that covers the Responsive functionality. Thus the available extension points were redesigned. For the WebHelp Responsive plugin the following changes were performed: &s...
by alin
Tue Oct 03, 2017 4:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Accessing custom WebHelp responsive templates from custom framework
Replies: 1
Views: 475

Re: Accessing custom WebHelp responsive templates from custom framework

Hello, The templates presented in the WebHelp Responsive Scenario dialog are loaded from the following loacation: {DITA_OT_DIR} /plugins/com.oxygenxml.webhelp/templates/dita Please make sure that the DITA Open Toolkit option (from the Options > Preferences > DITA preferences page) points to your cus...
by alin
Thu Sep 07, 2017 12:17 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing Top Menu in Webhelp Reponsive Output
Replies: 3
Views: 527

Re: Changing Top Menu in Webhelp Reponsive Output

Hello, You can provide your own custom CSS that overrides the default styles for the WebHelp Responsive menu and menu toggle button. Unfortunately, this is not a very easy task because there are many CSS rules that need to be overridden. You can use the following CSS code as starting point: @media o...
by alin
Mon Sep 04, 2017 5:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Embedding fonts in webhelp deliverable?
Replies: 2
Views: 374

Re: Embedding fonts in webhelp deliverable?

Hello, You can use the following procedure to copy the font resources and the CSS files that are referencing the fonts: https://www.oxygenxml.com/doc/versions/19.0/ug-editor/topics/copy_resources.html#copy_resources You can use the following procedure to reference the CSS file in the WebHelp HTML ou...
by alin
Mon Aug 28, 2017 11:11 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Tiles configuring?
Replies: 4
Views: 544

Re: Webhelp Tiles configuring?

Hi, You should edit the WebHelp Transformation scenario and ensure that both " webhelp.show.main.page.tiles " and " webhelp.show.main.page.toc " parameters are set to " yes ". When selecting a "Tiles" template, the "webhelp.show.main.page.tiles" para...
by alin
Wed Aug 23, 2017 10:02 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Tiles configuring?
Replies: 4
Views: 544

Re: Webhelp Tiles configuring?

To display icons on the first three tile you can specify the associated images in a custom CSS (se my previous post) or in the DITA Map using the following procedure: https://www.oxygenxml.com/doc/versions/19.0/ug-editor/topics/whr-configure-tiles.html#whr-configure-tiles__how_to_add_an_image_to_the...
by alin
Wed Aug 23, 2017 9:56 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Tiles configuring?
Replies: 4
Views: 544

Re: Webhelp Tiles configuring?

Hello, You should contribute a custom CSS to the WebHelp transformation. Please follow this procedure: https://www.oxygenxml.com/doc/versions/19.0/ug-editor/topics/webhelp-customization-css.html The tiles are laid out using the CSS Flexbox Layout (https://css-tricks.com/snippets/css/a-guide-to-flexb...
by alin
Tue Aug 22, 2017 4:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp Template Components and customizing webhelp output
Replies: 3
Views: 466

Re: Webhelp Template Components and customizing webhelp output

Hello, You could manipulate the links from the TOC and move them throughout your page using custom JavaScript code. The only thing I am wondering is if I can manipulate the components there, as in looping through webhelp_main_page_toc and putting the items into an array to reference in the output? W...
by alin
Thu Aug 17, 2017 3:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Classes and WebHelp components
Replies: 1
Views: 309

Re: Classes and WebHelp components

Hi Kim, The only way to expand the TOC template component is like this: <whc:webhelp_main_page_toc> <whc:component_content/> </whc:webhelp_main_page_toc> This way you can insert some custom HTML fragment inside the component, but before or after its actual content (topic links). For example: <whc:we...

Go to advanced search