ZenphotoCMS Forum
New Theme for 1.2.9 - zpGalleriffic - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: New Theme for 1.2.9 - zpGalleriffic (/thread-6618.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


New Theme for 1.2.9 - zpGalleriffic - JamWheel - 02-09-2010

I removed the reference from the news.php page and that seems to have sorted it out.




New Theme for 1.2.9 - zpGalleriffic - Photoashes - 04-09-2010

It would be amazing if a 1.3.X version of this theme could be released - its an incredible theme but 4 pages of issues is too daunting for me at the moment. Keep up the amazing work!




New Theme for 1.2.9 - zpGalleriffic - sergecouture - 27-09-2010

Hi,

I've been working with ZenPhoto and zpGalleriffic for a while testing it with my pic and I'm thrilled of the result!

However, the localisation doesn't seems to work however I may try to set it up (http accept language or forced to French), while this works fine with other themes (reacting correctly with my browser setup).

Anyone experienced this or may have a clue to where I should search?

Serge




New Theme for 1.2.9 - zpGalleriffic - acrylian - 27-09-2010

The Zenphoto translation uses php gettext (see the translation tutorial if you want to know more about how that works) and the Zenphoto translation includes only the standard themes. So you will have either to generate a new translation that includes this file or wait until 1.3.2 is out which will have a new (actually finaly reworked to work) feature for separate theme (and plugin) translations.




New Theme for 1.2.9 - zpGalleriffic - sergecouture - 27-09-2010

Here's what I found, though it might not be complete (no expert talk here!).

zpgalleriffic is using gettext (e.g. in album.php line 44 , title=").

This text is included in the fr_FR/LC_MESSAGES/zenphoto.po, line 100... (French translation is ok with version 1.3.1 according to trac).

As the localization files are the same for every themes, I conclude that it's the responsability of the theme to use gettext rather that hard code the text and also to use the correct arguments to this function... which looks like ok to me.

Can you point me what I didn't catch? (or anyone can try to setup their browser to use French fr_FR and test it to see if the problem is related to my site?)

Thanks for your time!

Serge




New Theme for 1.2.9 - zpGalleriffic - acrylian - 27-09-2010

getext is dependend mainly on lines where the strings are found. Sometimes it is clever and also translates strings in other lines if it has the same string. But sometimes it does not for reasons unknown. Also even small differences like a trailing or ending space make it another string.

The zpGallerific theme is a third party theme (that does a few things differently than the official ones) and is therefore not covered by the Zenphoto translation. As said parts may work still, others may not.

To fully localize a third party theme you need a separate translation for that theme. This feature is already there but is currently broken and will be part of Zenphoto 1.3.2. How that will work can be previewed on the translation tutorial and the current development versions.




New Theme for 1.2.9 - zpGalleriffic - Doctor Kru - 04-12-2010

hello,
There are several strings in slideshow on the album page (play-stop-next etc), which can not be translated using gettext function, because they are inside zpgalleriffic.js I build international gallery and want them to be also in different languages^(
Searching net gave several suggestions, howto "introduce" gettext in javascript, but they are all too complicated for me. Here is the links:

http://stackoverflow.com/questions/431672/how-to-translate-strings-in-js

http://stackoverflow.com/questions/2400106/translation-in-javascript-like-gettext-in-php

http://www.concrete5.org/community/forums/customizing_c5/howto-translate-javascript-strings/

Maybe somebody already done this work, please share!




New Theme for 1.2.9 - zpGalleriffic - sbillard - 04-12-2010

Since Zenphoto uses gettext() for its PHP strings, the most convenient means of making this change is to include a "globals" definition script. It would be a PHP script with in-line javascript which sets vars up to the appropriate gettext'ed strings. e.g.
messages.php:
`
var msg_xxx =
.
.
.

Then the javascript uses these messages in lieu of in-line text.




New Theme for 1.2.9 - zpGalleriffic - shvitfeldt - 05-12-2010

I hope this is the right place for my comment or it is actually a question. I am a newbie to both php and zenphoto and zpGallerific. I have translated most of the frontend to Danish by now, and everything is working fine by now except for one thing... I keep getting a Javascript Error and that bugs me a lot when everything else works fine...

Detaljer om fejl på websiden

Brugeragent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C)
Tidsstempling: Sun, 5 Dec 2010 21:50:35 UTC

Meddelelse: 'index' er null eller ikke et objekt
Translates to 'index' is null or not an object.
Linje: 505
Tegn: 5
Kode: 0
URI: http://www.hvitfeldt.eu/themes/zpgalleriffic/js/jquery.galleriffic.js

It only happens in albums with subalbums and not in albums with only images.

Link: http://www.hvitfeldt.eu/mennesker/ with error
Link: http://www.hvitfeldt.eu/landbrug/ without error.

I have serched, looked, checked and do not seem to be able to find the solution for that error anywhere :o(




New Theme for 1.2.9 - zpGalleriffic - Staedtler - 08-12-2010

I apologize if this isn't the place for it, but I've been searching and hacking at zpGalleriffic for a while and I'm kinda stumped, so I have some questions.

I've set up ZenPhoto 1.3.1.2 with zpGalleriffic on Apache 2 for Linux. The incomplete site is here: http://www.grassfire.ca .

  1. album.php and image.php are little redundant for me, and I'd like to put everything on album.php. I'm trying to move the description, comments, and ratings from image.php to the image preview on album.php (ideally to appear under the image, to the right of the thumbnails). I have a feeling this is something fundamental about ZenPhoto, so maybe someone just needs to tell me it isn't possible. Otherwise, any tips would be much appreciated.

  2. If that's not possible, my backup plan is to change the function of clicking on an image preview from album.php. Right now the action is to move to the next image in the album. How could I change that to instead go to the image details on image.php?

  3. zpGalleriffic automatically creates 267x100 thumbnails for each gallery. Am I right to assume the only way to customize those is to replace them with thumbnails I've created manually? And even if I do, will zpGalleriffic just clobber them with automated thumbnails again when I make another site update?

Thanks in advance for any help.