slideshow block
Permalink 1 user found helpful
any one have a patch to disable the link on the images displayed in the slide show?
-Frank
-Frank
when I copy the view.php to /blocks/templeates and make the change, when my photos change the move down the page ( by the height of each image ) untill it goes back to the first image then starts back at the top of the page in the correct place?
http://www.climatemakersac.com
-Frank
http://www.climatemakersac.com
-Frank
Did you fix this?
I'm experiencing the same problem- my slideshow (used as a background in the header) moves down the page. Really odd- started happening after the latest C5 upgrade.
I'm experiencing the same problem- my slideshow (used as a background in the header) moves down the page. Really odd- started happening after the latest C5 upgrade.
I found if I modified the /concrete/block/slideshow/view.php directly and not copy to the /block/slideshow/templates works fine.
The only way I found to kill the image link is to NOT use a Set of images - choose Custom and then the images you want in the slide show. In this case each image will then have timing and optional URL capabilities. It's probably much more useful in this way as you could link specific images to custom urls. I wish the difference wasn't hidden in the interface, but I finally figured it out.
I'm running into the same issue this morning.
When I use the block with a large image, everything's fine. When I use it with a small thumbnail-like image, I get the running down the page issue.
Perhaps it's a CSS positioning problem, not a javascript or PHP problem?
*UPDATE* No, it's not related to image size. I just applied a template (in the blocks folder) with a bottom margin added and it's working as it should.
Sherm Stevens
http://www.invision-studios.com
When I use the block with a large image, everything's fine. When I use it with a small thumbnail-like image, I get the running down the page issue.
Perhaps it's a CSS positioning problem, not a javascript or PHP problem?
*UPDATE* No, it's not related to image size. I just applied a template (in the blocks folder) with a bottom margin added and it's working as it should.
Sherm Stevens
http://www.invision-studios.com
This problem occurs because when the blocks/slideshow directory exists concrete5 looks for the view.css file (which is in concrete/blocks/slideshow) in that directory. The solution then is to just copy view.css to the blocks/slideshow.
Thanks this fixed my problem!!
Thanks!!!!
This fixed the curse of the falling slide shows which was part of the header on multiple pages of my clients website!!!!
This fixed the curse of the falling slide shows which was part of the header on multiple pages of my clients website!!!!
it might be obvious but clear your cache after you make this change and you should see it working.
So far, none of these suggestions has worked. I even changed the original view.php.
I commented this line out
and commented this out
to no avail.
I commented this line out
and commented this out
url:"<?php echo $imgInfo['url']?>",
to no avail.
I only commented out the line below (around row 68), cleared my site cache and my browser cache, and the link was gone.
Edit: Forgot to tell you I made my own template (copying view.php and view.css to blocks/slideshow/templates/nolink/) and made my changes there and then applied my custom "nolink" template.
//el.innerHTML='<a href="'+this.imgInfos[num].url+'" '+clickEvent+' >'+el.innerHTML+'</a>';
Edit: Forgot to tell you I made my own template (copying view.php and view.css to blocks/slideshow/templates/nolink/) and made my changes there and then applied my custom "nolink" template.
This worked great.
Just so it's all together in one post
1) locate these two files:
/concrete/block/slideshow/view.php
/concrete/block/slideshow/view.css
and make copies to
yoursite/blocks/slideshow/
and as adajad points out around line 68 find this:
and add your comment
save and upload.
and as tbcrowe points out you MUST have the view.css in the same directory as your view.php
if you would like to use this as a template and not overwrite the block everytime just create a new folder here
yoursite/blocks/slideshow/your-template-name
be sure to take the other two files out if you just followed the first menthod.
Very happy about this, has been bothering me for a year!
Just so it's all together in one post
1) locate these two files:
/concrete/block/slideshow/view.php
/concrete/block/slideshow/view.css
and make copies to
yoursite/blocks/slideshow/
and as adajad points out around line 68 find this:
el.innerHTML='<a href="'+this.imgInfos[num].url+'" '+clickEvent+' >'+el.innerHTML+'</a>';
and add your comment
//el.innerHTML='<a href="'+this.imgInfos[num].url+'" '+clickEvent+' >'+el.innerHTML+'</a>';
save and upload.
and as tbcrowe points out you MUST have the view.css in the same directory as your view.php
if you would like to use this as a template and not overwrite the block everytime just create a new folder here
yoursite/blocks/slideshow/your-template-name
be sure to take the other two files out if you just followed the first menthod.
Very happy about this, has been bothering me for a year!
What I've done is created a folder to share with the files required & the line commented out to over-ride the main function.
If anyone wants to use this please help yourselves, just drop the unzipped folder into your root blocks folder, Slideshow will then stop linking images.
Overrides Version 5.5.1
P.S. Don't forget to Clear your Cache
If anyone wants to use this please help yourselves, just drop the unzipped folder into your root blocks folder, Slideshow will then stop linking images.
Overrides Version 5.5.1
P.S. Don't forget to Clear your Cache
as