Search found 268 matches

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

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

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

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

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

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 ...
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: 29
Views: 10074

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"/> <exten...
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: 29
Views: 10074

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...
by alin
Tue Sep 29, 2020 12:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Need to put Last Updated in the body of a topic
Replies: 29
Views: 10074

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

Hello Toolie, There is no need for additional information to be included in the topics. The date and time should have been displayed at the bottom of each topic. I have retested the solution mentioned above and the timestamp is there. I have included all the resources in a sample Publishing Template...
by alin
Thu Sep 24, 2020 4:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Easiest way to specify custom <div class="wh_publication_title"> in WebHelp Responsive?
Replies: 1
Views: 926

Re: Easiest way to specify custom <div class="wh_publication_title"> in WebHelp Responsive?

Hello, You can use one of these two placeholders to insert a custom fragment containing the product name and version near the <whc:webhelp_publication_title/> webhelp.fragment.before.logo_and_title webhelp.fragment.after.logo_and_title You can use the map-xpath macro to extract the data from the boo...
by alin
Wed Sep 23, 2020 5:36 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Macro not expanded in webhelp.fragment.footer
Replies: 6
Views: 1787

Re: Macro not expanded in webhelp.fragment.footer

Hello Graham, If you are setting your fragment directly as parameter value, then that fragment should be a well-formed XML fragment . In your case you should have declared the XML namespace for the whc prefix, that is: xmlns:whc="http://www.oxygenxml.com/webhelp/components" If you are usin...
by alin
Fri Sep 18, 2020 9:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Need to put Last Updated in the body of a topic
Replies: 29
Views: 10074

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

Hello, This is how your XSLT extension should look like: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:whc="http://www.oxygenxml.com/webhelp/components" xmlns:file="http://expath.org/ns/file"...
by alin
Wed Sep 16, 2020 11:02 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp responsive: Make the topic title the whole height of the tile
Replies: 1
Views: 773

Re: Webhelp responsive: Make the topic title the whole height of the tile

Hello,

You can achieve this by contributing your own custom CSS to the WebHelp Responsive output.
You can find the procedure here: https://www.oxygenxml.com/doc/versions/ ... h-css.html

Regards,
Alin
by alin
Fri Sep 04, 2020 6:39 pm
Forum: Common Problems
Topic: Searching result page doesn't display
Replies: 10
Views: 3786

Re: Searching result page doesn't display

Hello, Can you please provide some detailed instructions about the context in which you replicate the issue (browser version, any particular steps you followed, search term, current publication language or anything specific that you consider might influence the search behavior)? Do you have any cust...
by alin
Fri Sep 04, 2020 6:18 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Need to put Last Updated in the body of a topic
Replies: 29
Views: 10074

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

Hello, You can use a custom XSLT file to insert your content at the end of the topic. For example: content-after-topic.xsl <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:whc="http://www.oxygenxml.com/webhelp...
by alin
Thu Sep 03, 2020 6:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp output browser requirements
Replies: 3
Views: 2419

Re: WebHelp output browser requirements

Hello, Here are the links: 22.1: https://www.oxygenxml.com/doc/versions/22.1/ug-webhelp-responsive/topics/wh_getting_started.html#wh_getting_started__d257e55 21.1: https://www.oxygenxml.com/doc/versions/21.1/ug-webhelp-responsive/topics/wh_getting_started.html#wh_getting_started__d257e55 Regards, Alin
by alin
Wed Aug 19, 2020 11:32 am
Forum: Common Problems
Topic: Webhelp responsive - Topic generated twice, but only one link for it
Replies: 2
Views: 1193

Re: Webhelp responsive - Topic generated twice, but only one link for it

Hello, I have tried the scenario you have described using Oxygen WebHelp 22.1 but I couldn't reproduce the problem. Here are the resources I have used: main.ditamap : <map> <title>main</title> <topichead navtitle="x"> <topicref href="x.ditamap" format="ditamap"/> </topi...
by alin
Wed Jul 22, 2020 3:12 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing WebHelp Responsive: Menu left / All chapters in TOC
Replies: 13
Views: 7010

Re: Customizing WebHelp Responsive: Menu left / All chapters in TOC

Hello,

To hide the Top Menu you should set the webhelp.show.top.menu parameter to no.

Regards,
Alin
by alin
Wed May 13, 2020 5:41 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Child links in tiles
Replies: 1
Views: 899

Re: Child links in tiles

Hi Syed, By design the tiles component contains only entries for the first level topics. If you want to customize it in order to display the child topics you have to contribute an XSLT extension file that overrides the built-in template that generates each tile. You can use the following XSLT snippe...
by alin
Thu Apr 30, 2020 6:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Getting topic count as a JavaScript variable in WebHelp output
Replies: 1
Views: 989

Re: Getting topic count as a JavaScript variable in WebHelp output

Hello, You can use the map-xpath WebHelp Macro to execute an XPath expression on the DITA map and count all the topicrefs . You can contribute your custom content using an HTML Fragment file, like the one below: <?xml version="1.0" encoding="UTF-8"?> <div xmlns:whc="http://w...
by alin
Mon Apr 27, 2020 11:30 am
Forum: Other Issues
Topic: Can I / How to remove "Webhelp output generated by"
Replies: 12
Views: 7409

Re: Can I / How to remove "Webhelp output generated by"

Hello, There is no available setting that disables the footer of a page. However, if you want to remove the default content of the footer section, you can set the webehelp.fragment.footer parameter to " " or to "<span/>". In order to hide the footer entirely you should add a cust...
by alin
Wed Apr 22, 2020 8:23 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: add custom js in search pages
Replies: 2
Views: 1241

Re: add custom js in search pages

Hello, The recommended procedure for inserting additional content in your output files is via HTML fragment files and it is described here: https://www.oxygenxml.com/doc/versions/22.0/ug-webhelp-responsive/topics/wh-add-custom-html.html There are no specific placeholders for the Search Page. However...
by alin
Tue Mar 10, 2020 12:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding logo to the search bar
Replies: 1
Views: 915

Re: Adding logo to the search bar

Hy Syed, You can use an XSLT extension file to alter the HTML structure generated for the Search component. For example, the XSLT extension file may look as follows: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns...
by alin
Wed Feb 26, 2020 10:36 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Responsive Webhelp: include bookmap xml:lang value to footer of main page
Replies: 7
Views: 2614

Re: Responsive Webhelp: include bookmap xml:lang value to footer of main page

Hello, The Macro Component can be used to execute a single XPath expression. There is no limit on how complex the expression is. My guess is a wh:macro is easier to use for basic customization, but for more complex conditions, an XSLT extension will work better. Yes, you are right. It was developed ...
by alin
Mon Feb 17, 2020 6:46 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Integrating two webhelp outputs
Replies: 8
Views: 2212

Re: Integrating two webhelp outputs

Hello, Correct me if i am wrong, is the expectation that the doc source for both the products should reside in the same repository? Yes, you are right. Although this would be the ideal solution for the use case you have described in your first post, it is not necessary that you store both of your pr...
by alin
Fri Feb 14, 2020 1:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Integrating two webhelp outputs
Replies: 8
Views: 2212

Re: Integrating two webhelp outputs

Hello, You could use a third DITA Map (supermap) that includes the maps for each product. For example: <map> <title>SuperMap</title> <topicref href="publication-A-dir/a.ditamap" format="ditamap"/> <topicref href="publication-B-dir/b.ditamap" format="ditamap"/>...
by alin
Fri Feb 14, 2020 12:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Multiple levels of menu in Webhelp Responsive Tree
Replies: 2
Views: 1367

Re: Multiple levels of menu in Webhelp Responsive Tree

Hello, Here is a quick solution for the content structure generation part: You can use an XSLT extension file inside your current Publishing Template to override the default structure of the TOC component from the main page. The XSLT extension file should contain: <?xml version="1.0" encod...
by alin
Mon Feb 03, 2020 5:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp XSLT: Display metadata as visible content
Replies: 7
Views: 4199

Re: WebHelp XSLT: Display metadata as visible content

Hello, https://www.oxygenxml.com/doc/versions/21.1/ug-editor/topics/whr_publishing_template_contents.html says "To add new macros, you can add an XSLT extension to overwrite the wh-macro-extension template from the com.oxygenxml.webhelp.responsive\xsl\template\macroExpander.xsl file." The ...
by alin
Mon Feb 03, 2020 11:40 am
Forum: Other Issues
Topic: Add text in welcome page
Replies: 6
Views: 2276

Re: Add text in welcome page

Hello, You can achieve this by using the localization support from WebHelp. You should follow the procedure described here: https://www.oxygenxml.com/doc/versions/21.1/ug-webhelp-responsive/topics/localize-webhelp-responsive.html?hl=localization#ariaid-title2 and add a localization entry for your we...
by alin
Thu Jan 30, 2020 4:25 pm
Forum: Other Issues
Topic: Add text in welcome page
Replies: 6
Views: 2276

Re: Add text in welcome page

Hello,

Do you want the text you are inserting in the welcome page to be translated according to the current language of your publication?

Regards,
Alin
by alin
Fri Jan 24, 2020 4:33 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Responsive Webhelp: include bookmap xml:lang value to footer of main page
Replies: 7
Views: 2614

Re: Responsive Webhelp: include bookmap xml:lang value to footer of main page

Hello, Is there a way to show the default value (en) if the xml:lang attribute is empty? You can use the following content in the HTML fragment file: <div xmlns:whc="http://www.oxygenxml.com/webhelp/components"> Publication Language: <b><whc:macro value="${map-xpath(if (/*/@*:lang) th...