Member
Member
sama55   2015-06-19, 13:12
#1

Thank you for your great product. I am a engineer to use this system for the first time. Now, I am testing it with zpMobile theme. I was confirmed one problem.

Issue summary:
When I click the first links to gallery pages in the breadcrumb, it becomes 404 error.

Occurrence condition:
2 or more pages of links to gallery pages (First page is OK). Pagination is moving correctly. But, breadcrumb is moving incorrectly.

My investigation:
getGalleryIndexURL() in zp-core/template-functions.php (around L534)

if (($page = $album->getGalleryPage()) > 1) {
  $link = rewrite_path('/' . _PAGE_ . '/' . $page, "/index.php?" . "page=" . $page); // 
Administrator
Administrator
acrylian   2015-06-19, 17:44
#2

There is actually no breadcrumb on zpMobile's gallery page. Are you referring to an album page and its pagination?

Update: I see what you mean but you indeed refer to an album page. We'll take a look.

Member
Member
sama55   2015-06-20, 02:24
#3

Thank you for your quick response. This phenomenon seems to occur at both of sub album and image pages. Since there are also the same code in other themes, I feel theme logic is correct. Core problem? Rewrite rule of apache?
Thanks.

Administrator
Administrator
acrylian   2015-06-20, 07:27
#4

It is a problem with the function itself and the gallery index being not the site index. We'll look at it.

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