View Issue Details

IDProjectCategoryView StatusLast Update
545Composrcataloguespublic2013-06-01 23:42
ReporterDuck Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary545: Allow Multiple Selection of Cross Catalogue Entries
DescriptionNewly added was the ability to create a field entry that connects to a catalogue entry of another catalogue and I find this really cool but wouold be even cooler if it could select multiple values as well. Example I make an AWARDS catalogue of a bunch of ribbons then an AWARDED catalogue which holds members and all the medals they are awarded (from selecting multiple values via the AWARDS catalogue.

Just adding here for thoughts from others.
TagsNo tags attached.
Attach Tags
Attached Files
new_field_types.zip (55,997 bytes)
Time estimation (hours)5
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2012-06-05 19:53

administrator   ~593

Not to take away from this issue, but the example use case may already be possible via the existing awards system. Creating a number of awards of type 'member', then associating them to members. Then visiting the member profile and seeing it linked from next to the page title.

Not tested though, but IIRC it should be possible.

Duck

2012-06-05 20:44

reporter   ~594

Last edited: 2012-06-05 20:45

Hmm that sounds very interesting and something I will try for the use case I mentioned.

However I have several other use cases in mind that would probably not be solved this easily and would more benefit from the feature request. Like for instance Thinking in terms of a Clan site I would like a list of Clans (CLANS catalogue) that posssible Connects to a GAMES catalogue that lists all the games they play. I know I could build a list of games for a multiselect list but then I wouldn't have a cool games catalogue that holds info like Game Long names and Short names and Icons and Descriptions and links to Developer website etc

In a more practicle example of usefulness to a business site consider maybe an ingredients catalogue that can hold spices meats veggies etc and then a Recipes Catalogue that can list the multiple ingredients used for a recipe. I am sure there could be hundreds of uses where something like this would be extremely valuable and as is mentioned Composrs Catalogue system is so advanced it practicly allows non-programmers to develop their own database creations. This would be that one step further to making that statement very true.

Again it is fuel for thought and I thought I'd add the feature request for it of course only you can determine how viable it would be to add and what estimate of hours to do something like this would entail as this is too far past my scope of ability (at least as of yet) with programming for Composr.

Guest

2012-11-02 22:34

reporter   ~1042

I like the idea, and would like to support Duck in this venture. I've initially sponsored a SINGLE credit, because that is what I have available at the moment, but I will come up with something more meaningful in a few days!

Guest

2012-12-11 23:03

reporter   ~1097

I've added some credits, but I think I misread the tracker total. If not enough, I'll top it up; if too much, I will get staff agreement to transfer the 'extra' to another feature.

Currently experiencing the usual 'run-around' with PayPal. I use UK credit cards, but I have a Portugal address. The cards are all 'verified' by the issuers, if only PayPal could be bothered to add a check in their forms, but they instantly view my details with suspicion. So I have to go through a 2-3 day checking period, which could stretch into 30 days.

Please bear with me!

sholzy

2012-12-12 00:35

developer   ~1098

Your 3 credits brings this to 100% funded, once PayPal gets off their duff.

Guest

2012-12-17 16:22

reporter   ~1100

Finally managed to get the PayPal transaction 'approved'. The whole project is now funded.

Chris Graham

2013-01-11 20:24

administrator   ~1134

Just a quick note that this is very much on the development radar - not forgotten. Development will definitely start this month.

Chris Graham

2013-01-25 06:05

administrator   ~1173

Ok, this turned out to be fairly straight-forward, so I did some more to compensate for that.

There are a few new field hooks. You'll see the field types in the UI with proper titles of course, not these codenames...
content_link_multi -- link to multiple items of content (not catalogue entries, some other content type)
reference_multi -- link to multiple entries in a catalogue
upload_multi -- upload multiple files
picture_multi -- upload multiple pictures
video_multi -- upload multiple videos
url_multi -- multiple URLs

Additionally, there's this change:
content_link -- there is now a wider set of allowed content types. Previously it was only hierarchical ones, but now it's any kind of Composr content type (even things like banners).

I have attached a v9 patch as a file in this tracker issue. The development is in a v9 branch in git, called 'multi_reference'. I intend to merge it into v10 at a later point (git makes this kind of thing fairly easy).

Chris Graham

2013-01-25 06:07

administrator   ~1174

Note that this issue is left open simply because I haven't merged it into the mainline branch yet. Other than that, it is done (unless any bugs are found).

Chris Graham

2013-03-01 17:21

administrator   ~1256

Merged into v10

Duck

2013-05-30 19:50

reporter   ~1471

Last edited: 2013-05-30 19:51

First chance I have had to start playing with this (in v9.0.6) and the Multiple links to catalogue entries is NOT performing as expected.


I made a catalogue with a list of Games (just a small list for testing) then made a catalogue for Clans and tried to choose the Multi reference from Games catalogue to chow the games played by the clan however I can only select one game not multiple which is what I was expecting to happen.

Chris Graham

2013-05-31 15:14

administrator   ~1473

Hi,

So if you hold down ctrl (or the command key on a mac), it doesn't let you select multiple items?

I'll take a look at it soon :). I know it is working well on v10, so it might be a problem with the v9 backport.

Duck

2013-05-31 17:37

reporter   ~1474

That is correct. It is listing as tree view but holding ctrl key or shift does nothing. I can only select one entry at a time. It just occurred to me though that I set this up some time ago and perhaps some updates or something may have changed things. I have yet to test on a cleaner more up-to-date install so I will do so when I get a chance and report back.

Chris Graham

2013-05-31 17:44

administrator   ~1475

There's no need, I'm happy to test. However if you can give me access to the/an environment where it's not working, I can likely fix in situ (and copy the fix back here) and that'll be quicker for both of us :)

Duck

2013-05-31 20:33

reporter   ~1476

Oh I forgot to mention that the catalogue in question to see the problem is called Clans2 there you you select the games from the games catalogue. I PM'd you login and ftp details but let me know if you are missing anything.

Chris Graham

2013-06-01 23:42

administrator   ~1478

Thanks. Actually, it works for me. I checked your profile and saw you're on Firefox. There was a bug in the stock Composr's tree list (or a workaround for a bug in Firefox, depending on opinion). For some reason I did not post it as a hotfix, but you can find it here:
https://github.com/chrisgraham/Composr/commit/1b36771ef4316cf5cc9f64e6ec14b626978a977c

Issue History

Date Modified Username Field Change