3 Replies Latest reply on Mar 17, 2009 2:47 PM by Captiv8r

    RoboHelp!SSL! Folder - New Structure

    CRO1 Level 1

      For server directory structure purposes (our files are published to a secure server), we would like to amend the !SSL! folder. Presently the structure is nameofprojectt/!SSL!/Webhelp. Within the Webhelp folder are the various files, including .js files (e.g.,whvert.js). We would like to place all the javascript files and other files types (images, xml, etc.) into their own folder and amend the launch page accordingly. Presently the launch page code is:

      <script type="text/javascript" language="javascript" src="whver.js"></script>. Assuming the script files are in a proposed folder called "scripts" we would like to amend the code to:

      <script type="text/javascript" language="javascript" src="../whver.js"></script>

      Could the Webhelp file still work under the new structure?


        • 1. Re: RoboHelp!SSL! Folder - New Structure
          Ben Minson Level 2
          You could certainly do that, but you'll want to be careful as you do--there are HTML files in the WebHelp folder that refer to those JS files, too. That means you'd either have to move all of those into the scripts folder or amend all of the <script> tags in those files so they point to the right location.

          If you move all of those files into the scripts folder, you'll have to check the start page (I think the same as what you called the launch page) for any references to those files so you can update the paths. Depending on how many there are and whether the start page changes each time you generate, you may not have much trouble.

          After you move things and verify that the help isn't broken, you may want to consider using the publish feature to publish to a second location on your hard drive after you generate. This would help ensure that the changes you've hard-coded into your files aren't overwritten in that second location every time you generate. Then you use the files in the second location to launch your help to the users.

          So the basic answer to your question is yes, but you will probably have to do some experimenting first to make sure all references are correct.

          If I understand what you're saying, though, you're talking about putting a scripts folder within the WebHelp folder? In that case, wouldn't the reference be src="scripts/whver.js"? Or is your start page not directly within the WebHelp folder?

          • 2. Re: RoboHelp!SSL! Folder - New Structure
            CRO1 Level 1
            Ben Minson,

            Thanks for your response. The start / launch page is within the Webhelp folder; however, we may have to move the files (security purposes) to a different directory.
            • 3. Re: RoboHelp!SSL! Folder - New Structure
              Captiv8r Adobe Community Professional & MVP
              Hi there

              What Ben mentioned may only be the tip of the iceberg. When you generate WebHelp or FlashHelp, you are instructing RoboHelp to pull each and every topic into memory. Based on the settings configured in the Single Source Layout, all sorts of JavaScript is added to each and every topic. Much of the JavaScript is stored in the folders you are considering moving. So if you decide to relocate them, you could probably do it as Ben is suggesting. But you will need to examine each and every topic and amend the scripting so it would also reflect the new location.

              Definitely not for the faint of heart!

              Just something to ponder... Rick