WebHelp with no JavaScript at all

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

WebHelp with no JavaScript at all

Unread postby Rainer Oehry » Fri Feb 01, 2019 3:10 pm

Is it possible — by using a specific skin and/or applying specific options — to create a WebHelp output without any scripting included? Of course searching and other features would no longer be available, and even navigating might be limited, but I would accept that — I just need a WebHelp without any scripts.

Is this possible?
Regards,

Rainer
Head of Technical Writing & Knowledge Management
TIG Technische Informationssysteme GmbH, Rankweil, Austria
Rainer Oehry
 
Posts: 85
Joined: Sun Dec 10, 2017 12:47 pm

Re: WebHelp with no JavaScript at all

Unread postby Tim Green » Fri Feb 01, 2019 4:26 pm

Hi Rainer,

You can generate minimal WebHelp as follows (this is designed for people who want to integrate their own topic pages in other ways):

  • Don't use a skin.
  • In your project, navigate down to Configuration > Publishing Options > WebHelp > Layout. If the Source Code contents are visible click on the Reset Template button. Then select the No Frames option.
  • Check the Table of Contents template. This will now be generated as the index.html file, giving you a simple unordered list of links to the topics that you can use or not, as you wish. There is no longer a layout file.
  • Go to Configuration > HTML Page Templates > Default and check and configure the topic page template there as you like.
There will still be some minimal scripts generated so that things like expanding text toggles still work in your output, but you will no longer have an integrated user interface. If you don't want the Previous, Next and Home links in your topics you can remove those by editing the page template.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 20618
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: WebHelp with no JavaScript at all

Unread postby Rainer Oehry » Mon Feb 04, 2019 1:13 pm

Hi Tim,

I have followed all your steps so far.

Currently the (unmodified) <head> section of my (default) template ends like this:
Code: Select all
<head>
    ...
   <style type="text/css">
     body { margin: 0px; background: #FFFFFF; }
   </style>
</head>

In the resulting .html file H&M has inserted additional scripting information:
Code: Select all
<head>
    ...
   <style type="text/css">
     body { margin: 0px; background: #FFFFFF; }
   </style>
   <script type="text/javascript" src="jquery.js"></script>
   <script type="text/javascript" src="helpman_settings.js"></script>
   <scrit type="text/javascript" src="helpman_topicinit.js"></script>
</head>

Is it possible to "deselect" the creation of these .js lines altogether?
Regards,

Rainer
Head of Technical Writing & Knowledge Management
TIG Technische Informationssysteme GmbH, Rankweil, Austria
Rainer Oehry
 
Posts: 85
Joined: Sun Dec 10, 2017 12:47 pm

Re: WebHelp with no JavaScript at all

Unread postby Tim Green » Mon Feb 04, 2019 6:22 pm

Hi Rainer,

See this topic in the help for details on these components:

https://helpandmanual.com/help/index.ht ... cripts.htm

Is it possible to "deselect" the creation of these .js lines altogether?

No, because then some components of your pages that you create in Help+Manual will no longer work. For example, expanding text, image and inline toggles won't work any more. These scripts are the minimum for functional page content.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 20618
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany


Return to Help & Manual 7 Forum

Who is online

Users browsing this forum: No registered users and 7 guests