This content has been marked as final. Show 5 replies
Hi Z33. Are you trying to import .PHP files into RH? You can't directly import .PHP files into RH however you can import .HTM files. It appears you can change the extensions of PHPs to HTMs but then things won't work (e.g. links, PHP tags). Check out this link found through Google for a start point.
For example If i had a navigation bar in a seperate html file. Can robohelp include that html file at the top of every html file so that I could modify that 1 seperate html file and it would affect all the files that "include" that one file?
Sort of like templates but with more control as to where i include these pieces of html code.
Is this possible? What are alternatives that robohelp can do?
Basically, how can I generalize consistent code accross multiple pages , but not just at the header and footers like the templates allow, but rather anywhere in the html?
This sounds like what you want to do is use a frameset. The top portion of the frame would be your navigation bar and point to a single HTM file. Your frame would display two parts, the navigation bar and the other content. If you type framesets into RH help file index you'll find how to add these.
Another way to do this is with an "inline frame." Unlike the frameset, this would not limit your included HTML file to a specific position in the view. One caveat - inline frames are difficult to use if your content changes size dramatically on editing.
Just another thought,