Closed (fixed)
Project:
Views Slideshow: Dynamic Display Block
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
11 Dec 2009 at 19:26 UTC
Updated:
5 Mar 2010 at 01:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
ppblaauw commentedIn the views_slideshow_ddblock preprocess function I use a function in the module to add an image to make it more simple for users.
You can use the same code which you would use in the preprocess function of the ddblock module to add an image.
What is the code you would use with the ddblock module to add IMCE support?
Please attach the code, so I can help you better.
Comment #2
PMatwyuk commentedHey Phillip,
This is the code I found that would allow IMCE and DDBLOCK to talk. - http://drupal.org/node/460778
However the pre-process functions for the view are different then that of the regular ddblock module. Which is why I was wondering about having the $filepath added into the view pre-process functions.
If I use the code as is with the views pre-process functions then I get a N/A reurnted. Ive found its returning this because the pre-process function is looking for a FID number and not the path to the file.
Comment #3
PMatwyuk commentedUpdate...
I've managed to get the files from the IMCE CCK Image field to appear in the slide, but not the pager. Where is the image for the scrollable pager being set so that I can also set that to contain the IMCE image?
Comment #4
ppblaauw commentedYou can use the same code in the preprocess function
for the pager as you did in the content preprocess function
Do you have a link to the Internet site?
Hope this helps you further, please let me know.
Comment #5
neptunus commentedHi,
May I ask You to share me information how can I use IMCE Image with Views Slideshow: Dynamic Display Block?
The regular ddblock is working fine with the IMCE, but no success with the Views version.
Here is a piece of my template.php code (The After the ====== signs is the regular ddbloc, and after the ++++++ signs is the views ddblock. I don't show my modifications at the views part because it don't work)
Thank youall of your help!
Peter
Comment #6
neptunus commentedOK, Here is the solution to my question:
Views Slideshow: Dynamic Display Block + IMCE Image field
Copy this code to your theme's template.php with out the < ? php in the first line.
(IMCE Image field name may be something else)
All the best!
Peter
Comment #7
ppblaauw commentedThank you Peter for posting the complete code you use.
Set Status to fixed
Changed the issue title