Remove index from the mobile output
Oxygen general issues.
-
- Posts: 9
- Joined: Fri Jan 24, 2014 9:36 pm
Remove index from the mobile output
Post by SusanCampbell01 »
Hello,
I'd like to remove the index tab from the mobile output, but I'm not sure how to do that. Does anyone know? I've read other posts that say the index will not be generated if the topics do not have index terms. My topics do have index terms, but I don't want the index to appear for mobile.
Any ideas on how to do this?
Thanks,
Susan
I'd like to remove the index tab from the mobile output, but I'm not sure how to do that. Does anyone know? I've read other posts that say the index will not be generated if the topics do not have index terms. My topics do have index terms, but I don't want the index to appear for mobile.
Any ideas on how to do this?
Thanks,
Susan
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Remove index from the mobile output
Post by sorin_ristache »
Hello,
A quick way of hiding the Index tab is to remove the following lines:
from the template with the attribute name="create-navigation" in the following file:
Repeating the Webhelp - Mobile transformation after this change should hide the Index tab in the output.
Regards,
Sorin
A quick way of hiding the Index tab is to remove the following lines:
Code: Select all
<xsl:if test="count($index/*) > 0">
<li><a href="#indexPage" data-role="tab" data-icon="info">
<xsl:if test="$selected = 'indexPage'">
<xsl:attribute name="class">ui-btn-active</xsl:attribute>
</xsl:if>
<xsl:call-template name="getWebhelpString">
<xsl:with-param name="stringName" select="'Index'"/>
</xsl:call-template>
</a></li>
</xsl:if>
Code: Select all
[Oxygen-install-dir]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\xsl\dita\mobile\createMainFiles.xsl
Regards,
Sorin
-
- Posts: 9
- Joined: Fri Jan 24, 2014 9:36 pm
Re: Remove index from the mobile output
Post by SusanCampbell01 »
Great! Thank you for your help. I followed your instructions and the index no longer appears in the mobile output.
Thanks again,
Susan
Thanks again,
Susan
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service