Hi there, i've been putting this off for a long time trying to figure out myself but without success. Hopefully someone can help me find the answer to finishing my ddblock after going over the tutorials, videos, reported issues over and over again.

My advanced ddblock is on my homepage and ONLY the title of the block is showing, no images, no slideshow styling etc etc.

Details of template.php are attached with screenshot of slideshow not working. Plus results of uncommenting the "drupal set messages".

Any help much appreciated.

Comments

csimpson’s picture

Assigned: csimpson » Unassigned
ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

I can not see the attachments, the links go to the drupal homepage.
Can you attach the files and image again?

csimpson’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new5.88 KB
new1.1 KB
new185.08 KB

Hi there, how strange, hows about this...

csimpson’s picture

You will see in the screenshot that the news items have also been added to the homepage because i thought i would try to see if that works. The advanced ddblock slideshow is just showing the title of "ddblock news item slideshow".
many thanks

ppblaauw’s picture

In the result of the drupal_set_message lines there are no additional fields for the content type, like the image, slide_text, pager_text etc.
Are you logged in as user 1?
If not, do you have content permissions (submodule of cck) enabled?
Did you give permissions for the additional fields?
Can you clear the cache?

csimpson’s picture

StatusFileSize
new182.9 KB

Would these be the correct permissions?

csimpson’s picture

StatusFileSize
new2.17 KB

Also, sorry here is my revised drupal_set_message lines - i only unhid the first set first time around.
Hope to hear from someone soon, regards Craig

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

The drupal_set_message lines and the preprocess function are ok now, the view_name and view_fields are matching.
The slideshow should show up now.
Did you clear the cache?
Did you try with the example upright themes?

Can you give a link to the site?

csimpson’s picture

great, thats a start! and thanks for help so far. The site is in development at http://www.localshopvouchers.com/drupal-6.22/ .

i cleared the cache again and still see no difference.

regards craig

ppblaauw’s picture

I get access denied at the homepage not being logged in.
The slideshow content is empty.

Can you uncomment the drupal_set_message lines and check if they show up when not logged in.
If they don't show up, check the permissions

csimpson’s picture

Hi there, drupal set messages uncommented now and for me, they show up when not logged in. This one seems strange.

ppblaauw’s picture

They also show up for me now when not logged in.
I don't see the css file for the slideshow theme gradient-blue30p.

Did you place the custom folder structure with the slideshow theme in the directory:
/drupal-6.22/themes/acquia_prosper/

Did you place the custom folder with upright slideshow themes in the directory:
/drupal-6.22/themes/acquia_prosper/

Can you try if one of the example upright themes are working?

After installing slideshow themes, you need to clear the cache, so the drupal theme system picks up the tpl.php files

csimpson’s picture

Hey, good news, looks like setting the upright themes made the slideshow show up on the page - thanks for your help.

Only issue now is that images wont display, ive also looked online as this seems a common problem and cant see an obvious resolution.

My majo concern is that if i paste the image locations directly into a web browser, they still dont show up and i just receive a server error.

Ive changed all the block and pre-processor instances of "node_data_field_pager_item_text_field_image_fid" with no sucess.

Drupal set messages are:



      array (
        'delta' => '2',
        'output_type' => 'view_fields',
        'pager' => 'custom-pager',
        'pager_container' => NULL,
        'pager_event' => NULL,
        'pager_height' => 63,
        'pager_width' => 195,
        'imgcache_pager_item' => '',
        'pager_position' => 'bottom',
        'template' => 'upright40',
        'custom_template' => NULL,
        'view_name' => 'news_items',
      )

    *

      stdClass::__set_state(array(
         'nid' => '14',
         'node_title' => 'news item title',
         'node_data_field_pager_item_text_field_pager_item_text_value' => 'news item pager text',
         'node_type' => 'ddblock_news_item',
         'node_vid' => '14',
         'node_data_field_pager_item_text_field_slide_text_value' => 'news item news item news item news item news item news item ',
         'node_data_field_pager_item_text_field_image_fid' => '5',
         'node_data_field_pager_item_text_field_image_list' => '1',
         'node_data_field_pager_item_text_field_image_data' => 'a:2:{s:3:"alt";s:0:"";s:5:"title";s:0:"";}',
         'node_revisions_body' => 'news item news item news item news item news item news item body',
         'node_revisions_format' => '1',
         'node_created' => '1308176630',
      ))

    *

      'news_items'

    *

      stdClass::__set_state(array(
         'nid' => '14',
         'node_title' => 'news item title',
         'node_data_field_pager_item_text_field_pager_item_text_value' => 'news item pager text',
         'node_type' => 'ddblock_news_item',
         'node_vid' => '14',
         'node_data_field_pager_item_text_field_slide_text_value' => 'news item news item news item news item news item news item ',
         'node_data_field_pager_item_text_field_image_fid' => '5',
         'node_data_field_pager_item_text_field_image_list' => '1',
         'node_data_field_pager_item_text_field_image_data' => 'a:2:{s:3:"alt";s:0:"";s:5:"title";s:0:"";}',
         'node_revisions_body' => 'news item news item news item news item news item news item body',
         'node_revisions_format' => '1',
         'node_created' => '1308176630',
      ))


ppblaauw’s picture

I had a look at the site. Looks like the images are working now.
What was the issue, that the images did not show up and how did you solve it?

csimpson’s picture

Status: Postponed (maintainer needs more info) » Fixed

The issue was that i hadnt assigned any of the upright themes within the ddblock settings. I copied the process in the advanced setup video and this details using a custom theme. I made the error thinking i needed to set custom as per the video tutorial although not using a custom theme.

After this, the slideshow displayed although still no images displayed. I spent all night searching for more assistance -

***very important note for all *** if you cannot get images to show and have tried every other possibility,
then you MUST check this post: http://blog.attomsoft.com/drupal/93/drupal-500-internal-server-error-cau... - solved it!

Many thanks for

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