June 21, 2010 at 12:03 am #165074
I’m relatively new to Pods, and have only used it on one other project. I’d like to use it on another project, but I’m not sure if what I want to do is possible. I’d appreciate any input.
Here’s the deal: I have a POD that will have various elements to it (eg: Description, image, etc.) However, I also want a set of images to accompany each POD entry, a small gallery of sorts. The catch is that I want the number of images in this gallery to remain unset and flexible. (eg: No max number of images.) Is this possible? How would I go about doing it?
Thanks in advance for any help!June 21, 2010 at 12:10 am #165075
Although you can add multiple images in a file upload field, I would actually recommend using nextgen gallery instead, because it’s by far the most popular gallery plug-in (and best in my opinion). Then I would use the PICK NextGEN Gallery input helper (http://podscms.org/packages/pick-nextgen-gallery/) to link a pod item to a gallery. This combination will save you from having to create a another related pod to store lots and lots of image data.June 21, 2010 at 12:16 am #165076
@clarinetlord Awesome! And thanks for the quick reply. I’ll check that out. I love NextGEN, but didn’t realize it could be used with Pods.
Now, if I may, do you know if something like that is possible with videos as well? Obviously not with NextGEN, but anything else you may know of?
Thanks!!!June 21, 2010 at 12:34 am #165077
I don’t know of a video equivalent to nextgen, but you can always make a related pod that stores things like name of the video, url of the video, size, description, etc. Then make a multiple PICK column on your main pod to attach one or more video pod items to it.June 21, 2010 at 4:23 pm #165078
@clarinetlord Ah, okay. Cool. I did think of TubePress after I posted this, but I think the method you suggested will give me more control over how they display. Thanks for your help! I really appreciate it!!!
KateJune 21, 2010 at 8:56 pm #165079
@clarinetlord Maybe it would be better to ask this in a new thread, but… I’m attempting to use the NextGen gallery code as you suggested. I’ve assigned it to a Single Line Text Input, but instead of outputting a text field on the "Add New" form, it’s returning an error:
"Parse error: syntax error, unexpected T_STRING in /wp-content/plugins/pods/core/input_fields.php(40) : eval()’d code on line 1"
Any idea what this might be from? I just copied and pasted the code, without altering it. Thanks in advance for any ideas!!!June 22, 2010 at 1:32 am #165080
I’m not sure why you are getting this error. I imported the package and tested it, and it works just fine. Did you use the Package Manager to import the package?June 22, 2010 at 5:25 pm #165081June 22, 2010 at 5:45 pm #165082
rhyslbwParticipantPost count: 13
Just letting you know I will be updating this helper with a version that can handle multiple select picks, so would be an idea to grab that if you can ever see a need for assigning multiple NextGEN galleries to a pod item.November 5, 2010 at 6:33 pm #165083
@Rhys Just saw this comment, lol. Sorry! Thanks for the info!
You must be logged in to reply to this topic.