Member
Member
NaturalEnquirer   04-08-2011, 00:26
#1

I am using zpMasonry theme and see that colorbox is available even when Colorbox plugin is not enabled. Do I need to activate that plugin if I want to use it elsewhere such as in a Zenpage? Will activating the colorbox mess up zpMasonry theme?

Also, could someone please give me the correct link to use when calling for images to use with colorbox from inside a Zenpage? I know to include the "rel=slideshow" in the href but wasn't sure what link to use to view images in an album (since `

Member
Member
gjr   04-08-2011, 00:45
#2

[quote]Do I need to activate that plugin if I want to use it elsewhere such as in a Zenpage? Will activating the colorbox mess up zpMasonry theme?
[/quote]
No to both.

[quote]Also, could someone please give me the correct link to use when calling for images to use with colorbox from inside a Zenpage?
[/quote]

Member
Member
NaturalEnquirer   04-08-2011, 17:09
#3

Thanks so now I can include a colorbox for a single image. Is there an easy way to include a colorbox slideshow for a folder of images in zenpage without too much programming?

Administrator
Administrator
acrylian   04-08-2011, 18:12
#4

The standard slideshow plugin as a colorbox slideshow option.

Member
Member
NaturalEnquirer   05-08-2011, 20:32
#5

I've enabled sldieshow plugin.

I added printSlideShowJS() to the inc-header.php (zpMasonry theme)

In slideshow plugin options, I've selected jQuery Cycle mode.

In zenpage's codeblock I have
`

`
When page is viewed, slideshow does show but see this error:

Notice: Bad gallery in instantiation of album portfolio. in C:\mysites\nif1411\galleries\zp-core\class-album.php on line 48

This also happens in zenpage theme.

Member
Member
sbillard   05-08-2011, 20:58
#6

Your debug_log.txt file should have more detail on this. But most likely you will need to declare $_zp_gallery global.

Member
Member
NaturalEnquirer   06-08-2011, 10:26
#7

Debug log shows

Backtrace: Bad gallery in instantiation of album portfolio. Album->Album called from eval (template-functions.php(4692) : eval()'d code [2]) from printCodeblock (template-functions.php [4692]) from include (pages.php [29]) from index.php [155]

Administrator
Administrator
acrylian   06-08-2011, 12:02
#8

As sbillard suspected you need to declare the gallery object. Since the call is from within a function (the codeblock one) it is not set.

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