Page 1 of 1

Classes and WebHelp components

Posted: Wed Aug 16, 2017 10:36 pm
by kgajda
Hi!

I am just trying to find an exhaustive list of the WebHelp template components available to be referenced.
I found this page
https://www.oxygenxml.com/doc/versions/ ... n_page_toc,
and it seems like there are additional ones for use breaking down the tiles
(<whc:webhelp_tile class="col-md-4">
<!-- Place holder for tile's image -->
<whc:webhelp_tile_image/>

<div class="wh_tile_text">
<!-- Place holder for tile's title -->
<whc:webhelp_tile_title/>

<!-- Place holder for tile's shordesc -->
<whc:webhelp_tile_shortdesc/>
</div>
</whc:webhelp_tile>)
Are there any for breaking out the individual pieces of the tree/TOC? I need to be able to reference certain pieces/topic of the TOC in the template.
Thanks so much for your help :)
Kim

Re: Classes and WebHelp components

Posted: Thu Aug 17, 2017 3:34 pm
by alin
Hi Kim,

The only way to expand the TOC template component is like this:

Code: Select all


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

Code: Select all


<whc:webhelp_main_page_toc>
<div class="before">BEFORE</div>

<whc:component_content/>

<div class="after">AFTER</div>
</whc:webhelp_main_page_toc>

Regards,
Alin