Hi,

I'm almost there with the Advanced DDB, but running into one last problem. The DDB images are appearing and cycling through, but the DDB theme is not appearing around the photos.

I've downloaded a custom DDB theme and saved it under the theme I am using. I have also chose "Custom" from the drop down menu and added my DDB theme name.

Also I've added the details below to my theme's info file.

stylesheets[all][] = custom/boxes/boxes.css
stylesheets[all][] = custom/corners/corners.css

I've attached my template.php file. Can you please help!!!!

Thanks!

Katmin

CommentFileSizeAuthor
#6 source.txt16.32 KBkatmin
#4 screenshot.jpg51.18 KBkatmin
#4 source.odt6.46 KBkatmin
template.php.txt40.93 KBkatmin

Comments

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

Which ddblock theme are you using?
What did you fill in for the custom theme name?

Do you have a link to the Internet site, so I can help you better.

katmin’s picture

Status: Postponed (maintainer needs more info) » Active

I'm using gradient-green40p. I put "gradient-green40p" in for the DDB Custom theme name. I've been building this on a local server.

Please let me know if there is any other information I can share that might help.

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

The other themes upright10-50 are working when you choose them?

To help you better without access to the Internet site

Can you uncomment the drupal_set_message debug lines in the preprocess functions and send the result?
Can you send the page source of the page with the ddblock?
Can you send a Screenshot of the page?

katmin’s picture

StatusFileSize
new6.46 KB
new51.18 KB

Hi ppblaauw,

Thank you for help and patience with me on this one. When I try to use the upright10-50 all I see on the page is the DDB name. When I use the gradient-green40p I am able to see a slide show of the two nodes I created and below that I see the pager images which are the exact same size as the slide show images. I've attached a screenshot as requested.

When I uncomment the drupal_set_message debug lines I get the result below.

array (
'delta' => '3',
'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' => 'custom',
'custom_template' => 'gradient-green40p',
'view_name' => 'news_items',
)
stdClass::__set_state(array(
'nid' => '27',
'node_title' => 'News Item 1',
'node_data_field_pager_item_text_field_pager_item_text_value' => 'News item pager 1',
'node_type' => 'ddblock_news_item',
'node_vid' => '27',
'node_data_field_pager_item_text_field_slide_text_value' => '
News item slide 1

',
'node_data_field_pager_item_text_field_image_fid' => '106',
'node_data_field_pager_item_text_field_image_list' => '1',
'node_data_field_pager_item_text_field_image_data' => 'a:3:{s:11:"description";s:0:"";s:3:"alt";s:0:"";s:5:"title";s:0:"";}',
'node_revisions_body' => '
News item 1. News item 1. News item 1. News item 1. News item 1. News item 1. News item 1. News item 1. News item 1. News item 1. News item 1.

',
'node_revisions_format' => '1',
'node_created' => '1250745289',
))

Thanks again for all your help with this. I appreciate it!

ppblaauw’s picture

Could you try to clear the cache?
at administer > Site Configuration > Performance
It will not only clear the cache but also the theme registry.

I can not read the source.odt file , Can you attach it as a txt file.

You copied the custom folder to sites/all/themes/magazeen ?

katmin’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new16.32 KB

Hi Again!

I cleared the cache numerous times and have had the same results. I did save the DDB theme in sites/all/themes/magazeen. I've tried using the Custom directory from the upright10-50 as well as the directory for the gradient-green40p theme, making sure to clear my cache when doing so.

I've attache the source.txt file below. Hopefully, that will help.

Again, I appreciate you help. I look forward to getting this working.

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks for the answers again.

When I look at your code, the Template.php file, the page-source, the settings for DDBLOCK all look OK.
The tpl.php files in the DDBLOCK theme are used. That is what I can see in the page_source. The layout from the template files is used (with corners).

Question remains? Why does the CSS file for the chosen theme not show up?

What I see in the page-source is that the stylesheets added with:

stylesheets[all][] = custom/boxes/boxes.css
stylesheets[all][] = custom/corners/corners.css

Also don't show up

Did you try the ddblock with a default theme like garland (make a mygarland copy in sites/all/themes)
Maybe it's an issue with the magazeen theme.

keva’s picture

grrr...I'm another user who had this exact same problem, and it turns out I had not set up the folder structure correctly.
Following your instructions exactly fixed the problem! At http://ddblock.myalbums.biz/node/768

my directory now looks like:
sites/all/themes/(custom-drupal-themename)/custom/modules/ddblock/

the css is in
sites/all/themes/(custom-drupal-themename)/custom/modules/ddblock/(custom-ddblock-themename)/

ppblaauw’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

close issue, 8 weeks without activity.