Pages (2): 1 2   
Member
Member
Ralf   14-01-2024, 13:28
#1

Hi,
probably i am blind, but where can i find the correct usage of

in zenphoto 1.6. ?

The above code does not work anymore in 1.6.
Neither when adding it to the codeblock of one article nor when adding it to news.php.

Would be great if someone can help.

Ralf

Administrator
Administrator
acrylian   14-01-2024, 18:21
#2

Actually nothing changed, the above code should work although the last "news" is actually wrong as that is a boolean parameter:
https://docs.zenphoto.org/1.6.1/namespaces/default.html#function_printRelatedItems

Administrator
Administrator
acrylian   14-01-2024, 18:26
#3

Did you clear the search cache?

Member
Member
Ralf   14-01-2024, 19:03
#4

Hi ,
yepp. did this multiple times.

It does not matter if i change the last 'news' to 'false'

Any other ideas?

Administrator
Administrator
fretzl   15-01-2024, 10:29
#5

Something was indeed wrong. This is now fixed. Please try the Support build.

Administrator
Administrator
acrylian   15-01-2024, 10:30
#6

We can sadly confirm meanwhile that this is unwantedly broken. Somehow that slipped through although I was sure I tested it…

Member
Member
Ralf   15-01-2024, 18:16
#7

No problem at all :-)
Will use the support build as soon as i have time to finish my site.

Member
Member
Ralf   20-01-2024, 11:29
#8

Hi,
could you tell me which file from the support build I need to use?
When using the support built as a fresh install, the completed Backend is in english first and all plugins have english messages like the contact form
(send copy instead of Kopie senden etc).

Changing the language in the settings does not change the text. It stays english.

Administrator
Administrator
acrylian   20-01-2024, 11:38
#9

Normally you should not use just files from a support build but the support build in total because of dependencies in numerous files. Regarding related items and the early stage of 1.6.2a you can just use the plugin files


Regarding the language. Please use a separate topic. "1.6" is pretty generic - it's even about 1.6.1 ;-) - and this is a general topic.

Please see: https://www.zenphoto.org/news/problems-with-languages/

Also this may still apply: https://www.zenphoto.org/news/translations-gettext-not-working-on-some-servers/

If using MAMP 6.8 locally gettext does not work using PHP 8.2 for unknown reasons on the MAMP vendor knows. It otherwise works including our own server.

Member
Member
Ralf   20-01-2024, 12:09
#10

Thanks for your answer - what makes me wondering:
The language works without problems with the official build.
When setting the username/password after the install I see different language flags at the bottom (german, netherland, english).
With the support built it is only the english/american flag.

Anyway: I only need the related items plugin :-)

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.