First of all, thank you very much for this module! I am using it on my first Drupal 7 site and have run into a problem getting the slideshow content to display. I have created a view with an image, slide title, slide text and a read more link. I am using a cycleblock display with the upright10 theme and have mapped the target/source. Regardless of how I map the fields, I am not seeing the actual content displayed, but get a note saying 'array'.

I tried both the beta and dev versions and the same is happening on both. Do you have any suggestions of how to fix this? Thanks!

Comments

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

Do you have a link to the site?
Did you create content?
Do you see content in the view?

What steps did you do to create the ddblock instance of the views block display?

regi.bradley’s picture

I currently don't have a link to the site as it is still in development. I have created a node for my showcase_with_image content type and see the content displayed in the view. To create the ddblock instance, I:

1. Created a views block display
2. Enabled the content type and view under ddblock settings
3. Added an instance to ddblock via /ddblock/instances by entering a title and selecting the block created by my view above.
4. I configured the block to use cycleblock as the display method and upright10p as the theme.
5. Mapped the target/source to fields in my view.

Thank you for your help.

ppblaauw’s picture

The steps are all good.

After this you place the ddblock instance in a region?
Did you clear the cache?

regi.bradley’s picture

I have figured out what was causing this issue. It was not related to ddblock, but rather the specific region in my theme! I tested by putting the block in the content area and the slideshow displays fine now.

ppblaauw’s picture

Title: Slideshow displays 'array' instead of content » Slideshow displays 'array' instead of content (fixed)
Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

set status to fixed

borngunners’s picture

I have installed mine on Drupal 7, but still having some issues. First of all, it is not showing at all. I have tried to change the block regions to something else, but still can not see any display. I am having the following error:

* Notice: Undefined index: input_type in ddblock_block_save() (line 199 of /home/sonoecho/public_html/sites/all/modules/ddblock/ddblock.module).
* Notice: Undefined index: output_type in gordon_preprocess_ddblock_cycle_pager_content() (line 121 of /home/sonoecho/public_html/sites/all/themes/gordon/template.php).
* Notice: Undefined index: output_type in gordon_preprocess_ddblock_cycle_block_content() (line 59 of /home/sonoecho/public_html/sites/all/themes/gordon/template.php).
ppblaauw’s picture

#6

There is no need for preprocess functions in the template.php file for the drupal 7 version.

Maybe you use the preprocess functions from ddblock for drupal 6.
You need to delete the preprocess functions for the ddblock module from the template.php file.

Hope this helps you further, please let me know.

borngunners’s picture

I have removed the preprocessor from the template.php and I went to view and was trying to edit the DDblock view that I created in views and had this error message:
Notice: Undefined variable: modules in views_slideshow_plugin_style_slideshow->options_form() (line 92 of /home/sonoecho/public_html/sites/all/modules/views_slideshow/views_slideshow_plugin_style_slideshow.inc).

Probably a simple step will help me get my images to show where I want them to show... I have downloaded the themes and cycle modules, but i don't see anything working. This is what i did:
-install ddblock module
-Create a view of ddblock
-create a content type
-Go to the DDBlock settings and create an instance
-Provide a name (eg. Views DDblock)
-Configure the block to show up in a region of choice

ppblaauw’s picture

did you map the views fields to the slideshow variables?

borngunners’s picture

Don't know how to do that. Can you explain to me in detail how to do it....

I have the custom ddblock directory in the theme, but nothing is showing up to select:

Available slideshow themes are automatically detected form the folder custom/modules/ddblock.
A slideshow themes can only contain letters and numbers, no underscores and hyphens, etc.
The .tpl.php file used will become:ddblock-cycle-block-content--[THEMENAME].tpl.php

* Warning: include(/home/sonoecho/public_html/sites/all/modules/ddblock/ddblock-cycle-block-content.tpl.php) [function.include]: failed to open stream: No such file or directory in theme_render_template() (line 1234 of /home/sonoecho/public_html/includes/theme.inc).
* Warning: include() [function.include]: Failed opening '/home/sonoecho/public_html/sites/all/modules/ddblock/ddblock-cycle-block-content.tpl.php' for inclusion (include_path='.:/usr/local/php52/pear') in theme_render_template() (line 1234 of /home/sonoecho/public_html/includes/theme.inc).

ppblaauw’s picture

Status: Fixed » Postponed (maintainer needs more info)

#10

When the content type and view display block to use for the slideshow are enabled in the settings tab of the ddblock module.
The ddblock instance can be made for the views block display in the instance tab.

When the ddblock instance is created for the views block display the instance can be configured via the list tab.
Choosing slideshow template, mapping the views_fields to the slideshow theme fields, setting speed, timeout etc

Hope this helps you further, please let me know

borngunners’s picture

StatusFileSize
new130.43 KB

Well, I followed your comments even though I had already did what you where explain. So i decided to have a print screen of the portion that I think should be setup that is not showing up. I have it attached in this post....

ppblaauw’s picture

StatusFileSize
new18.29 KB

I can see that the "slideshow theme layout" select box is empty.
The themes are not installed in the right place. The slideshow themes should be installed in sites/all/themes/[overall_site_theme]/custom/...

The [overall_site_theme] is the theme which is set as default theme in the themes page.

For the mapping of fields I see that layout is scrambled, because there is some indention before each next target field. (Probably added by CSS of your site theme)

Some of the target fields are empty.
In the select box after the target field you can choose which source field you want to map to a target field of the slideshow theme.

Added a screenshot of the same section from my site.

borngunners’s picture

I do have the custom theme in my theme... It is in a directory called /themename/custom/module/ddblock... I probably have the wrong theme. Can you put a link of the theme that you want me to have in there please.

I tried to use another theme for my site (corolla) it seems to bring up the custom theme, but could not provide me a template size and also, I did not see the slides as slides instead, they showed up vertically one after the other. I have two pictures there. I sent you an email with the login information to see what I am doing whether it is right or not. Please let me know.
Thanks

ppblaauw’s picture

I see in one of the other posts that you probably use the gordon theme.
When you use the gordon theme, the custom folder should be in sites/all/themes/gordon/

borngunners’s picture

That is exactly where I have it, but the target and source does not look like yours they look like you saw in my last print screen. Also, it does not show the slides. Do you want me to create a webinar so you can look at it or login with the info that I provided you earlier?

ppblaauw’s picture

The cache needs to be cleared to get new tpl.php template files recognized.
Maybe there are no permissions to read the slideshow theme file on the fileserver.

I can not connect to your site, I have a problem with my ISP.
Some sites I can not connect to.
I asked someone else if they can connect to your site and they can.

cgonsalv’s picture

Title: Slideshow displays 'array' instead of content (fixed) » 'Slideshow Theme Layout' select box is empty
StatusFileSize
new110.88 KB
new38.78 KB
new45.97 KB

When configuring the DD block I don't see any options in the select box. I've checked to make sure that folder is in the correct directory. I'm assuming I have the necessary rights to the template folder since I get the following error message.

•Notice: Undefined index: slide_image in include() (line 39 of C:\Program Files\Zend\Apache2\htdocs\p002\sites\all\themes\bartik\custom\modules\ddblock\ddblock-cycle-block-content.tpl.php).
•Warning: Invalid argument supplied for foreach() in include() (line 39 of C:\Program Files\Zend\Apache2\htdocs\p002\sites\all\themes\bartik\custom\modules\ddblock\ddblock-cycle-block-content.tpl.php).

I'm attaching screen shots for the following:
1) Empty select box
2) Error message
3) The theme folder where my dd block is installed.

Used: ddblock-upright10p-60-v7-1-3.zip
Dynamic display block : 7.x-1.0-rc1

Appreciate any help you can provide to get this working. I am using Drupal 7.7

ppblaauw’s picture

#18
bartik is the default theme you use on your site?
it is moved from the themes directory to sites/all/themes?

cgonsalv’s picture

Status: Postponed (maintainer needs more info) » Fixed

There were two Bartik folders. One that came with the core install and another I made under sites/all/themes.

I copied the 'custom' folder along with it's sub-directories under the ORIGINAL (core install) Bartik folder and it worked!! I mistakenly assumed that Drupal would only look at the Bartik folder under sites/all/themes.

Thanks!!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.