Hi guys,
I thought have an very good solution to a problem but then I hit a loose end.
The situation is, I'm building a website which I want to be fully customizable by the clients. Each page will have it's own unique banner of 4 images.
What I did was use cck to provide an array of 4 images for each page for the user to upload. Then with views, I output the images into a block in the header region. With the help of imagecache and some css, the "banner" looks great.
The problem is the only banner I have created so far is visible on all the other pages. So views is not just looking for the images of a specific page.
Can anyone shed some light on how I can limit views to act on only the current page?
I know arguments is probably the best way to do this but I am using pathauto so my url's don't contain the node id.
Comments
cck blocks
You could perhaps try CCK Bocks to display those images
http://drupal.org/project/cck_blocks
Thank you........
I think that will work just fine.
One more thing, do you know if it possible to provide 4 individual default images to a CCK array of 4 images ?
hmmm
i havent seen a module solution for it, and CCK fields can be tricky to deal with when it comes to coding your own solution - perhaps try http://drupal.org/node/601646 as a starting point
Again ...
thanks a great deal. You've been more than helpful.