Page 1 of 1

14.2 WebHelp <title> & <subtitle> in header area?

Posted: Sat Feb 23, 2013 1:12 am
by P4jjb
Hi Radu and Sorin,

The 14.1 DocBook WebHelp output automatically displayed the <title> and <subtitle> elements of the xibook.xml file in the output's header (above the Content, Search, and Index tabs).

However, for 14.2, these elements don't display in the header. However, I can find them if I click the With Frames icon and then click Home.

It's important for our documentation that the title and subtitle display in the initial WebHelp view.
Do I have to set one of the new parameters to get these elements displayed in the header?
Or is a customization necessary?

As always, thanks!

Re: 14.2 WebHelp <title> & <subtitle> in header area?

Posted: Mon Feb 25, 2013 2:15 pm
by sorin_ristache
Hi,

I looked at the DocBook Webhelp output and I did not see a difference in the header between versions 14.1 and 14.2. The subtitle is displayed under the title in the right side frame of the initial page of the Webhelp output, both in the internal frames version (index.html) and in the frameset version (index_frames.html). If you want to add the subtitle also in the header which is in line with the links Print this page and Next (above the horizontal separator line between the content and the links Next, Previous, With Frames, etc), then a customization is necessary. Where do you want to add the subtitle? Can you post a small image with the expected result?


Regards,
Sorin

Re: 14.2 WebHelp <title> & <subtitle> in header area?

Posted: Tue Feb 26, 2013 2:37 am
by P4jjb
Hi Sorin,

Actually, I was wrong about the <subtitle> displaying in the WebHelp output; only the <title> displays.

However, I'm still not getting a title displaying for the DocBook 5 WebHelp.
I thought I may have corrupted the docbook_build file when I was trying to configure the webhelp.copyright parameter (per another post of mine).
So I uninstalled 14.2, reinstalled it, and didn't configure anything--just opened up my project's .xpr file and ran the default DocBook 5 WebHelp transform.
Nope, no title in 14.2 index.html. But I still do get a title in the 14.1 index.html. Code samples below for both of the index.html.

14.2 index.html.
Both <head><title> and <div id="productTitle"><h1> are empty.
Note also that search.label has a typo in <div id="tMenu"> container; "Searcht" instead of "Search".

Code: Select all

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<meta name="copyright" content="(C) Copyright 2012"></meta>
<meta name="DC.rights.owner" content="(C) Copyright 2012"></meta>
<title></title>
<script type="text/javascript" src="oxygen-webhelp/resources/js/jquery.js">
<!---->
</script>
<script type="text/javascript" src="oxygen-webhelp/search/htmlFileList.js">
<!---->
</script>
<script type="text/javascript" src="oxygen-webhelp/search/htmlFileInfoList.js">
<!---->
</script>
<script type="text/javascript" src="oxygen-webhelp/search/nwSearchFnt.js">
<!---->
</script>
<script type="text/javascript" src="oxygen-webhelp/search/stemmers/en_stemmer.js">
<!---->
</script>
<script type="text/javascript" src="oxygen-webhelp/search/index-1.js">
<!---->
</script>
<script type="text/javascript" src="oxygen-webhelp/search/index-2.js">
<!---->
</script>
<script type="text/javascript" src="oxygen-webhelp/search/index-3.js">
<!---->
</script>
<script type="text/javascript" charset="utf-8" src="./oxygen-webhelp/resources/localization/strings.js">
<!---->
</script>
<script src="./oxygen-webhelp/resources/js/browserDetect.js" type="text/javascript">
<!---->
</script>
<script type="text/javascript" charset="utf-8" src="./oxygen-webhelp/resources/js/jquery.highlight-3.js">
<!---->
</script>
<script type="text/javascript" charset="utf-8" src="./oxygen-webhelp/resources/js/jquery.ba-hashchange.js">
<!---->
</script>
<script type="text/javascript" charset="utf-8" src="./oxygen-webhelp/resources/js/parseuri.js">
<!---->
</script>
<script type="text/javascript" src="oxygen-webhelp/resources/js/splitter.js">
<!---->
</script>
<link href="./oxygen-webhelp/resources/css/tocWDiv.css" type="text/css" rel="stylesheet"></link>

<script type="text/javascript" src="./oxygen-webhelp/resources/js/log.js">
<!---->
</script>

<script type="text/javascript" src="./oxygen-webhelp/resources/js/tocWDiv.js">
<!---->
</script>

</head>
<body onload="javascript:showMenu('content');">
<noscript>
<style type="text/css">
#searchBlock,
#preload,
#indexBlock,
#tocMenu{
display:none
}

#tab_nav_tree, #contentBlock ul li ul {
display:block;
}
#contentBlock ul li span{
padding: 0px 5px 0px 5px;
}
#contentMenuItem:before{
content:"Content";
}
</style>
<div style="width: 100%; vertical-align: middle; text-align: center; height: 100%;">
<div style="position: absolute; top:45%; left:25%;width: 50%; ">
You must enable javascript in order to view this page
or you can go
<a href="index_frames.html">here</a> to view the webhelp.

</div>
</div>
</noscript>
<div id="header">
<div id="lHeader">
<div id="productTitle">
<h1></h1>
<div class="framesLink">
<a href="index_frames.html" id="oldFrames">
<img src="oxygen-webhelp/resources/img/frames.png" alt="With Frames" border="0"></img>
</a>
<a href="javascript:window.print();" id="printLink">
<img src="oxygen-webhelp/resources/img/print.png" alt="Print" border="0"></img>
</a>
</div>
</div>
<table class="tool" cellpadding="0" cellspacing="0">
<tr>
<td>
<div id="tMenu">
<div class="tab" id="content" style="display:inline">
<span onclick="showMenu('content')" id="content.label">Content</span>
</div>
<div class="tab" id="search" style="display:inline">
<span onclick="showMenu('search')" id="search.label">Searcht</span>
</div>
<div class="tab" id="index" style="display:inline">
<span onclick="showMenu('index')" id="index.label">Index</span>
</div>
</div>
</td>
<td>
<div id="productToolbar">
<div id="breadcrumbLinks">
<!---->
</div>
<div id="navigationLinks">
<!---->
</div>
</div>
</td>
</tr>
</table>
</div>
<div id="space">
<!---->
</div>
14.1 index.html
Both <head><title> and <div id="productTitle"><h1> are complete.
<div id="tMenu"> container has correctly-spelled "Search".

Code: Select all

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="copyright" content="(C) Copyright 2012" />
<meta name="DC.rights.owner" content="(C) Copyright 2012" />
<title>Perforce 2013.1: Git Fusion Administrator's Guide</title><script type="text/javascript" src="oxygen-webhelp/resources/js/jquery.js">
<!----></script><script type="text/javascript" src="oxygen-webhelp/search/htmlFileList.js">
<!----></script><script type="text/javascript" src="oxygen-webhelp/search/htmlFileInfoList.js">
<!----></script><script type="text/javascript" src="oxygen-webhelp/search/nwSearchFnt.js">
<!----></script><script type="text/javascript" src="oxygen-webhelp/search/stemmers/en_stemmer.js">
<!----></script><script type="text/javascript" src="oxygen-webhelp/search/index-1.js">
<!----></script><script type="text/javascript" src="oxygen-webhelp/search/index-2.js">
<!----></script><script type="text/javascript" src="oxygen-webhelp/search/index-3.js">
<!----></script><script type="text/javascript" charset="utf-8" src="./oxygen-webhelp/resources/localization/strings.js">
<!----></script><script src="./oxygen-webhelp/resources/js/quick_search.js" type="text/javascript">
<!----></script><script src="./oxygen-webhelp/resources/js/browserDetect.js" type="text/javascript">
<!----></script><script type="text/javascript" charset="utf-8" src="./oxygen-webhelp/resources/js/jquery.highlight-3.js">
<!----></script><script type="text/javascript" charset="utf-8" src="./oxygen-webhelp/resources/js/jquery.ba-hashchange.js">
<!----></script><script type="text/javascript" charset="utf-8" src="./oxygen-webhelp/resources/js/parseuri.js">
<!----></script><script type="text/javascript" src="oxygen-webhelp/resources/js/splitter.js">
<!----></script><link href="./oxygen-webhelp/resources/css/tocWDiv.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="./oxygen-webhelp/resources/js/log.js">
<!----></script>
<script type="text/javascript" src="./oxygen-webhelp/resources/js/tocWDiv.js">
<!----></script>
</head>
<body onload="javascript:showMenu('content');">
<noscript><style type="text/css">
#searchBlock,
#preload,
#indexBlock,
#tocMenu span{
display:none
}
#tab_nav_tree{
display:block
}
#contentMenuItem:before{
content:"Content";
}</style><div style="width: 100%; vertical-align: middle; text-align: center; height: 100%;">
<div style="position: absolute; top:45%; left:25%;width: 50%; ">
You must enable javascript in order to view this page
or you can go <a href="index_frames.html">here</a> to view the webhelp.

</div>
</div>
</noscript>
<div id="header">
<div id="lHeader">
<div id="productTitle">
<h1>Perforce 2013.1: Git Fusion Administrator's Guide</h1>
</div>
<table class="tool" cellpadding="0" cellspacing="0">
<tr>
<td>
<div id="tMenu">
<div class="tab" id="content" style="display:inline">
Content

</div>
<div class="tab" id="search" style="display:inline">
Search

</div>
<div class="tab" id="index" style="display:inline">
Index

</div>
</div>
</td>
<td>
<div id="productToolbar">
<div id="breadcrumbLinks">
<!---->
</div>
<div id="navigationLinks">
<!---->
</div>
</div>
</td>
</tr>
</table>
</div>
Is my installation possibly somehow throwing this off?

My 14.1 in: C:\Program Files\Oxygen XML Editor 14
My 14.2 in: C:\Program Files\Oxygen XML Editor 142

Re: 14.2 WebHelp <title> & <subtitle> in header area?

Posted: Thu Feb 28, 2013 3:37 pm
by sorin_ristache
Hi,

We already replied by email with a code modification that will fix the problem and that we will also include in the next Oxygen 14.2 maintenance build. It is a bug in the Docbook Webhelp transformation from Oxygen 14.2 that causes the title of a Docbook book to be omitted in the header that is displayed above the tabs for Content, Search and Index.


Regards,
Sorin