Closed (fixed)
Project:
Dynamic display block
Version:
6.x-1.0-rc6
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2009 at 09:59 UTC
Updated:
6 Nov 2010 at 08:07 UTC
Jump to comment: Most recent file
Comments
Comment #1
ppblaauw commentedThank you for reporting.
We will adjust the documentation and make a new export for the content type soon.
Comment #2
ppblaauw commentedFor using the new beta version of file-field and image-field modules a new export_files package is available on http://ddblock.myalbums.biz/download
You need to use the new cck-export file and the new template.php.txt file
We are also updating the Advanced slideshow tutorial. Updates will be available soon.
Comment #3
mustafadur commentedThanks for the update, but at download page I think Export_files_V1.1.zip link that you put actually is linking to http://ddblock.myalbums.biz/sites/default/files/Export_files.zip. Your file is there just the link is wrong.I am looking forward to see updated Advanced slideshow tutorial.Thanks.
Comment #4
ppblaauw commentedThanks, Changed the link.
Documentation in progress.
Comment #5
ppblaauw commentedDocumentation changed in the Advanced slideshow tutorial on http://ddblock.myalbums.biz
Comment #6
ppblaauw commentedset issue to closed
Comment #7
happydrupal commentedIt's not working with ImageField 6.x-3.0-rc1 (was released on April Fools' Day)by using the Export_files_V1.1.zip!!
I still got "warning: Invalid argument supplied for foreach() in /home/happypig/public_html/sites/mdb.happypig.tw/modules/ddblock/ddblock-cycle-block-content-upright10.tpl.php on line 47."
Comment #8
ppblaauw commented@ happydrupal.
I assume you copied the preprocess functions to the template.php file of the theme you use and that you changed the theme name in the preprocess functions to the name of the theme you use
and you use the cck import and the views import file from the package.
Could you send the result of the drupal_set_message debug lines in the preprocess functions if you uncomment them and send the template.php file.
If you can send a link to the Internet site that would also help.
Comment #9
happydrupal commentedHi, ppblaauw
I'm using "colourise" Theme in my project. ( http://mdb.happypig.tw/ ; user:demo ; pwd:demo ) Attached please also find the modified template.php with preprocess functions. You can find there's two block in the bottom, "ddblock-News item slideshow" block from ddblock with no content and "News item slideshow" block with only Title/Body fields from views. However, I can see the whole six fields in Super Admin.....????
I already uncomment the drupal_set_message debug lines in template.php but where can I find the debug message???
Last mile to see DDB working in my project....Thanks inadvance.
Comment #10
ppblaauw commentedYour template.php file looks Ok to me.
The debug lines should just show up on the pages where the ddblock block is enabled, but I don't see them.
Did you set permissions to view dynamic display block blocks for other users then user 1?
Can you tell me what configuration settings you have for the block?
Comment #11
happydrupal commentedGee, I forgot to set the permission of these CCK fileds............... :p Now everybody can see the 6 fields.
But the ddblock still get nothing......
The role specific visibility settings of these 2 blocks had been checked for all roles except anonymous user. As for the News item slideshow in View, the access is unrestricted. Please see attached.
I think the "filefield" 6.x-3.0-rc1 should be the problem since the function call is pretty different with the previous version. The other module Video Upload which using the same filefield module had been experienced the same problem.
Hope this helps............ Thanks again.
Comment #12
ppblaauw commentedI still don't see any debug lines.
The changes in filefield and imagefield happend between alpha and beta version.
This is already changed in the new download files for the ddblock module. This is not the issue.
Can you clear the cache at administer > site configuration > performance
You should see the debug lines
Comment #13
happydrupal commentedThanks...
I'm using the default setting at administer > site configuration > performance......with only Page compression enabled. I still can not see any message show up on the page after the cache cleared.
I'm using FireFox with Firebug, and just uncomment the following lines as well, but where can I find the returned message? Is this help?
BTW, I did set permissions to view dynamic display block blocks for other users. That's why you can see the block title "ddblock-News item slideshow" with nothing inside above the "News item slideshow" block.
Hope there's some clue for you...........
Comment #14
ppblaauw commentedIf you uncommented the dsm functions in the preprocess functions in the template.php file and you don't have the devel module enabled you should get an error message. so it looks like your template.php file is not used. If you use the devel module also these debug lines should show up in the page where the block is enabled.
Did you uncomment them in firefox or in the template file themselves? (maybe stupid question)
Comment #15
happydrupal commentedYou must be kidding...............uncomment in firefox .......... :p
I'll try devel module and update you asap. Thanks!
Comment #16
happydrupal commentedAlso tried the other 2 themes.......Garland and Colorpaper...............didn't work, neither.
Trying to figure out what's going on in devel module. Stay tuned............
Comment #17
happydrupal commentedMore investigation found that I did marked the theme credit in template.php of theme "colourise" already. The credit returned if I unmarked these line in template.php. So I'm pretty sure that Drupal did find the template.php, but didn't go through the part to get $slider_item.
BTW, I did have a multisite setup. The other 2 no display themes, Garland was in the /sites/all/themes and Colopaper was in /sites/mdb.happypig.tw/themes as "Colourise".
Are the above help for debug????
P.S. It's too bad that devel didn't have any documentation.....................Can't see anything............... ^^|||
Comment #18
happydrupal commentedJust got into the Holy Temple of devel with user/1...............................My God.......It's full of stars......................
Where can I find the result of the drupal_set_message debug lines?????
Thanks again.
Comment #19
ppblaauw commentedSo, now we are sure the template.php file gets called by the theme system
Could you add the following lines at the top of the content preprocess function in your template.php file
Before the if statement
So we are more sure this will be called
And yes, devel helps a lot
Comment #20
ppblaauw commentedLight is shining after all...
Why did I not see this before in the error message that the file called is
The upright themes should be installed in the folder of the theme you use
So I expect it in
You need to install the custom folder from the download of ddblock.myalbums.biz in the theme folder of the theme you use at the folder mentioned above
I think this causes the issue
Comment #21
happydrupal commentedAh.................................You're right!
The view with pager finally showed up after I reinstall the custom folder into the default themes folder. Sorry for causing troubles.
Now, the title and slide text rotated well, but only a Grey background displayed without the image and "the read more..." link didn't work.
Any suggestion? Thanks in advance.
Comment #22
happydrupal commentedThe grey DDB block totally different in IE. How wired!! Please see attached.
Should I move to the other thread for the rest part since it looks not the filefield problem anyway?
Comment #23
ppblaauw commentedYou need to disable the next checkbox in the configuration page to make the readmore button work.
Can you uncomment the drupal_set_message debug lines so I can see what the fieldname for the image needs to be.
Comment #24
happydrupal commenteduncomment the debug lines returned the following message.
Any clue? Thanks again.
Comment #25
ppblaauw commentedYou need to change the imagefield (4 x) in the preprocess functions.
find ..._fid
and change to
Comment #26
happydrupal commentedGreat!! Case closed.........Evan though I have to figure out what's going on with the replacement. Anyway, the display is Awesome!!!
Now leave me a homework to study documentation again and again to discover the magic power of DDB.
Many thanks to this great module!!! Thanks for your great documentation!!!
Comment #27
happydrupal commentedAlso, great thanks for your patience to debug with the rest of us. Great Job.
Comment #28
khan2ims commentedOh great!
I gave in my half of the day finding out why images don't show up. And change of
node_data_field_pager_item_text_field_image_fidSolved the problem! Thanka a lot!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Imran Khan
Project Manager
New Earth Marketing