Zoom Image: Fatal error

Permalink
I get a fatal error message at the bottom of the pop up dialogue box saying:

Fatal error: Call from undefined method
FormHelper::select() in /blocks/zoom_image/form.php on line 23

Has anyone encountered teis before and have a solution?

Regards
Paul

craftyCS
 
bryanlewis replied on at Permalink Reply
bryanlewis
Just delete the script of code that it directs you to. I think the path is Concrete root-> blocks->zoom image->form.php ... its the last div in that file not too hard to find.

This is for descriptions for the images and from what the developer told me it will be fix sometime soon.
craftyCS replied on at Permalink Reply
craftyCS
thanks for the swift response! sorted!
Hey while your on have you tried implementing the lightbox block that was on the block forum?
bryanlewis replied on at Permalink Reply
bryanlewis
Send me a link... I wouldn't mind trying it out.
craftyCS replied on at Permalink Reply
craftyCS
It was in a long forum message regarding the image block the download is on the right hand side:
http://www.adrim.hu/kepek/

I have installed it however the JS file doesn't seem to be linked in properly when placed in my theme route as I get the block come up so that I can add the images just no lightbox style interaction once on the page.

good luck let me know how you get on

;-)
craftyCS replied on at Permalink Reply
craftyCS
http://www.concrete5.org/community/forums/block_requests/image_gallery
bryanlewis replied on at Permalink Reply
bryanlewis
Thats a cool block that works well. thanks for the links! Is it not working properly for you? If not whats the problem?
craftyCS replied on at Permalink Reply
craftyCS
http://www.villacasafontana.com/index.php/around_the_lake/

it simply will not reference the JS and CSS for the presentation and interaction for some reason...

WIll not see the lightbox JS or CSS file?
Mar 12, 2009 at 8:14 AM
Hi I've implemented the lightbox block and copied the code that references the css and js file into the /elements/header.php file, put the two files into my theme directory (/themes/villacasafontana) but it simply will not work? It looks like it isn't seeing the two files mentioned above I have installed the block and added the images, has anyone else had this problem?

http://www.villacasafontana.com/index.php/around_the_lake/...

the gallery is inside the sidepanel div

this is the header referance from my header file:

<?php defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>

<!-- Site Header Content //-->
<style type="text/css">@import "<?php echo $this->getStyleSheet('main.css')?>";</style>
<style type="text/css">@import "<?php echo $this->getStyleSheet('typography.css')?>";</style>
<style type="text/css" media="screen">@import "<?php echo $this->getThemePath()?>/jquery.lightbox-0.5.css";</style>
<script type="text/javascript" src="<?php echo $this->getThemePath()?>/jquery.lightbox-0.5.js"></script>

<?php Loader::element('header_required'); ?>

</head>
bryanlewis replied on at Permalink Reply
bryanlewis
Double check to make sure your java script isn't in a folder. Then maybe try it with out the css file and make sure its still working... we need to narrow down the problem.
bryanlewis replied on at Permalink Reply
bryanlewis
How did you do the slide show on this page?
http://www.villacasafontana.com/...
bryanlewis replied on at Permalink Reply
bryanlewis
I played with my ad on locally and in order to get what you did i have to take out the javascript... so your javascript files aren't in the right spot...
bryanlewis replied on at Permalink Reply
bryanlewis
1. how did you do the slide show on the front page?

and

2. How did you separate the pics for the photo gallery like you did? Right now they just go down one on top of the other before they display in the actual gallery.
craftyCS replied on at Permalink Reply 1 Attachment
craftyCS
1. The Slideshow on the home page is a bit of a hack as the client wanted it to do something more specific than the slideshow block that comes with C5. I had a search around and found the attached, which is actually a nice little PHP app... I then created an iFrame to contain a HTML page that had the 'PHPslideshow' embedded in it. Unfortunately I haven't worked out how to allow the client to update the slideshow through C5 yet so if you know a way would much appreciate it! ;-P

2. I basically messed around with the CSS so that I could fit a set number within my 350px width sidebar on the page, still not quite right but the rest is done with the lightbox app in other words if you put the lightbox in a full width page you will get more images alongside each other and they just wrap naturally.

Hope this helps...

P,S, The lightbox issue was related to the naming of the two files my server musn't like certain naming conventions so I just renamed the files lightboc.css and lightbox.js