didnt understand what is the "VIEW_FIELD_NAME" in the tutorial... need help
amirtaiar - May 12, 2009 - 20:54
| Project: | Dynamic display block |
| Version: | 6.x-1.0-rc6 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | Advanced slideshow, preprocess functions |
Jump to:
Description
and much more then that. is there a simplle way to use this module?!
it is the most difficult one i have seen yet!
but the results seems perfect so I have the...
I didnt understand what they mean in the tutorial gurding the "VIEW_FIELD_NAME".
is that the one under the information of the view or just the name of the view.
plus! In one site from two I am trying to use the module I dont have templete.php.
what to do?

#1
The view_field_name is the name cck/views creates for content type fieldnames.
If your theme does not have a template.php file, you can create this file yourself and paste the preprocess functions in it.
Hope this helps you further, please let me know.
P.S. Please post one issue per post, so issues are manageable and useful for other users.
#2
Thanks
My view name is site_news. do I need to write views_site_news?
#3
In the preprocess functions documentation of the advanced slideshow tutorial is says:
Changing view_name
In the line:
if ($vars['settings']['view_name'] == 'news_items') {you fill in your own viewname
if ($vars['settings']['view_name'] == '[VIEW_NAME]') {So if the view_name of the view you use is site_news it will become:
if ($vars['settings']['view_name'] == 'site_news') {Hope this helps you further, please let me know.
#4
Thats excactlly as I have done
#5
I also don't understand how u do this. All the original values are the same. So my view_name/view is right (i think). I also can't understand anything of that video.
I have this so far> www.brazza.eu/drupal
#
'news_items'
#
stdClass::__set_state(array(
'nid' => '5',
'node_title' => 'header',
'node_data_field_pager_item_text_field_pager_item_text_value' => 'Nu te koop!',
'node_type' => 'ddblock_news_item',
'node_vid' => '5',
'node_data_field_pager_item_text_field_slide_text_value' => 'te koop!',
'node_data_field_pager_item_text_field_image_fid' => '7',
'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' => '',
'node_revisions_format' => '1',
'node_created' => '1244155895',
))
My view is named news_item and the view also called news_items (havent changed anything).
I hope i can works this out. Cause this is the best module i found so far. Where's paypal link? xD
#6
@badabing
You are almost there, thanks for sending the information, so I can help you better.
You probably need to change (several times) the strings for the image_field in both preprocess functions from:
..._fidto
node_data_field_pager_item_text_field_image_fidHope this helps you further, please let me know.
Groetjes,
Philip
#7
YES! Thx m8. Im using my site as a test version. But on my production site it's working now. Can't get my site working now. But atleast the one which needed it, works. Thanks again.
#8
@badabing
Great its working now!
@amirtaiar
Did you solve your issue?
#9
Set status to fixed.
No reaction anymore,
Suppose amirtaiar also solved the issues
#10
Automatically closed -- issue fixed for 2 weeks with no activity.