problem with arrangement

Phoca Gallery - image gallery extension
xylar
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 05 Nov 2010, 17:30

problem with arrangement

Post by xylar »

i have subcategories with same name but are differentiated by numbers e.g, phoca gallery 1, phoca gallery 2 etc but the problem is that phoca doesnt arrangement subcategories like that but arranges it like this phoca gallery 1, phoca gallery 10, phoca gallery 11 (it jumps from number 1 to 10,11,12,13,14,15,16,17,18,19,20 and then 2). it problem also occurs in the java upload it arragnges my files in that same numerical order as above. thanks reading this i'll be expecting answers
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with arrangement

Post by Jan »

Hi, the ordering depends on php or mysql, so you need to add the following sings:

01
02
03
04
05
06
07
08
09
10
11... with zero before the numbers, if there are more than hundred images e.g.:

001
010
100


Jan
If you find Phoca extensions useful, please support the project
xylar
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 05 Nov 2010, 17:30

Re: problem with arrangement

Post by xylar »

woah thanks that worked (easy but hard at the same time, i didnt even think about that :x ). by the way is there a way to make phoca faster for about 200,00 pictures, it takes time to load the image section of phoca gallery (admin backend) :(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem with arrangement

Post by Jan »

Hi, see the info page in Phoca Gallery and set all the settings to recommended.

You can see description of different parameters here:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item

Jan
If you find Phoca extensions useful, please support the project
Post Reply