ZenphotoCMS Forum
Feature request: Introduction on password page - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Translating (https://forum.zenphoto.org/forum-8.html)
+--- Thread: Feature request: Introduction on password page (/thread-12993.html)



Feature request: Introduction on password page - Eddie - 28-12-2017

It would be nice if you could have an introduction text on the password page that works with the multiple languages. Maybe nice for a future feature?
Love the CMS as it is already, but just thought of this, in any case happy newyear :)




Feature request: Introduction on password page - acrylian - 28-12-2017

There is actually a default message on password protected items that is also gettexted and therefore should be translated. Of course only if your server has gettext support and a translation for that language exists. Or am I missunderstanding anything?

Otherwise you also can also call content from a Zenpage on the static password.php page and provide a custom text and manual translation.




Feature request: Introduction on password page - Eddie - 28-12-2017

"Otherwise you also can also call content from a Zenpage on the static password.php page and provide a custom text and manual translation." How do I call this? Do you have a code that I can copy into password.php? That would be awesome!




Feature request: Introduction on password page - acrylian - 28-12-2017

Same way as discussed on your older topic actually ;-)
http://forum.zenphoto.org/discussion/1409898/include-page-excerps-in-the-album-page#latest
It's always the same principles ;-)




Feature request: Introduction on password page - Eddie - 28-12-2017

You are so right!! :smile:
somehow does not pull up anything. Am I doing something wrong?




Feature request: Introduction on password page - acrylian - 28-12-2017

You need to use the titlelink of the page you want to call the content of. Without the . is a general way of writhing that you should put some fiting string in there as just writing "something" otherwise might mean the value should be "something" itself.

`if the page's titlelink istest`.




Feature request: Introduction on password page - Eddie - 28-12-2017

:smiley: It was that simple!! Thanks!!!!!