Hello/Hi/Greetings,
I am ver happy to use piwigo to exhibit my photos on bootstrap-dark theme. It has many options that It should have. My issue is that link of "undefined | Previous" is displayed after you scroll a great mass of photos as in the picture I attached.
The link "Previous" works properly but "Undefined" produces "ERROR 404 - PAGE NOT FOUND". Indeed, It is weird to display a link "undefined" here. Even I couldn't find the word to translate in my language, Turkish through the language files. When I copy the addres of the link "undefined" and paste it reveals "http://medyastok.com/undefined" but "Previous" link reveals "javascript:RVTS.loadUp()" I think there is a bug here. Instead of "undefined" there should have been "Next" options, as far as I'm concerned.
I need your interest.
Best regards.
Piwigo version: 2.9.3
PHP version: 5.6.36
MySQL version: 5.6.32-78.1
Piwigo URL: http://www.medyastok.com
Theme : Bootstrap Darkroom
Last edited by Fazli (2018-06-27 10:35:37)
Offline
Hi again,
I couldn' get any answer, yet. Today I displayed the page in the theme "Modus". it worked properly. Instead of "undefined | Previous", "First | Previous" links are displayed in the theme, Modus. And they worked properly. So, then I set the "Bootstrap Darkroom" as default and I tried to search the issue by clicking right on the item "undefined" and then viewed page source for the item. There the attributes circled in a red displays an invalid address. When I chosed the line and replaced with "
<a href="javascript:RVTS.loadUp()">First</a>"( derived from the theme "modus"), the problem was solved on the screen. The link "undefined" became "First" and worked properly. But when I refreshed the page by F5 key it displayed the same problem of "undefined".
So my question is which files I should search the line
"<a href="undefined">undefined</a>"
I couldn't find it via by Notepad++. I want to edit it replacing "
<a href="index.php?/category/11">First</a>
I need your urgent help, please
Last edited by Fazli (2018-07-03 14:23:42)
Offline
thx for your work
is that happening for all bootstrap themes?
according to the answer you should better report on
https://github.com/tkuther/piwigo-bootstrap-darkroom
or
https://github.com/Philio/bootstrapdefault
for a proper fix then quick release for all users
Offline
Yes, I tried it for the theme bootstrap default, it displayed the same problem. I don't know which files should be redited. I sent an email to the author, Thomas Kuther. I am looking forward to getting a solution.
Offline
The error originates from RV Thumbnail Scroller plugin. Seems there's some incompatibility with the theme there.
Unfortunately I cannot reproduce it on any of my galleries, because none of my albums has enough images to trigger that "show remaining xx images" link. Too good culling, I guess.#
EDIT: that's the issue: [Github] piwigo-tscroller file rv_tscroller.js@L7
.navigationBar doesn't exist in darkroom
Last edited by teekay (2018-07-09 13:01:56)
Offline
Thanks Teekay,
I checked the code, but I couldn't find what I should do. Maybe one of reviewers of the topic could help me one day. I am not good at codes.
Offline