By lunk rat on
I have CCK, Image, and Image Gallery installed. Can create a CCK field that references an image gallery? I just need users to be able to choose a gallery when they are creating a node, and then CCK would create a link to that gallery. I tried to do it with views and CCK node reference but that seems to be only for referencing individual nodes, not taxonomy groups (like galleries).
Anybody know how to create a CCK select field that will create a link to an image gallery?
THANKS!
Comments
*bumP* I am also searching
*bumP*
I am also searching for this feature...but i dont know , what image gallerys are...nodes? Terms? no.
If anyone knows a way....i will code it myself.
Or is there any workaround?
CCK Gallery Block
i too am looking for a CCK block that can reference a desired gallery. Did u find/make anything?
Content Taxonomy Module
I achieved this using the Content Taxonomy module: http://drupal.org/project/content_taxonomy
I was then able to reference any image gallery using CCK and have a link to the gallery attach to any node, like this:
http://jakesgeneralstore.com/cars/project-car/1970-plymouth-aar-cuda-pro...
Notice the infobox, which was made with CCK/contemplate, and contains a link to an image gallery.
When you edit a node, all you have to do is select the gallery from a dropdown and it adds a gallery link on the node.
Hope this helps!
lunk_rat is Acquia Certified Grand Master
Tutorial
Thanks to you, linkovitch, worked great for me. As for following users a quick guide:
Make sure that the CCK and image are installed and activated.
1. Download and install Content Taxonomy
2. Activate Content Taxonomy and Content Taxonomy Options
3. Go to content type and choose edit fields
4. Choose "Content Taxonomy Fields" and "Select List"
5. Now choose as vocabulary the gallerys
6. Now I used ConTemplate to edit the body of my nodes
7. Choose the right value (id of the gallerys) and link them - Done!
The gallery itself instead of a link
All very nice, but if instead of just a link to the gallery I want to show the gallery itself? Show the thumbnails somewhere within or simply at the end of the body contents?
What PHP code generates the gallery? Couldn't that code be included through CCK (PHP field) as well?
I started with Drupal in 2007 and then my life got stuck...
I agree with you, instead of
I agree with you, instead of link is it possible to pull galery without custom writing new template?
Adriadrop Drupal development
Subscribe!
Subscribe!