rejetto forum

HFS doesn't load dirs with lots of files

Guest · 12 · 3522

0 Members and 1 Guest are viewing this topic.

Funboss

  • Guest
Hello,

Problem
I've got some directories containing lots of files. When dirs contain lots (read: too many) files, HFS doesn't load the page.

I couldn't find neither this problem nor a solution, so I wrote this message. Is there a solution? I thought about a script which seperates the dir into pages with a defined number of files per page.

Now I just split my dirs into pieces, but that's no solution to me.


Offline bacter

  • Operator
  • Tireless poster
  • *****
    • Posts: 681
    • View Profile
HFS creates the pages with (too) many files - the problem are the browsers that can't display so large pages.

The solution to split very huge directories in different pages can be done with macros - and is already done so in some templates. See for example:

http://www.rejetto.com/forum/index.php?topic=5045.0

http://www.rejetto.com/forum/index.php?topic=5353.90

your computer has no brain - use your own !


Funboss

  • Guest
Thanks for your answer.

Is it true that it doesn't work with the latest stable version available (2.2F) yet? That would mean I should use an beta version in order to accomplish working with several pages? The file 'new from mars.tpl' says that i've got to use version 2.3+

My French is not that good. I've attached an example. Just downloaden build #242 (2.3beta) and changed template (new from mars.tpl).

Greetings.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
try disabling
menu > virtual file system > use system icons


Funboss

  • Guest
Still the same output...

I do not understand what the system icons have to do with this problem. However, you are 'the man' when it comes to HFS.
I downloaded build #242 (latest beta) and I only changed the template (new from mars 29-12-2007 1h24.tpl) and I disabled the usage of system icons.

When I remove '[special:begin]' from the template, the output is different (see attachment). Doesn't look like 'just a wrong adjustment' to me?


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
   
I don't understand clearly your problem, so I don't see how to fix it.
What is certain is that if you removed the section [special:begin] without knowing what you do, it's normal that you have a corrupt display ... you destroyed the code.  :-\

The default template of the beta version, without modification, does not work?
You have perhaps given incorrect permissions for your files (?)

If it's Internet Explorer 8 that you used, try to click as shown in the image.

You never know, on a misunderstanding, it can run.  ::)
« Last Edit: August 13, 2009, 11:51:52 PM by SilentPliz »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
my suggestion was related to the first problem, not the one with mars' template.

the problem with this template is that it's old and needed an update.
i made it for you: http://www.rejetto.com/forum/index.php?action=dlattach;topic=5353.0;attach=4390
this won't improve your french knowledge anyway ;)

coming back to my suggestion,
listing files with system icons takes 5-10 times more than without.
you said "doesn't load", and i thought it may have been "it takes forever".
you should try.


Funboss

  • Guest
@ SilentPliz: You are right, I was just trying some things. I just don't want to ask everything to you guys! ;)

@ Rejetto: You made my day again. It clearly needed to be updated. It's not there yet, but I've got something to work with! (see attachment)

I need to apologize. I wasn't very clear about the problem. The page loaded, but it took so long that I think MAX EXEC TIME was exceeded, so I received an error page.

I certainly will use two (new) options: search and pages. I hope I can integrate my old template (HFS 2.2F) with this new one and use build #242 on my Linux server.

As you can see, with less than 7 pages, the script isn't perfect (yet). Would it be a solution to make it like this: Prev - Next - Page 2/5.

I want to thank you both for helping me out! I couldn't do it without you.


Funboss

  • Guest
I quite don't understand the usage of '{.next.}'. Something to do with the development of language files?
I tried to replace it with 'next' and the pages-script/search still worked. I searched the website but haven't figured it out yet.

Macro's are used many times, but '{.next.}' doesn't work? (see attachment from last post)

Greetings from the Netherlands.


Offline SilentPliz

  • Operator
  • Tireless poster
  • *****
    • Posts: 1298
  • ....... chut ! shh!
    • View Profile
{.!text.}

This is for translation into different languages.
   
Normally they should not be visible. :o

You can remove them without worry.  ;)

eg:

{.!text.}
{.!English.}

[special:strings]
text=texte
English=Anglais


-------------------------------------------------------------------------
http://www.rejetto.com/wiki/index.php/HFS:_Template_macros#Localization

http://www.rejetto.com/wiki/index.php/HFS_Documentation_%28English%29
« Last Edit: August 14, 2009, 03:49:25 PM by SilentPliz »


Funboss

  • Guest
Thank you for all help. I made progress integrating both templates.

Now only struggling with that page-script, which does not work yet. If I fail I'll let you know..  ;) :P


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
This is for translation into different languages.
Normally they should not be visible. :o

i had a closer look: it's a problem of the template.
mars enclosed those parts in {:quotings:}, thus prevenging macro/translation.