Closed (fixed)
Project:
Dynamic display block
Version:
6.x-1.0-rc6
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2009 at 03:31 UTC
Updated:
29 Sep 2009 at 12:47 UTC
Jump to comment: Most recent file
Comments
Comment #1
ppblaauw commentedCould you attach your adjusted template.php file and the result of the drupal_set_message lines when you uncomment them in the preprocess functions.
A link to the site would also be helpful.
It should not matter that the theme is in the original theme folder although it is recommended with drupal to place your customized theme in sites/all/themes ( for upgrading purposes) See a also the readme.txt at sites/all
Comment #2
edk86 commentedThanks for the quick response. I realized I was using the wrong block--the "news item slideshow" instead of the instance. But the instance is not showing up at all.
Comment #3
ppblaauw commentedYes, you need to place the ddblock instance in a block or a node instead of the news_item_slideshow block from the view.
What did you do with the instance?
Where do you expect to find the instance and what is different?
Still the same request as in #1 are valid, to help you better.
Comment #4
edk86 commentedI tried putting the instance in both a block and node. Neither showed anything at all, not even a blank space.
here's my template.php file (my theme is called "mytheme"):
The page I placed the instance in is xxxx, although there's nothing to be seen there at all.
Comment #5
edk86 commentedas far as the drupal_set_message lines, how do I find those?
Comment #6
edk86 commentedI am getting this error: "warning: Invalid argument supplied for foreach() in /home/missour2/public_html/xxxx/sites/all/themes/my theme 2/custom/modules/ddblock/ddblock-cycle-block-content-upright10.tpl.php on line 47."
line 47 is "
foreach ($slider_items as $slider_item):"Could this be my problem? What can I do to fix this?
Comment #7
ppblaauw commentedYou are using the preprocess functions and maybe also the template files of the new development version of the ddblock module. They are not compatible with version RC6 of the ddblock module.
You can download the files for the RC6 version of the module at http://ddbock.myalbums.biz/download
The drupal_set_message lines can be found in the preprocess function for RC6
Comment #8
edk86 commentedthanks, ppblaauw. I uploaded the correct preprocess functions and template files. unfortunately that didn't fix it. I still don't see anything.
Here's my template.php:
Comment #9
ppblaauw commentedThe template.php file looks ok now.
I had a look at your site and don't see the block or any ddblock functionality.
I see you have Javascript and CSS aggregation enabled at your Internet Site.
This should only be enabled when your site is in Production, not when you are developing.
Clearing your cache also helps in a lot of cases while developing.
Hope this helps you further, please let me know.
Comment #10
edk86 commented"I see you have Javascript and CSS aggregation enabled at your Internet Site.
This should only be enabled when your site is in Production, not when you are developing."
Sorry, but what does this mean I should do?
I cleared the cache and it didn't help.
Also when I check my Javascript console I get these errors (attached screenshot). I also cannot add content to Panels, which I think has to do with javascript crashing? Could this be related?
Comment #11
edk86 commentedNow I have a blank space, where the slider should go, but no slider. This is the error I'm getting "warning: Invalid argument supplied for foreach() in /home/missour2/public_html/xxxx/sites/all/themes/my theme 2/custom/modules/ddblock/ddblock-cycle-block-content-upright10.tpl.php on line 47."
Comment #12
ppblaauw commentedYou can disable Javascript and CSS aggregation at Administer > Site configuration > performance
In the fieldset Bandwidth optimizations: both disable Optimize CSS files and Optimize JavaScript files.
In the documentation in the fieldset you can find also more info why.
This is also the page to clear your cache, with the button: Clear Cached Data
The error about the feedprocessor I also get them in my firefox
The other 2, I dont know where they come from.
I also looked at your Internet site again but don't see any changes.
Further it is better to use underscores in your theme name instead of spaces.
Change this in the folder name, the info file name and in the info file itself.
Do you use a local installation to test things?
Is that why I don't see changes on the Internet Site?
Hope this helps you further, please let me know.
Comment #13
edk86 commented#12 worked! Thank you so much!