• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

FM 2019 Publish Responsive HTML5 Indigo Skin

Explorer ,
May 26, 2021 May 26, 2021

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.

 

header.png

I want to change:

 

  • The "Welcome to Our Help Center" header
  • The "What can we help you with today?" subhead
  • Choose different icons for each of the topics
  • Update the copyright notice at the bottom

 

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.

TOPICS
Publishing , Responsive HTML5

Views

1.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , May 27, 2021 May 27, 2021

Here is how to customize the text:

  1. Browse to your settings file ("Settings.sts").
  2. Make a copy of it and rename it with .zip appended (e.g., "Settings-Custom.sts.zip").
  3. Open the "Settings.sts.zip" with any Zip-App of your choice (e.g., 7zip, Winzip, WinRar, etc.).
  4. In the ZIP you will find \!Language!\en_US\RoboHHRE.lng
  5. Extract RoboHHRE.lng and open it in a text editor like Windows Notepad, Notepad++, or any professional XML Editor.
  6. You will find the content you want to change relatively at the e
...

Votes

Translate

Translate
Community Expert ,
May 26, 2021 May 26, 2021

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 27, 2021 May 27, 2021

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 27, 2021 May 27, 2021

Copy link to clipboard

Copied

The content came from FrameMaker.  Under File > Publish > Responsive HTML5.

 

file menu.png  responsiove html5.png

 

From here I can edit the Indigo skin.

 

indigo.png

 

But I can't figure out where to edit the header, subhead, icons, or copyright text.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 27, 2021 May 27, 2021

Copy link to clipboard

Copied

* came from and was generated by FrameMaker

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 27, 2021 May 27, 2021

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)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 27, 2021 May 27, 2021

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.

 

edit screen.png

 

For example, here is what's under the HEADER tab:

 

header2.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 27, 2021 May 27, 2021

Copy link to clipboard

Copied

Here is how to customize the text:

  1. Browse to your settings file ("Settings.sts").
  2. Make a copy of it and rename it with .zip appended (e.g., "Settings-Custom.sts.zip").
  3. Open the "Settings.sts.zip" with any Zip-App of your choice (e.g., 7zip, Winzip, WinRar, etc.).
  4. In the ZIP you will find \!Language!\en_US\RoboHHRE.lng
  5. Extract RoboHHRE.lng and open it in a text editor like Windows Notepad, Notepad++, or any professional XML Editor.
  6. You will find the content you want to change relatively at the end:
    <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>
    ​

    You can change the text in the value attribute between the quotation marks.
  7. Save and close the file and add it back to the zip.
  8. Rename your new settings file from "Settings-Custom.sts.zip" to "Settings-Custom.sts"
  9. Load the new Settings-Custom.sts file into the publish dialog.
  10. Publish 🙂

 

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:

  • theme-1-toc-book.png
  • theme-1-toc-book-over.png
  • theme-1-toc-topic.png
  • theme-1-toc-topic-over.png

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).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 27, 2021 May 27, 2021

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 27, 2021 May 27, 2021

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".

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 27, 2021 May 27, 2021

Copy link to clipboard

Copied

Thanks, but  I did try that.  FM still reverted it back. =/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 01, 2023 Mar 01, 2023

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 27, 2021 May 27, 2021

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 27, 2021 May 27, 2021

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 27, 2021 May 27, 2021

Copy link to clipboard

Copied

I did try that. FM still reverted it back to the original.  It's like the freakin' Terminator....

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 08, 2021 Jun 08, 2021

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?

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 09, 2021 Jun 09, 2021

Copy link to clipboard

Copied

I tried that, too.  =/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 27, 2021 May 27, 2021

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 27, 2021 May 27, 2021

Copy link to clipboard

Copied

Thank you.  I'll give that a try.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 27, 2021 May 27, 2021

Copy link to clipboard

Copied

I FOUND IT!!!!!

 

In my output folder is a file called index.lng.

 

solution.png

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 27, 2021 May 27, 2021

Copy link to clipboard

Copied

Oops . . . *desired *desired *desired

 

😉

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 27, 2021 May 27, 2021

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:

 

Stefan-Gentz_0-1622143906341.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 27, 2021 May 27, 2021

Copy link to clipboard

Copied

For some reason, I cannot see the attchment, Stefan.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 27, 2021 May 27, 2021

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".

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 27, 2021 May 27, 2021

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines