Author Topic: Make different .tpl for admin and other users  (Read 2110 times)

0 Members and 1 Guest are viewing this topic.

Offline Pavitra

  • Occasional poster
  • *
  • Posts: 5
    • View Profile
Make different .tpl for admin and other users
« on: May 29, 2014, 09:51:50 AM »
Is it possible to make two different .tpl files, one for admin and other for users.
Also I am unable to create new accounts. Please help..!!!! ??? :-\ ???
« Last Edit: May 29, 2014, 10:23:58 AM by Pavitra »

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 788
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: Make different .tpl for admin and other users
« Reply #1 on: May 30, 2014, 03:05:33 AM »
haven't tried, it depends on how you have your hfs website setup:
ie

(both can be real folder to the same path)
if your admins go to a path for
xxx.xxx.xxx.xxx\admins

and a link for your regular users:
xxx.xxx.xxx.xxx\users

----------------where to go:----
than yes you can have 2 different templates
hfs windows > right mouse click on folder to change template > properties > "Different Template" tab in popup window > you tpl code...

*note:
(if you tpl code has necessary files then you will need to add them to hfs and chage permission flags)
hfs windows > right mouse click on folderdata added to hfs > properties > "flags" tab
check mark these boxes: (hidden /browseable / don't log)
--------------------------------------

you can accomplish this by right mouse clicking on the admins folder and go to different template
(the html code or rarw template file code can go here) when that path is web opened than it opens/loads the different template code entered there...

you do the same thing to your users folder except use the other template

*Note:
Down side, you have to different paths for "your users" to go to...
------------

Other wise you will have to edit/cut and paste code in both templates and combine the tpl codes together...
Good luck :)
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 788
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: Make different .tpl for admin and other users
« Reply #2 on: May 30, 2014, 03:12:22 AM »
to manualy create accounts in hfs:

right click and go to properties on the "house icon" this is know as root or this symbol for your website( / )
*(see pictures)

click on manage accounts at the bottom right corner

in the new windows at the bottom left click add
new user will appear above that (name that user)
to the right you can set a password if you desire to...
« Last Edit: May 30, 2014, 03:22:16 AM by bmartino1 »
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline Pavitra

  • Occasional poster
  • *
  • Posts: 5
    • View Profile
Re: Make different .tpl for admin and other users
« Reply #3 on: May 30, 2014, 04:12:58 AM »
Thankyou so much for the response
I am able to make separate .tpl for both admin and user
But I am not being able to create more than one user
Can you please help!..

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 788
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: Make different .tpl for admin and other users
« Reply #4 on: May 30, 2014, 04:38:57 AM »
sorry for all the type o, i have a bad keyboard....

i'm new to "fhfs"

I've just installed it and i believe i have found your issue, if not a more experienced use suchas the creator (the person who compibned filezilla (the ftp server side) and Rejetto hfs) together would be a better candidate to answer this.

you will ahve to go to a specfi website:

Your home page with its default template
http://127.0.0.1

click on the button "creat account"
(this is where your usr will got to create an account to access the files)

which i belive will creat acocunts in hfs based on the previos post to manula creat hfs account.

int he event you hvae edited hfs default template i ahve attached a txt file of the default code:
(see attachment)

I'm affraid that is all i will be able to help you with. Sorry, good luck :)
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1