Page 1 of 1 not working

Posted: Thu Sep 20, 2018 11:44 pm
by rdelong
I'm trying to get the parameter to work in my template. I've created a text file that contains the following sample code:

Code: Select all

<div class="dropdown">
<button class="btn dropdown-toggle sr-only" type="button" id="dropdownMenu1" data-toggle="dropdown">
<span class="caret"></span>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li>
<li role="presentation" class="divider"></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li>
The file is saved as menu.html and I point to this file in the field. The output generates without errors, but the code is not in the WebHelp responsive output.

Am I doing something wrong?

Re: not working

Posted: Fri Sep 21, 2018 2:34 pm
by ionela

To check this on our side could you please let us know how you refer the file in the publishing template, from an HTML fragment extension point or by using a parameter? Could you please provide us the code from the .opt file where you point to the menu.html file?

As a general rule make sure that the expanded path (absolute path) to this file and to the publishing template does not contain any spaces. There is a known issue registered to our tracking tool regarding spaces in this path. As a workaround you need to modify this path and remove the spaces.