This content has been marked as final. Show 7 replies
I am still waiting on any help available. If my issue as described seems irresolvable, then can someone suggest the include file script that I can insert on every page using a find and replace for the <head> tag. I also read somewhere a .js file will then need to be created with the image/banner data. However I don't know if this will work within RoboHelp. Can someone confirm if this can or cannot work and how I should proceed. I've put off the design developers and management long enough. I need a solution fast. I don't want to tell them I can't do this. Please advice. You may send me a private message. I can give you my outside e-mail then. I appreciate any feasible suggestion.
Sorry nobody has responded to your question yet. I'll take a stab at it. Firstly, I have a really silly question to ask of you. I see you mention that you have created and applied a template. So it sounds as if the first steps have been completed. You then say you published to the server. Here's where I get confused.
You said you see the header and footer "in the RH generated Preview for RH Html help."
So here's my silly question. You did actually perform the step of "Generating" your output, didn't you? I ask, because you only mentioned Previewing earlier and made no mention of generating. If you come from a web development background and maybe work with FrontPage or Dreamweaver, there is no "generate" process. You just edit the pages and then upload them to the server. But RoboHelp is quite different in this respect. You first generate your system, then publish it to the server.
Hopefully this helps... Rick
Thanks for the response. I did generate and I definitely published to the server. Now that the files are on the server, shouldn't I see my results in production/ Help site.? What can be the reason(s)? Is there a file I could open up in notepad to check if all the template info is there? In the single file source codes, i can see the script for the template applied but have no clue why I can't see it in results.
Since the graphics you're using have not been inserted into an .htm file, RH might be playing dumb. In which case, you'll need to add the graphics to the rhbag.apj file (either through the GUI or through the .apj file in Notepad).
In addition, the graphics MUST be in the same "relative" location on the server as they were on your local machine.
As far as getting headers/footers to work through your .css file, you'd better become a world-class CSS expert before attempting that!
Thanks for the suggestions. I did try what you said about editing the rhbag.apj file in notepad. It didn't work. These are the lines I entered to add the graphics to the rhbag.apj file. I did add these lines inside the end lines of the code. :
These grahics are located inside the main project folder on the server and on my PC. The Template is also outside any subfolder. The other file I looked at in Notepad was the rhtemplate.apj. It also has the correct template listed. It had two listed (an older temp) I removed the line reference to the old temp and left this:
<?xml version="1.0" encoding="windows-1252"?>
<rhpml majorversion="1" minorversion="0">
<name>New Template NEW.htt</name>
Please advise what I might be doing wrong here.
Silly me, I just love asking these goofy questions.
Is the content in your template file actually in the header and the footer (indicated by the dotted square div area), or is it content placed at the top and bottom of the body?
RH will display template headers and footers when the template is assigned; however, no body content is displayed unless the template is assigned at topic creation.
Ok Merge This,
Yes I did enter the header (just inserted header for now) image inside the dotted line in the header part not the body of template.
This is partial code from the template file it self. As a note I am applying this template to exising topic pages so no I did not create the pages with this temp. Here is part of the .htt file code:
style="width: 100%; position: relative;">
x-value="New Template NEW">}}-->New Template
<p>This is placeholder text for your template. To add content to the body,
replace this text. To add a header or footer, click the <b>Header</b>
or <b>Footer</b> button on the toolbar.</p>
<p>The heading in this template is a special field for topic titles, so
generally you do not need to edit it.</p>
<p>For information about applying templates to topics, press <b>F1</b>.</p>
And the following is on the very top (<Head> section of each topic page which has the Template applied:
<meta name="template" content="New Template NEW.htt">
Believe me, no question is goofy. It's better to ask then not know at all. I admit I am no RoboHelp expert but am trying to learn from experts on these forum, including you (and Rick). I appreciate all the help.