Member
Member
Vir-Cotto   2012-09-19, 12:23
#1

I am using Version 1.4.3.1 with the default theme. The gettext is not working/showing on the album.php output page. I have an album with 9 pages, but there isn't any "previous" or "next" hyperlink to read, not even the "»" sign. I can hover the cursor over the place where it should be, there is a hyperlink, I can see the in the html output, but it is just empty. The pagenumbers are visible though.

gettext works fine on image.php but here, it doesn't:

`

Administrator
Administrator
acrylian   2012-09-19, 12:26
#2

Is it the plain default theme without any modifications? Does it work in the Zenpage theme or other included ones? Any error in the server error log?

Member
Member
Vir-Cotto   2012-09-19, 15:06
#3

Yes. No and No. But as I disabled, the ".disabled_nav" in the CSS, I saw that index.php would show the previous & next hyperlinks although not needed with only 1 page. So I checked the code and it was different from the one in album.php It works with

``

But seriously, I don't know why this "Â" is needed. Doesn't seem like a pointer, trigger or anything to me. But now it works.

Administrator
Administrator
acrylian   2012-09-19, 15:29
#4

The "Â" clearly doesn't belong there and is probably the result of re-saving the file with a wrong encoding with an editor. It should bet UTF-8 no BOM.

Regarding the prev/next not needed, some theme layouts may want to show a disabled link/button for layout reasons this so you can. if you don't want you can hide it via CSS.

Member
Member
Vir-Cotto   2012-09-19, 16:08
#5

Hmm. Ok, thanks could be it. But I edited the .php files directly on the server with WinSCP. The disabling wasn't the issue, I get the visibilty:hidden option, but the pagelist wasn't showing the gettext only pagenumbers.

Â. Maybe via uploading, wrongful copy&paste or MySQL DB settings. But i don't have any other problems/issues with the German language. I only viewed the German language files once,also via WinSCP. Wondered how they weren't .ini files. I will leave it for now the way it is. Aynway thanks for info.

Administrator
Administrator
acrylian   2012-09-19, 16:36
#6

Sorry I have no idea and never heard of WinSCP (well, I am on Mac). YOu should in any case use a plain texteditor (but you know that probably).

Quote:I only viewed the German language files once,also via WinSCP. Wondered how they weren't .ini files.
Of course they are no .ini files as we use gettext for translation of static texts.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.