Adding to another profile's gallery...

iamtimbo
@iamtimbo
11 years ago
301 posts
Hi, all,

Very new to Jamroom, and PHP in general. I want to create a way that any site user can post in any profile's gallery, but I'm not sure it's possible.

The best analogy I can think of is having a load of predefined profiles, as if each one was a venue. I then want normal users to be able to add to the galleries of that venue, with each gallery being a concert at that venue.

So, Bob can go to the Borderline profile, and upload his pictures of the It Bites gig to the It Bites gallery in that profile. That's not exactly what I want to do with it, but it's a good analogy.

Any thoughts...?!
updated by @iamtimbo: 01/17/15 12:27:47PM
paul
@paul
11 years ago
4,335 posts
One option that I would consider for this would be a custom module with a 'view' in it that is the gallery upload form but with an additional select field for all profiles so that the uploaded gallery images could be tagged with the profile they are associated with. Or instead of the select field, a hidden field with the associated profile ID that was passed to the view as a URL $_post option.

It could also be done within the templates and with custom form fields created by the Form Designer, but I think the custom module view method might be cleaner and easier to control.

@iamtimbo - from what I know of your project, you might be needing a custom module anyway for various 'miscellaneous' functions, so it could well include this view as well. Checkout the module building documentation and videos.
hth
Pa


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 11/08/14 10:10:03AM