rejetto forum

Opening more than 1 episode of hfs does not accept change of template

bobxzx · 4 · 3264

0 Members and 1 Guest are viewing this topic.

Offline bobxzx

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
I'm using hfs as a personal website & use 1 episode of it for a front page then have another episode of hfs for an expanded main page on a different port. My old version works great, on the new version, trying to change the template on the 2nd episode won't take. I paste the template for it & save it but it grabs the template from the 1st episode & replaces it. Am I missing something?


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 842
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
You may need to save HFS's settings to a file (.ini) first, and put those two instances of HFS in different folders. Keep in touch if you need more help.
« Last Edit: May 01, 2014, 05:18:00 AM by LeoNeeson »
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
you can have your second hfs point your firs hfs template files as it seems that they are sharing the some "*.css" file...

Since you are using frontpage

i would recommend to make 2 folders
(what every name - hfs1) and (What erver name hfs2)
------
Open you 1st hfs template and then your seconds and have the resources shared between them...
----
Save them in you 2 folders open earlier....
-----

Point being is when you have the html doc ready, right mouse click an do pen in your "we browsers" the web bar path should be (c:\\%pat%\%file.html)
---

open both and make sure your resources/templates are loading correctly, if not fix them before moving on...

----

once they open correctly, in a web browser (internet explorer: file >save as >(put them to the desktop

You will have you html file and the resources it uses...

Now you have to bring the html to hfs, but now you have the templates resources so add that as a real folder and where it calls for a (picture/panel/css/resource...) change the html to the path tot he real folder...

*easier if you take the time to open the folder and add all the files so when it calls for a specific item, you highlight it in hfs and the address bar at the top has the file path need to find and load...

----------------
In the end, you need to go over what resources you second hfs is using to fix your issues...

Good luck! :)
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
the easiest way is described by Leo, but an advanced user could even use the same .exe and load different ini through command line parameters