Copy link to clipboard
Copied
I am publishing a large FrameMaker 2019 book as Responsive HTML5 using the Indigo skin.
I want to make some changes to the template, but cannot figure out where to make the changes.
I want to change:
I have RoboHelp 2019, but want to try and make it work to publish directly from FM if at all possible. Converting from FM to RH and then publishing would be a monumental headache, especially since I am not the only person who edits this document.
Here is how to customize the text:
Copy link to clipboard
Copied
I can't recall if the Publish HTML5 route in FM exposed the same skin elements as you can get at in RH - have you tried creating a new set of Settings and messing around inside it?
Copy link to clipboard
Copied
Just so that I understand it correctly: The screenshot you are showing from the help center … you did generate that with RoboHelp, not with FrameMaker, right?
Copy link to clipboard
Copied
The content came from FrameMaker. Under File > Publish > Responsive HTML5.
From here I can edit the Indigo skin.
But I can't figure out where to edit the header, subhead, icons, or copyright text.
Copy link to clipboard
Copied
* came from and was generated by FrameMaker
Copy link to clipboard
Copied
What are you seeing when you choose "Edit" there?
(haven't got a new version of FM in front of me to look for myself)
Copy link to clipboard
Copied
It allows me to change colors and widths and things like that, but not the areas I need to edit.
For example, here is what's under the HEADER tab:
Copy link to clipboard
Copied
Here is how to customize the text:
<section name="ResponsiveHTML5">
<!-- other strings -->
<element name="Copyright" value="© Copyright 2017. All rights reserved."></element>
<element name="Welcome_header" value="Welcome to our Help Center"></element>
<element name="Welcome_text" value="What can we help you with today?"></element>
<!-- other strings -->
</section>
Note, that the "preview" images shown in the Layout Customization Editor only show pixel images for illustration purposes. They will not show this changed text.
You can also find the two icons for the welcome page in this zip in folder \!ScreenLayout!\IndigoResponsive_HTML5:
You can replace them with your own (best, to keep the size the same). If you want to have different icons for the books, it would get more complicated (enough for a separate post).
Copy link to clipboard
Copied
Thank you, Stefan! Everything looks fine until I try to publish.
Every time I replace the RoboHHRE.lng file within the ZIP file, it reverts it back to the original settings. I've tried it many times now, in several different ways, and it just won't accept any edits made.
Here's what I'm doing:
01. Copy the Settings.sts file.
02. Rename the copied file to Settings-Custom.sts.zip.
03. Open the ZIP archive.
04. Edit the RoboHHRE.lng file.
05. I save the revised RoboHHRE.lng to my desktop.
06. I copy the new file from my desktop to the ZIP file. It asks if I want to replace the RoboHHRE.lng file that is already there. I click yes . . . but now there are TWO copies of the RoboHHRE.lng file.
07. I check to see which one has the edits I want and delete the other.
08. Save the ZIP file.
09. Change the name to Settings-Custom.sts and place it back in the original directory with the Settings.sts file.
10. Tell FM to use the Settings-Custom.sts file.
11. Publish.
No joy. It has reverted back to the default wording.
Copy link to clipboard
Copied
06. I copy the new file from my desktop to the ZIP file. It asks if I want to replace the RoboHHRE.lng file that is already there. I click yes . . . but now there are TWO copies of the RoboHHRE.lng file.
07. I check to see which one has the edits I want and delete the other.
Maybe in one of the two steps is an error happening? If there are two copies, one probably has a name like RoboHHRE (2).lng or RoboHHRE - Copy.lng? If you delete RoboHHRE.lng and keep the newer one, make sure to also rename it back to "RoboHHRE.lng".
Copy link to clipboard
Copied
Thanks, but I did try that. FM still reverted it back. =/
Copy link to clipboard
Copied
Thanks for this tip with unzipping the sts file! This is great! I can use it to further design the css that creates FM. I do not manage to zip/unzip the css back into the sts. But there is in the publish dialog the possibility to add a css. With this I changed the colors of the drop-down links.
I design the Responsive HTML5 directly from FM 2022, old css from RH Classic do not work for this without problems.
Copy link to clipboard
Copied
I've got to remember that the .sts file is just a zip (like .docx) with all the goodies in it!
But really, it needs more exposing in the UI - @johno51871765, fire up the Tracker (https://tracker.adobe.com/) to log a request for that. Post it here & let people vote for it.
Copy link to clipboard
Copied
I would suggest unzipping the renamed copy of the settings.zip - then edit within the unzipped folder, then zip it back up.
Copy link to clipboard
Copied
I did try that. FM still reverted it back to the original. It's like the freakin' Terminator....
Copy link to clipboard
Copied
If you're zipping the folder, then things will next one extra level and not be usable. Did you select all the files/folders to be zipped and then compress?
Copy link to clipboard
Copied
I tried that, too. =/
Copy link to clipboard
Copied
Make sure your copy of the settings has the modified language file in it & then create a new Responsive HTML Output (call it something slightly different) and point it at your modified .sts file. Oh, and make sure you have admin rights to be able to mess about in that location where you found the settings.sts file
Copy link to clipboard
Copied
Thank you. I'll give that a try.
Copy link to clipboard
Copied
I FOUND IT!!!!!
In my output folder is a file called index.lng.
Within that file you can change lots of things including the header (Welcome_header), subhead (Welcome_text), and copyright date (Copyright).
Welcome_header=[Put your deired text here]
...
Welcome_text=[Put your deired text here]
...
Copyright=[Put your deired text here]
No messing with ZIP files.
Thank you everyone for your help with this.
Copy link to clipboard
Copied
Oops . . . *desired *desired *desired
😉
Copy link to clipboard
Copied
However, that file will get overwritten with the next publishing run.
I have just replicated it and it works fine. I'm pretty sure somewhere in your way something got confused.
Please find attached my settings file. Due to forum file upload restrictions, I have named it "Settings-Custom-Stefan.txt". Just download it and rename it to "Settings-Custom-Stefan.sts", load it into the publishing panel and republish to a new folder. You will see it works:
Copy link to clipboard
Copied
For some reason, I cannot see the attchment, Stefan.
Copy link to clipboard
Copied
Hm, yes, me neither. Looks like the forum ghosts have eaten it!
I have sent you a direct mail with the attachment to your Adobe ID email address and with the subject line "FrameMaker Publishing with Indigo Layout / Custom Settings STS".
Copy link to clipboard
Copied
Yes, but the next time you create output, you're going to lose your customizations - that's why Stefan's way is better - you fix your "factory" copy of the settings, not the output each time.