Pages (3): 1 2 3   
Member
Member
gjr   05-07-2010, 17:57
#1

Hey all -
I have updated the zpFocus theme for Zenphoto 1.3 [5606]. Let me know here if you have any issues. :)

View ReadMe File
Demo
Download zpFocus v1.3 (for ZenPhoto v1.3 [5606] )

Member
Member
atomicmak   16-07-2010, 05:13
#2

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

Member
Member
gjr   16-07-2010, 13:15
#3

Thanks for the bug report - this has been fixed along with another report in which image pagination is screwed because of the call to isImagePage. This has been replaced in album.php. Seems to have fixed the issue.

Member
Member
froschfinger   17-07-2010, 22:21
#4

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

Member
Member
froschfinger   17-07-2010, 22:55
#5

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?

Member
Member
Member
froschfinger   18-07-2010, 20:52
#7

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

Member
Member
sbillard   19-07-2010, 01:46
#8

Sure: see the function documentation in http://www.zenphoto.org/documentation/functions/_template-functions.php.html

Member
Member
Blue Dragonfly   19-07-2010, 04:31
#9

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.

Administrator
Administrator
acrylian   19-07-2010, 08:15
#10

@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.

Member
Member
froschfinger   19-07-2010, 08:21
#11

Hey acrylian,

thanks for getting back to me. I know it's not an official one, but sbillard pointed me to the function documentation. I thought it would then be related to this.

I know there is no column support in either HTML or CSS, but I still know how to achieve it, only the number of images is screwed up :). I had already been looking into the function documentation, but it didn't give me any hint on how to fix my problem - I wouldn't know what to change in there.

Thanks for your help, since you're poiting to the forums, I'll stick to that and try to find what I need once more....

Administrator
Administrator
acrylian   19-07-2010, 08:25
#12

The link my collegue posted leade to the function "normalizeColumns" whose documentation explains in detail why that happens. In short it is used to equalize columns if using albums with images and subalbums so it looks "clean". So the fix is to remove that function from the theme and not to use albums with images and subalbums.

Member
Member
froschfinger   19-07-2010, 08:53
#13

Hi acrylian,

for some reason I had searched for that function among my customized theme, but I didn't find it in the first place. Seems I need a dozen of hints from pros like you to finally stumble over it! I finally found it in the header.php of the used theme and got it working now (changing the '3' to '4') - thanks for your kind and truly patient support on this one!!!

Member
Member
atomicmak   22-07-2010, 05:07
#14

Dear gjr,
Thanks a lot for such a wonderful theme. i have started feeding up my site.
btw i just have a little query rather a suggestion for one addition.

can we have a small square images on sidebar saying Latest Uploaded Images.
May be 3 Row 2 Column showing 6 images or 9 ?

how can we do that if you can guide me writing it on sidebar.

Member
Member
astralpilgrim   25-07-2010, 20:39
#15

Hey glr, thanks for a great theme, I am currently using it on my site at http://www.danielyates.info

Is there any way in which I can make the whole thing centre align rather than stick to the left? I am not a coding kinda guy so am rather clueless - I am not sure if this is theme based, zenphoto based or something else. Any advice greatly appreciated!

Daniel

Member
Member
reneesanguinetti   27-07-2010, 16:43
#16

Hello,

I have just set up ZenPhoto 1.3 and am using ZPFocus 1.3. All seems to work as planned except the links to subscribe to the RSS. (rss.php and rss-news.php). When logged in to the admin the links work, but when logged out I get the following error messages:

XML Parsing Error: junk after document element
Location: http://www.vintage-electronics-ads.com/rss.php?lang=en_US
Line Number 2, Column 1:Warning: fopen(/home6/advertk3/public_html/vintageelectronicsads/cache_html/rss/rss_en_us.xml) [function.fopen]: failed to open stream: No such file or directory in /home6/advertk3/public_html/vintageelectronicsads/zp-core/functions-rss.php on line 337
^
and

XML Parsing Error: junk after document element
Location: http://www.vintage-electronics-ads.com/rss-news.php?lang=en_US
Line Number 2, Column 1:Warning: fopen(/home6/advertk3/public_html/vintageelectronicsads/cache_html/rss/rss-news_en_us.xml) [function.fopen]: failed to open stream: No such file or directory in /home6/advertk3/public_html/vintageelectronicsads/zp-core/functions-rss.php on line 337
^
Any suggestions? Thank-you!

Administrator
Administrator
acrylian   27-07-2010, 17:09
#17

Are the file/folder permissions set correctly? Check especially the cache_html folder in the root.

Member
Member
reneesanguinetti   27-07-2010, 17:20
#18

The cache_html folder is set to 0755. The rss.php and rss-news.php is set to 0644. The folders are in the root. Also the static_html_cache plugin is enabled in the admin.

Administrator
Administrator
acrylian   27-07-2010, 17:28
#19

Please try to disable the rss cache on Options > RSS and see if that works.( Caching is disabled for loggedin admins automatically). If then maybe the 0755 on the cache_html folder does not work on your server.

Member
Member
reneesanguinetti   27-07-2010, 20:10
#20

Thank-you acrylian. Disabling the rss cache on Options>RSS solved the problem!

Pages (3): 1 2 3   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.