Search found 168 matches

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

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

Hello, This is how yout 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" exclude-result-prefixes="xs file whc" v...
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: 55

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

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

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/components" exclude-resu...
by alin
Thu Sep 03, 2020 6:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp output browser requirements
Replies: 3
Views: 1227

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

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"/> </topichead> <topichead navtitle="y"...
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: 3067

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

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

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://www.oxygenxml.com/webhelp/...
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: 4524

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 custom CSS rule to your ...
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: 233

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

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:whc="http://www.oxy...
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: 921

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

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

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"/> </map> Afterwards you can publish the s...
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: 1
Views: 250

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" encoding="UTF-8...
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: 2013

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 above stat...
by alin
Mon Feb 03, 2020 11:40 am
Forum: Other Issues
Topic: Add text in welcome page
Replies: 6
Views: 581

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

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

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) then /*/@*:lang e...
by alin
Fri Jan 17, 2020 10:46 am
Forum: Other Issues
Topic: Add text in welcome page
Replies: 6
Views: 581

Re: Add text in welcome page

Hello, You can use the " webhelp.fragment.welcome " HTML Fragment extension point. You can find more information in our User Manual about Inserting Custom HTML content in the WebHelp Responsive output: https://www.oxygenxml.com/doc/versions/21.1/ug-webhelp-responsive/topics/wh-add-custom-html.html R...
by alin
Wed Jan 08, 2020 11:36 am
Forum: Other Issues
Topic: WebHelp topic tooltip shows garbled text
Replies: 1
Views: 254

Re: WebHelp topic tooltip shows garbled text

Hello, This is a known issue which has already been resolved in the upcoming version. To overcome this problem you can use the following custom CSS rule in your WebHelp output: .wh-tooltip-container .wh-tooltip, .wh_breadcrumb .topicref .wh-tooltip, .wh_publication_toc .topicref .wh-tooltip { displa...
by alin
Thu Dec 12, 2019 5:23 pm
Forum: Other Issues
Topic: How to fix this "elements must consist of well-formed character data"?
Replies: 1
Views: 1059

Re: How to fix this "elements must consist of well-formed character data"?

Hello,

In order to avoid XML well-formedness errors you should wrap the JavaScript content of the <script> element using XML Comment markup.
For example:

Code: Select all

<script>
  <!-- 
     
     [Place your Javascript here]
  
  -->
</script>


Regards,
Alin
by alin
Tue Dec 10, 2019 7:46 pm
Forum: Common Problems
Topic: shortdesc formatting in WebHelp tooltips - broken?
Replies: 3
Views: 342

Re: shortdesc formatting in WebHelp tooltips - broken?

Hello, The issue can be fixed by including the following CSS snippet into your generated output: .wh-tooltip-container .wh-tooltip, .wh_breadcrumb .topicref .wh-tooltip, .wh_publication_toc .topicref .wh-tooltip { display: block; } The procedure of using CSS to customize the output is described in o...
by alin
Fri Dec 06, 2019 2:54 pm
Forum: Other Issues
Topic: localStorage == null in wh_topic page
Replies: 2
Views: 349

Re: localStorage == null in wh_topic page

Hello, Can you please give us more details about your customization. More specifically, how did you include the JS that retrieves the data from local storage in your output files? Are there any JS errors the browser's console? Also, we would need to know which version of Webhelp are you using. Regar...
by alin
Fri Nov 15, 2019 7:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS files associated with referenced HTML files are not being pulled into WebHelp output
Replies: 1
Views: 318

Re: CSS files associated with referenced HTML files are not being pulled into WebHelp output

Hello, You can use the webhelp.custom.resources parameter and set it to the path of a directory containing the resources that you want to copy to the output folder. All the resources will be copied to the root directory of the Webhelp output. Please see the Copying Additional Resources to the Output...
by alin
Tue Nov 12, 2019 4:33 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Responsive Webhelp: spaces between different keyword in output
Replies: 1
Views: 275

Re: Responsive Webhelp: spaces between different keyword in output

Hello, You need to adjust your XPath expression in order to concatenate all keywords using a space as separator: <div class="keywords" xmlns:whc="http://www.oxygenxml.com/webhelp/components"> <p>Keywords: <b><whc:macro value="${topic-xpath(string-join(//keyword, ' '))}"/></b></p> </div> Regards, Alin
by alin
Wed Oct 23, 2019 11:14 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Image in title tag shows abruptly in the webhelp nav
Replies: 1
Views: 224

Re: Image in title tag shows abruptly in the webhelp nav

Hello,

Thank you for reporting this issue. I have logged it in our system and a fix will be available in the next Webhelp release.


Regards,

Alin
by alin
Tue Aug 27, 2019 12:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add metadata from DITA map to menu items in HTML output
Replies: 2
Views: 412

Re: Add metadata from DITA map to menu items in HTML output

With the XPath command map/topicref/topicref/topicmeta/audience/@type it is possible to get the desired result, namely "expert". When I try to achieve the same within sidetoc.xsl with //toc:toc/toc:topic/toc:topic/toc:topicmeta/toc:audience/@type I get the @type values from parents and siblings, to...
by alin
Wed Jul 31, 2019 4:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Responsive Webhelp: include bookmap xml:lang value to footer of main page
Replies: 7
Views: 921

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

Hello, You can add custom HTML content in the WebHelp Responsive output by inserting it in a well-formed XML file that will be referenced in the transformation (either from an Oxygen Publishing Template or using one of the HTML fragment parameters ). The XML file can use WebHelp macros, which are va...