Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2011 at 22:38 UTC
Updated:
21 Jan 2012 at 06:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
damienmckennaSubscribe.
Comment #2
swentel commentedUpdated patch - form is like in views now, see http://imageshack.us/photo/my-images/850/screenshot20110907at193.png/
Need to test this patch a bit more though, so setting needs work.
Comment #3
swentel commentedUpdated again - reverse doesn't work yet though - will figure it out tomorrow.
Comment #4
swentel commentedOk, this patch should be good.
Comment #5
crymzyn commentedThank you for your work on this, I am needing it desperately to avoid clogging up disk space with all of the extra images I am uploading currently. My current set up is to use a completely different image field for the teaser view of my products (at antiquejackpot.com), and this is hopefully going to allow me to get rid of that extra field.
However, I updated CTools this morning, and then applied your patch... For some reason, I am not seeing the extra field(s) to drop in the values of what is to be shown - this is the case for both Colorbox and regular Image fields. I've cleared my local cache, the site cache, and even ran the update.php script. Is there something I'm missing? I can give you anything you need to troubleshoot, just let me know.
Thanks again!
Edit: FYI, this is a Drupal Commerce site if that changes anything...
Comment #6
thepanz commentedCrymzyn: I've implemented what you're looking for, try my module: http://thepanz.netsons.org/post/drupal7-image-formatter
Small and clean!
Cheers
Comment #7
crymzyn commentedthePanz................YOU DID IT!
I have tried Display Suite, Field Multiple Limit, and a number of different solutions, but none of them seemed to play well with Commerce. Now I have exactly what I need - teasers with 1 image!
Thanks so much!
Comment #8
john morahan commentedDidn't work if there's no settings form for the field to begin with - attached patch fixes. Otherwise working.
I think I see what you were aiming for with the translations and explode, so I continued down that path.
I'm not sure about the UI. Especially having to type in the word "all" seems a bit confusing, especially as there's no hint about how to get all items to display once you've changed the default to something else.
How about:
What do you think?
Comment #9
john morahan commentedSame patch as above, but with the alternative UI.
Comment #10
awebb commentedThis should be ready.
Comment #11
merlinofchaos commentedCommitted and pushed!