[Translation error: Array ( [one] => (%d item total) [many] => (%d items total) [count] => [arg1] => ) ] after installing Ebony
Dirkii
Joined: 2008-01-16
Posts: 214 |
![]() |
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. -----------
---------------------------------- |
|
squibly
Joined: 2008-05-11
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 Quote:
valiant : Posted: Thu, 2008-03-27 23:44 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. |
|
Dirkii
Joined: 2008-01-16
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 Quote:
{if !empty($showSize)} with Quote:
{if !empty($showSize) && $item.canContainChildren && $item.childCount > 0} 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. ---------------------------------- |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Just tying to understand.... Dave |
|
Dirkii
Joined: 2008-01-16
Posts: 214 |
![]() |
Hallo Dave. Quote:
Did the Ebony theme come with a ItemInfo.tpl file? Let me see...ah, yes, I have found one here: Ebony_English\modules\core\templates\blocks\local\ItemInfo.tpl Quote:
How did the file change if you did not change it? 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. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
In G2.3 themes can change core and other modules template files. Dave _____________________________________________ |
|