Gallery version: 1.5.9-svn-b18
Apache version: Apache/1.3.34
PHP version: PHP v5.2.0-8+etch11
Graphics Toolkit: Netpbm binaries
Operating system: Debian 2.6.18-6-686 SMP i686 GNU/Linux
Web browser/version: Opera 9.51
When I moved the album to 'Move to top level' -->
Quote:
Invalid destination chosen.
Why?
Oh btw, names of albums look-like this:
-- -- T ...
-- -- L ...
-- -- N ...
-- -- G ...
-- -- F ...
Posts: 6818
Hi,
you found a(nother) bug.
Fixed in b19. Thanks!!
The name truncation is on purpose. Album names in the selectbox are trimmed after 20 chars (not 1 as you write ;-)
You can change this in lib/content.php
Search for 'truncateText' and change the value of 20 to ...
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 22
Thanks, now works!
But:
1. Album names in the selectbox (see Attachment)
2. Where is 'Move album' and 'Reorder' on Top Level Page now?
3. Top Menu: [most viewed] [latest added] [latest shots] [latest comments] [random images] -->
Posts: 6818
Hi,
1. Fixed in b20
2. Fixed in b20
3. Fixed in b20
About Albunames: Please go to http://jems.de/gallery-legacy login with Piploff/gallery123
Please try to reproduce it there.
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 22
Hi Jens,
Where is b20? I didn't found is here:
http://jems.de/archive/1.5.9/
[latest shots] -->
Posts: 22
Album names in the selectbox are trimmed after 20 chars in English names, and trimmed after 3 chars in Russian names. Why?
Posts: 6818
Hello,
so far you did not create such albums in my testgallery ...
Please do so.
My russian language knowledge is ... 0 ;-)
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 22
Done
Posts: 6818
Hi,
seems its a charset issue.
Because when i hover the album highlight i see "Те&1089" and so on.
Every letter is represented by its HTML entity.
This is how they are saved album.dat file.
Maybe this is because the charset of Gallery was iso8859-1 when you changed the album name and the letters you enter does not exists in that charset thus they are saved as HTML entities.
Can you switch to russian ru_RU.koi8r on my server and create another album with russian letters?
The perfect solution were to switch completely to utf-8 ... like g2 did.
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 22
Done
Posts: 6818
Thanks!
As you can see, this fixes it.
The Тестовый альбом в ru_RU.koi8r albums are truncated correct.
Because the titles were entered when Gallery was set to use ru_RU.koi8r, so they are saved in that charset.
So i would say that this is not a bug in Gallery, its an unnice result of incompatible charsets.
Can you confirm this?
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 22
Well, i'm using gallery in English(US) interface only (langswitcher off), but i called the album name in Russian lang (cp1251), it's perfect works all an exception album names in the selectbox are trimmed 3-4 RU letters.
RU interface is poor translation (about 50%).
Posts: 6818
Hi,
so in your case, the russian letters are displayed correct, but are saved as HTML entities.
I can not fix the "wrong" truncation.
What you could do it to hack it ;-)
I already found a way for this.
If you need this feature, i can explain it.
You can also update the russian translation ;-)
Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6
Posts: 20
i have the same prob with gallery 1.6 RC2 - can´t move an album to top location
downgraded to RC1 - same prob
upgraded to RC3 b9 - same prob
don´t want downgrade to 1.5x...
but i think it worked in a 1.6 version...
Posts: 6818
Hi,
just to be sure ... can you explain your problem again and give exact infos about your Gallery environment?
Also an URL would help.
Jens
--
Gallery Developer
Posts: 20
hi,
'Gallery' Version: 1.6-RC3-svn-b9 Language: German
PHP Version 5.2.0-8+etch11
System Linux www 2.6.18-6-686-bigmem #1 SMP Mon Oct 13 17:32:29 UTC 2008 i686
the url: www.untergrundverwaltung.de
if i want to move an album from eg "vorschau" to the top level, i get the error: "Invalid destination chosen."
Posts: 20
problem solved:
downgraded to 1.5.x
run the album update,
deleted version 1.5.x
installed again 1.6 RC 2
update albums
voila, now it works...
Posts: 6818
err, okay ;-)
Glad you got it working.
Jens
--
Gallery Developer