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.


Editing custom dropdown lists in catalogues

Login / Search

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

Well-settled

Previously saved user-data deleted on saving edited list.

Greetings!

My site makes extensive use of catalogues for accessing a very wide spectrum of information that users might wish to retrieve selectively and collectively using Search queries. In effect, the catalogues concerned together comprise a common database. To help users researching a particular topic (or set of chosen related topics) get the fullest listing of relevant content for any one query, all catalogues include an identical set of "standard" keywords that are site-wide in scope. The set is presented as a custom dropdown list from which multiple keywords can be chosen as tags when a catalogue entry is added or edited. To make the scheme work, every catalogue entry has at least one such keyword tagged to it. 

My list of standard keywords, as one might expect, is far from perfect, and now and then the need to improve it becomes obvious. Unfortunately, editing it poses a serious problem: on saving the edit, all existing entries for the catalogue in question lose their previously tagged keywords.

I'm wondering if anyone reading knows of any way to prevent that from happening - I'd be truly delighted to learn how!

Thanks in anticipation.
Back to the top
 
Posted
Rating:
#105905
Avatar

Please confirm the exact field type involved, there are a few types of list field.


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:
#105906
Avatar

I can't reproduce with any list field type.

Unless you're actually removing or renaming.

The actual values selected are stored literally, not using any kind of ID of sequence number. So they should be very sticky.


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:
#105909
Avatar

Well-settled

Hi Chris, many thanks for your replies and time trying to reproduce this.

The field type is "Multiple items chosen from a list".

Chris said

I can't reproduce with any list field type. Unless you're actually removing or renaming. The actual values selected are stored literally, not using any kind of ID of sequence number. So they should be very sticky.

Are you saying that if I removed or renamed an item, the other chosen tags would not disappear from the entry's displayed output field?

I'm wondering if the behaviour is due to the way I've built the list - I've ended each item with a semicolon and a space, then the pipe symbol. Would that matter?
Back to the top
 
Posted
Rating:
#105910
Avatar

Are you saying that if I removed or renamed an item, the other chosen tags would not disappear from the entry's displayed output field?

Correct. It would persist until editing, at which point it would be unavailable and the user would have to change the selection.

I can't see any catalogue editing scenario where the displayed value of entries is erased/changed, unless that entry is then subsequently directly edited and it's choice is no longer available.


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:
#105929
Avatar

Well-settled

Hi Chris.

Thanks once more - that's helpful and reassuring to know and a good base for troubleshooting any mistakes I might have been making - and missed! I'll post back when I've made some progress on that.

Kind regards,

Richard
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: