HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Something like custom profile fields for galleries

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#69934 (In Topic #14816)
Avatar

Community saint

I need to have four fields required to be filled in every time an image is uploaded - like Custom Profile Fields for Members. What's the best approach for dealing with this?

I would then need to make changes to the gallery template to show these fields.

Thanks for any help.

Bob
Back to the top
 
Posted
Rating:
#69936
Avatar

Community saint

I have youtube videos in catalogues instead of the galleries so that I can have both a title and a description. And if I later decide I need more fields I can easily add them.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#69943
Avatar

Well-settled

temp1024 said

I have youtube videos in catalogues instead of the galleries so that I can have both a title and a description. And if I later decide I need more fields I can easily add them.

I wonder if there is a way to change the code so you can have galleries and show, at least, the title underneath the picture. I've had several members ask why they had to drag their mouse over the picture in order to see what they are watching.
Back to the top
 
Posted
Rating:
#69947
Avatar

Community saint

I haven't looked into that area specifically, but IMG_THUMB.tpl and GALLERY_IMAGE.tpl are the templates to look at.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#69957
Avatar

Community saint

temp1024 said

I have youtube videos in catalogues instead of the galleries so that I can have both a title and a description. And if I later decide I need more fields I can easily add them.
That would work but one of the reasons I chose ocPortal was because it allowed personal galleries which I would then lose.

I think the fields should be standard (title, artist, dimensions, medium, year created) as this is pretty common stuff for any site dealing in art and some fields would be useful even for personal photography sites. But the best approach would be to allow custom fields so that I can have my stuff displayed while a photographer might choose to provide exposure information.

Bob

EDIT: Thinking about this, it is very similar to the infobox for videos. Images and videos are very similar in the need to display pertinent structured data along with the image or video. However, videos should also provide for displaying the producer, director, writer and year of release in the infobox. This is why it would be best to use an approach similar to the Custom Profile Fields. Making this change would open ocPortal to a whole new demographic group - namely people in the arts.


Last edit: by BobS
Back to the top
 
Posted
Rating:
#70016
Avatar

Community saint

*chuckle*, I got so excited that I was finally able to use the gallery for youtube that I just jumped into it and moved my 60+ videos from catalogs to the gallery before realizing the lack of title field :(

As mentioned by Chris in another thread, changing the gallery system requires core database changes and as such is being held off for the time being.

I do like the idea of custom fields for the gallery, maximum flexibility…

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved

OCP V7 | Advocating monetary reform - FreeOurMoney

Need OCP friendly hosting? Look no further:
Web Hosting, Reseller Hosting, and Dedicated Servers w/cPanel - Elief! - Official hosting partner for ocPortal.
Back to the top
 
Posted
Rating:
#70020
Avatar

Community saint

Yeah, I understand that the change is substantial and will have to wait. But I do think it is an important feature to add to galleries and that it should be flexible enough to handle custom fields. In the case of photography and art sites (and video, too), there is basic copyright and/or provenance of something in a gallery (probably, catalogues, too). For an interesting read on how widespread the usage of provenance is, read Provenance - Wikipedia, the free encyclopedia .

In some ways I am just spoiled because of the e-commerce software I have used. You could create custom form-fields and use them on custom forms. The software had a fairly granular "hook" system in place which would allow yo to pre-pend, replace or append the standard TPL. Even if a hook didn't exist where needed, it was a  a single line of code that potentially needed to be reconciled with each update.

Anyway, I hope we can get something in place at some future update. If you read the Wiki article, you realize that it affects a wide range of other topics besides arts and antiquities including wines and some areas of science.

Bob
Back to the top
 
Posted
Rating:
#70030
Avatar

Community saint

One of the problems I find with ocPortal is that there are a lot of inconsistencies in the way that information is managed and displayed. I understand that this is because of the evolutionary nature of its life, but it is still frustrating for example knowing that I can do more with forum polls then I can with site-wide polls.

I'm taking my time building my first ocPortal site precisely because I want to try and avoid situations like those encountered by SoccerDad. I'd much rather find these thing out before I go live.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#70033
Avatar

Community saint

I'm in a sort of tricky situation. Various people have made different attempts to document this artist's life and his works over the past 20-plus years with little to show.

I got involved as a favor to my dad and it turned into an interesting project with no pressure. Then  I got lucky with the artist's family throwing open their archives including the artist's records and journals plus the family collection of art. Now, I feel I need to be able to demonstrate some momentum to keep this treasure trove of information and art available.

I have no doubt in my choice of CMS - I think most the others are mired in old approaches that will ultimately lead to new forks. But I am sometimes frustrated that little (or not so little) CMS-type things that I could easily do with shopping cart software are unavailable in ocPortal.

I do understand growing pains but I hope that there is a grand plan scribbled somewhere where they have thought through the consistency issues.

Bob
Back to the top
 
Posted
Rating:
#70048
Avatar

The short answer to most of this is, at the end of the day somebody needs to pay for significant new feature developments. A lot of what we have in ocPortal today came out of various forms of commercial project we've done, a few via direct feature sponsorship.
I'm very aware that non-commercial projects have no money for it, but this is the truth of things; the level ocPortal is at, it's no longer the case that things can be knocked up in spare time to an appropriate quality level.
We have a number of projects coming up where some big ocPortal advancements might be made, and we've done some that we could apply tomorrow if we weren't being strict on maintaining version compatibility at the moment.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#70056
Avatar

Community saint

While I may be frustrated at elements of ocPortal, I'd be a lot more frustrated with other CMS', so please don't take my frustration to negatively.

I certainly appreciate all the hard work that you guys have put into it. ocPortal is a fantastic CMS!.

Keep it up!!!

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#70058
Avatar

Thanks. I was more kind of putting out a subtle hint that if people see commercial projects that need doing they might mention ocProducts and sneak in suggestions to the client that they also need their own pet feature requests :lol:.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#70062
Avatar

I'll attach the patch we have. I can almost guarantee that this won't apply to the latest code, but someone technical could apply it manually and fix anything new this patch might miss.

The patch supports gallery media titles, gallery owners, and gallery view counts.
It's a pretty big patch.

We absolutely can't support this one at all I'm afraid (apart from commercial support of course, where we'd do your laundry if you want ;)). I can guarantee we will not be planning module database data upgrade paths in line with this patch, so it could stop future gallery upgrades working without a programmer's intervention.

Attachment


So in summary, I don't recommend anyone use this, but I thought I might as well put it out there.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#70066
Avatar

Community saint

Thanks for your response, Chris.

If this was a paid project, I'd get an estimate and let the client decide if it was worth it. Since it is a personal project, there really isn't much of a budget for such custom coding. I'll have to work on convincing art dealers to move to ocPortal - they'd need this addition and someone might be willing to pay for it.

And I agree with temp that ocPortal has been a huge benefit  for me and I feel is still substantially better than the competition.

Bob


Last edit: by BobS
Back to the top
 
Posted
Rating:
#73153
Avatar

Well-settled

Has anybody tried this patch yet?

and if I use it where exactly do I add it?

Making games is fun…having people play them is the reward!
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: