theme looks quite okay just setup.
admin menu has problem while making sub album giving mysql error
Zenphoto encountered an error
MySQL Query ( SELECT * FROM zp_albums WHERE parentid= ) failed. MySQL returned the error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Hello there,
I have customised my album.php to fit it to my needs - can anybody tell how I could possibly manually adjust the code for album.php so I don't get screwed up pagination (e.g. I set 8 pics per page in settings, I get 9 pics, I choose 10, I get 12) while remaining on the former version?
Thanks in advance
Froschfinger
Checking out zenPhoto1.3, I get the same problem. The photos can only be set in rows of three, either 3, 6, 9, 12 or even 15 pics. Everything inbetween is rounded up to the next number divisible by 3. Is there a way to change this, as I am experimenting with a 4-thumbs-per-row design?
Hey sbillard,
seems I have not been able to successfully track down the problem - as far as my reading goes, this is hardcoded into zenPhoto rather than the theme? I found the code in my template-functions.php, but I have no clue as of what to change so that I have my 4-columns problem solved... can you give me another quick hint like the one before :)?
Thanks in advance;)
Froschfinger
Sure: see the function documentation in http://www.zenphoto.org/documentation/functions/_template-functions.php.html
In the Theme options, the "Album Menu Type" dropdown shows 4 options:
DropDown
\n
Jump
\n
Surely this is a tiny, simple little typo somewhere. I'll probably dig around looking for it tomorrow, once I merge the theme changes with my own customizations.
Thanks for updating this, it's a wonderful theme and this will make it easier for others to use it without manually tweaking the files.
@froschfinger: First, this theme is not an official one so we don't know exactly what it does to display. Second, there are no "columns" in HTML (yet), so this is related to the functon normalizeColumns sbillard mentioned above. This explains why the "columns" seem not to match your setting. You should never change core files, this is a pure theme thing. This has also been widley covered on the forum.