rejetto forum

The "Takeback" template - A different & modern taste

NaitLee · 67 · 18157

Poll

Do you want a tool for creating templates easily?

Yes, I know nothing about coding, but I can do Windows Paint
2 (25%)
Yes, I can do HTML/CSS, but not javascript nor macro
2 (25%)
Yes, I can do Web basics, but not HFS macro
3 (37.5%)
No, I'm a full-code developer
1 (12.5%)

Total Members Voted: 8

0 Members and 1 Guest are viewing this topic.

Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 170
  • Computer brained boy
    • View Profile
    • A Normal Webpage
The results show that the "Takeback" template works well until RC4. This problem only occurs in versions RC4 and above. What's more, in RC7 (the latest version currently), this problem occurs even when I'm using the default template, and this time you will get a page of javascript from the server.

My test conclusion:

- The default template of RC7 is doing the wrong thing: post selection data to a javascript data section, so the server did nothing other than sending javascript.
  - Please wait for rejetto to fix this :)

- My template have a bug, the helper.getFilename() function returns an empty string for folder names (which ends with a slash /, not considered ::)), and after that sends an empty selection to server, then server think it should do nothing
  - This will be my another job ;)

Thank you for doing a lot of work testing 🎉
Check out my template and PHFS ;)


Offline 9M127

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
My test conclusion:

- The default template of RC7 is doing the wrong thing: post selection data to a javascript data section, so the server did nothing other than sending javascript.
  - Please wait for rejetto to fix this :)

- My template have a bug, the helper.getFilename() function returns an empty string for folder names (which ends with a slash /, not considered ::)), and after that sends an empty selection to server, then server think it should do nothing
  - This will be my another job ;)

Thank you for doing a lot of work testing 🎉

Hi! More problems was found in HFS 2.4 recently. Since HFS 2.4 RC2, There's a problem that the function "Archive" rarely works as expected.
No matter what template I was using, after clicking "Archive", I will usually get either a broken compressed file, or a weird compressed file.
For example, yesterday when I was trying to archive a folder with two "*.xlsx" files (created by Microsoft Excel), the server did gave me a "*.tar" file.
But after I extracting it, I got some strange files and folders, as if I was trying to unzipping a "*.docx" file or a "*.xlsx" file!

So I rolled back to HFS 2.3m, and now everything looks fine again.
Except, when you click "Archive", you will get a "*.tar" file containing only files shown in the list, but not folders.


Offline 9M127

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
Hi! More problems was found in HFS 2.4 recently. Since HFS 2.4 RC2, There's a problem that the function "Archive" rarely works as expected.
No matter what template I was using, after clicking "Archive", I will usually get either a broken compressed file, or a weird compressed file.
For example, yesterday when I was trying to archive a folder with two "*.xlsx" files (created by Microsoft Excel), the server did gave me a "*.tar" file.
But after I extracting it, I got some strange files and folders, as if I was trying to unzipping a "*.docx" file or a "*.xlsx" file!

So I rolled back to HFS 2.3m, and now everything looks fine again.
Except, when you click "Archive", you will get a "*.tar" file containing only files shown in the list, but not folders.
By the way, I'm hoping for a progress bar in the upload page of your template!
Looking forward to the next version of HFS.
Love you guys! :-*


Offline Scotspaul

  • Occasional poster
  • *
    • Posts: 7
    • View Profile
I have a small problem with this
I share albums and if i try to download a single track from an album it then downloads the whole album
Love the layout though
Any help would be appreciated
Thank You


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 170
  • Computer brained boy
    • View Profile
    • A Normal Webpage
I have a small problem with this
I share albums and if i try to download a single track from an album it then downloads the whole album
Love the layout though
Any help would be appreciated
Thank You

Glad to hear feedback :)

Please give more info of that problem, such as:
- What action did you do for downloading? Maybe it's the cyan "Download", the "Archive" at page bottom, or the brown "Archive" after several selection...
- What is the form of an album and tracks? Are they appear as files inside a folder, or just one file, or a .m3u(8) file?
- ...

Good luck :D

Except, when you click "Archive", you will get a "*.tar" file containing only files shown in the list, but not folders.

It's about the "?recursive" parameter in the url ("urlvar"). When it is there, the sub-folders will be included, and will not otherwise.

In the case of Takeback (and also Throwback), this parameter is not included in the "Archive" at page bottom.
Rather, in Takeback, it's included in "Archive" action when doing multiple selection of files/folders. So, if you select all items and do "Archive" in the preview pad, the archive will be full :)

Yes, it's not easy to discover. May choose an alternative method in future.
Check out my template and PHFS ;)



Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 170
  • Computer brained boy
    • View Profile
    • A Normal Webpage
I sent you a PM with more details :)

Now it's obvious... :D So I should explain the two "Archive"s again

"Archive" is not "Download". While they both give users files, archive means to bundle all/selected files together, while download usually means only one file.

Also, have a look again at my previous message, especially the explanation after the 2nd quote.
Now you know there's 2 different "Archive"s, and the second one is which you need. It appears after selecting items, on the preview panel, as underlined brown text.

So you shall modify the note for users, say that they need to "download" selections with "Archive" on the preview panel ;)
... Or for a better approach, put this in HTML/CSS:
Code: [Select]
<style>
#preview > div:nth-child(3) > a:nth-child(5) > span:nth-child(1) { color: cyan; }
.part2 > p:nth-child(1) { display: none; }
</style>
These CSS highlights the correct "Archive" and removes the incorrect one.
( be sure to modify anything to fit exact needs )
Check out my template and PHFS ;)