ZenphotoCMS Forum
Stopdesign disable random function - 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: Stopdesign disable random function (/thread-3177.html)



Stopdesign disable random function - hallo - 2008-06-27

Hello

I've installed it with no problems. I Added a few themes and decided to take the Stopdesign-theme.

But now i saw, that there is a random function. And i don't like it. I want to fix the Album cover function, with no random.

So anyone know how to do it?

Thanks a lot!




Stopdesign disable random function - acrylian - 2008-06-27

There is a admin theme option to choose between "random" or "most recent" images. If you don't want to use one of them you need to remove the code parts from the theme's index.php file. Remove everything between `




Stopdesign disable random function - hallo - 2008-06-27

Thanks, i tried it. I removed the code between `




Stopdesign disable random function - acrylian - 2008-06-27

Ah, ok, sorry, I just didn't get what you meant with album covers. That is not theme specific. You can set a specific album thumbnail on the edit page for each album.




Stopdesign disable random function - hallo - 2008-06-27

Oh, great, thanks a lot!!




Stopdesign disable random function - hallo - 2008-06-30

I'm translating this theme in German...

But there is a problem... In this theme, when I open a image, on the left side there is written "Date: 27. Juni 2008". And now I want to transalte "Date: " in German... I looked to the code:

``

So, does anyone know how i can change this php function? I want that there will be written "Datum: " instead of date... i can't find it.. thanks...




Stopdesign disable random function - acrylian - 2008-06-30

Why? Which zenphoto version do you use? A German translation is already included in zenphoto 1.1.6 and later (meaning nightly/svn version) for all four standard themes. Additionally German is the developer maintained language. Of course you need native gettext support on your server to benefit on this.

But thanks you just found a string that isin zp-core/template-functions.php that is not supposed to be there anymore.

You can override that with the functions parameter. Please look at our functions guide for details.




Stopdesign disable random function - hallo - 2008-06-30

because the buttons are in english...

and I changed the language, but nothing happened




Stopdesign disable random function - acrylian - 2008-06-30

As I said above you need native gettext on your server. Ask your ISP if they have that and if not if they can install or activate that.

Of course images cannot be translated.




Stopdesign disable random function - hallo - 2008-07-01

New Problem:

Does anyone know how to fix this display bug with Internet Explorer?! :S

http://fetteli.ch/test/upload/up/fehler.JPG

THX!




Stopdesign disable random function - acrylian - 2008-07-01

Use a "real" browser. (Sorry, couldn't resist..:-)) btw, the link does not work.




Stopdesign disable random function - hallo - 2008-07-01

I use FF3, but because there are a lot of people who use IE (unfortunately), i have to adapt my page...

Neyt question: Is there a known bug with the statistic and rating system? It doesn't work on my page, I enabled the plugins (stopdesign), but it doesn't work...




Stopdesign disable random function - acrylian - 2008-07-01

I know that about the IE dilemma, I was kidding...

Yes, there is a bug in the rating, which is fixed in the nightly. I suggest waiting for 1.1.7 which is about to be released soon.