[Translation error: Array ( [one] => (%d item total) [many] => (%d items total) [count] => [arg1] => ) ] after installing Ebony
Dirkii
Joined: 2008-01-16
Posts: 214 |
Posted: Mon, 2008-06-09 19:47 |
Obviously this problem is not yet solved, as I admittedly could find some postings, but any solution. This message is shown under some, not all, thumbs: [Translation error: Array ( [one] => (%d item total) [many] => (%d items total) [count] => [arg1] => ) ] The error seems to have something to do in all likelihood with (or to be caused by) the theme "Ebony" - http://gallery.menalto.com/node/74978 - I just installed, I had have never before. After switching to another theme immediatly after the installation of "Ebony", e.g. "Matrix" the error message was displayed (not before, so not while "Ebony" was activated and any time while "Ebony" is activated) under some thumbs. Switching back to "Ebony" the error, respectivly the error message disappeared, switching to another theme the message was displayed, again. Nice greetings, Dirk. P.S. For verifying I have tried to reconstruct the error: I installed on another fresh Gallery installation the "Ebony" theme without its modules and all seems to work. After installing then the themes modules the error occurred immediately. -----------
---------------------------------- |
|
Posts: 2
I had the same problem having swapped from Ebony to Carbon - however have just found my answer from http://gallery.menalto.com/node/75956
Although I had not edited ItemInfo.tpl ever there is was located in modules/core/templates/blocks/local/. I changed the filename and the error was gone - so I deleted it.
Posts: 214
Many thanks, squibly,
Unbelivable: I had red this - http://gallery.menalto.com/node/75956 - posting you refer to, but as I had done any modifications on ItemInfo.tpl I hadn't mind it.
The file name of my ItemInfo.tpl was not changed; I found some lines different to the ones in another ItemInfo.tpl file and replaced these lines
with
and it seems to work, the displaying below the thumbs are as they were before.
So, I guess better not to use the theme "Ebony" anymore.
Thank you very much for your help, indeed, Dirk.
----------------------------------
www.galerie-der-fotos.de
Posts: 27300
Just tying to understand....
Did the Ebony theme come with a ItemInfo.tpl file?
How did the file change if you did not change it?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 214
Hallo Dave.
Let me see...ah, yes, I have found one here: Ebony_English\modules\core\templates\blocks\local\ItemInfo.tpl
Hmm, I have no idea, but as a anti-expert I assume "Ebony" will / must have done it / caused it somehow...or may be there is or must be another way...I mean not to have done anything on purpose to change this file, I hadn't even never noticed it...
Nice greetings, Dirk.
----------------------------------
www.galerie-der-fotos.de
Posts: 27300
In G2.3 themes can change core and other modules template files.
But they are added differently in the theme files and are not added as this theme has done.
starting in Gallery 2.3, themes are able to override module tpl files.: http://codex.gallery2.org/Gallery2:Editing_Templates
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team