@ ppblaauw, Thanx fo your quick respons at previous thread,
I have installed Dynamic Display Block on my site, image i put at sites/default/files/[user]/headline, and dynamic dislplay block only shown an grey area, so I reset folder image back to default sites/default/files, and then I created news_item content again, but my image still not shown. so i think my problem is [not] by path.
I still want to put my image on sites/default/files/[user]/headline, so i plan to put it back on.
The other module installed are
- I install advanced slideshow to follow tutorial from http://ddblock.myalbums.biz/node/749
- Domain access http://drupal.org/project/domain, is there any issues about it?
- Boost http://drupal.org/project/boost,
- user permission related with enable checked
- content_permissions module
view field_image
view field_pager_item_text
view field_slide_text
-
ddblock module
view dynamic display blocks
-
image module
view original images
-
imagecache module
view imagecache image-headline
-
node module
access content
-
views module
access all views
Theme tapestry from http://roopletheme.com
Image path on cck reset back to sites/default/files/[user]/headline ( sorry ,I don't see "ddblock configuration page" to set path, where is the location exactly?)
I use import method to create content type and views
based on ppblaauw question at http://drupal.org/node/491876#comment-2600212, (Thanks, your question give me a new inspiration) and then I uninstalled image module and delete news_item content type, after that I import a new news_item content type.
I Check new content type by last import: I click manage field on my news_item content type i got
<Label> <Name> <Type>
<Image> <field_image> <File>
its does not same with http://ddblock.myalbums.biz/node/751, instruction (Why It's happen?, I use import file)
I have 4 line contain "node_data_field_pager_item_text_field_image_fid" in my preposision fuctions at "template.php", but it become "node_data_field_image_field_image_fid" on my drupal_set_message, I think this is explain why my image does'nt shown How it's come and where I have to fix it ?
my site is http://bantenmetropolis.com/
I Attach related file (pls see below)
Comments
Comment #1
anjjriit commentedThanks to ppblaauw
I have solved my problem. after 3 days !!!
For Dynamic display Block user who got grey area after we check that we have at least two nodes for the slideshow, and we sure about enabled the content permissions submodule and field, we use import to create content type and view (its mean we do not change name of content type and views ) as in faq http://ddblock.myalbums.biz/faq#19n881 we are have
two options
if in variabel we get
"node_data_field_image_field_image_fid" but in our preprocess fuctions have
"node_data_field_pager_item_text_field_image_fid"
so we have to change 4 lines
"node_data_field_pager_item_text_field_image_fid" to
"node_data_field_image_field_image_fid"
please see issue http://drupal.org/node/413498#comment-1401800,
otherwise if in variabel we get
"node_data_field_pager_item_text_field_image_fid" and in our preprocess fuctions have
"node_data_field_image_field_image_fid"
so we have to change 4 lines
"node_data_field_image_field_image_fid" to
"node_data_field_pager_item_text_field_image_fid"
like in faq http://ddblock.myalbums.biz/faq#19n881
so what we have to change is depend what we get from variable, the preprocess functions just follow it!!!
Its that right Mr, ppblaauw ??
Comment #2
ppblaauw commentedYes, your information is correct and clear.
The name generated by CCK depends on which field is the first field, if a field is a single value field or a multiple value field or if the field is used/not used in more content types.
In the faq question: http://ddblock.myalbums.biz/faq#19n881, more info can be found how CCK generates fieldnames. In the CCK documentation on Drupal.org even more info can be found.
Set status to fixed
Comment #3
ppblaauw commentedChanged issue title.