1
HTML & templates / Re: The "Takeback" template - A different & modern taste
« on: September 17, 2022, 09:17:43 AM »
Hello, i use this template from a lot of time and... very good job!
Now i'm trying to use a different homepage, because ive also an emby server running and i want to redirect from my homepage to emby or hfs.
Now ive managed to do it with quickPHP, but it wastes resource (few) and doesnt permit me to have good redirectings (all is fine from outside the network, but not in local).
Anyway, i've tried to change the name of the home page (the one blank), but some redirects dont work obviously. I've tried to understand where to change hrefs but i'ts a pain, im not very expert with HTML and scripts.
Is there a way to change the homepage label from [] to something like [hfs] ?
Thank you all in advance for any tips
EDIT:
I've tried by replacing all "href="*/" with "href="*/tildehfshome" (where tilde is the symbol and * is to say "both . and .. and nothing" but this will break some template functions (for example when im logged i cant see my files but only a string which says "%files%".
Any help? Thanks!
EDIT2: i've found that %files% only shows in the main section
Now i'm trying to use a different homepage, because ive also an emby server running and i want to redirect from my homepage to emby or hfs.
Now ive managed to do it with quickPHP, but it wastes resource (few) and doesnt permit me to have good redirectings (all is fine from outside the network, but not in local).
Anyway, i've tried to change the name of the home page (the one blank), but some redirects dont work obviously. I've tried to understand where to change hrefs but i'ts a pain, im not very expert with HTML and scripts.
Is there a way to change the homepage label from [] to something like [hfs] ?
Thank you all in advance for any tips
EDIT:
I've tried by replacing all "href="*/" with "href="*/tildehfshome" (where tilde is the symbol and * is to say "both . and .. and nothing" but this will break some template functions (for example when im logged i cant see my files but only a string which says "%files%".
Any help? Thanks!
EDIT2: i've found that %files% only shows in the main section