rejetto forum

Different templates for different accounts?

0 Members and 1 Guest are viewing this topic.

Offline bobwolfson

  • Occasional poster
  • *
    • Posts: 10
    • View Profile
Is there a way to use different templates for different accounts?


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
yes, it is! A bit tricky to explain and setup , but very possible!
you need to download and setup HFS in quite a different way.
when the user logins, you will redirect them to the folder with that template

we need to setup hfs and get there basic template form
we will be using the different template page for quite a bit of them
we will be using the account management to "redriect at login" option...
if there are sahred folder, will will need to set them up multiple time to the folder

so, the first step is to create a template folder (this is where all the files need for you templates you will be using


in HFS "EXPERT MODE" menu > template > edit/ change file is how you install the template/get the template

HFS by default has a template if you hit edit, notepad or other editor will pen the file, copy it all, that is what we will use as a base and possible put HFS default on a folder by default for access

let say you download RARW live template
if you click change, a folder appears in your HFS, you will need to combine the templates in to that folder to pull files the templates use to make them work
if you hit "edit" , you will get that templates properties....

if you say download a different RARW template and hit change, the template files for live are no longer in HFS, the new template has replaced it with X and X files....

so you have some work you need to figure out...
How many templates and what to change about them?

after you get the template you want to add, and have compined there files

we need to setup folders structure
Home (/) also know as root
DOESN'T have to be this way!, recommend:
home > template1 (right muse click  > properties >
home > template2
etc..etc...

that way if you have a folder to share to both templates is easier to add...

any thing in template 1 and down such as a new folder will load that template UNLESS you change the floder under "templae 1" form the different template tab!

once the site lnks

http:yourip\template1 http:yourip\template2
loads right, then you set user name reditrects



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: 13523
    • View Profile
a different, and possibly better, way to get it, is to use the scripting command {.load tpl.}
you can change the main template to load another template based on the username.