Done.
I was kind of happy with jak's workaround though : )
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
- Previous 10 entries
- 1
- Page 22(current)
- 3
- Next 10 entries
On a different note.. Toying around with the example I've posted above, I'm finding that every time i add a record or publish the ContactList Page I'm getting taken back to the Content tab instead of my Contact list. Click orgies are surely to ensue.
Found a corresponding ticket here that was closed 16 months ago.
While you're on it, can anyone reproduce this behaviour?
I can now confirm that my solution no longer works on any of my installs... (on 3.0.0 stable now)
Also: I cannot see any uploaded images in the listview of the Files section. Something must have changed after v beta3 (since it worked there, tested it again just now). Looks like StripThumbnail and other functions like it just aren't called any more... :(
ya something changed in GridFieldDataColumns in RC1 it still doesn't work in 3.0 final. I've managed to diff beta 3 and final but I'm not sure why it would be broken. As far as I can see it shouldn't have worked in beta 3 it should have been entity encoded in beta 3.
Its kinda too bad that this is broken it was really nice to be able to say Image.CMSThumbnail in your summary fields and it would just work. Maybe it will get addressed in the hackathon tonight, and come in 3.0.1
Confirming for 3.0.0 stable. Thumbnails are broken in gridfields, including the files section. Filing a ticket now.
Looks like the problem is indeed the GridFieldDataColumns->getColumnContent() function: if you replace line 132:
$value = Convert::raw2xml($gridField->getDataFieldValue($record, $columnName));
by the beta3 version
if(strpos($columnName, '.') === false) {
$value = $record->XML_val($columnName);
} else {
$value = $this->getValueFromRelation($record, $columnName);
}
It works again. But obviously there is a reason for the code change. I've done some tracing to find out where it goes wrong, but I can't quite grasp the reason, so I guess we'll have to wait a bit...
I'm kinda hoping that this gets fixed during the hackathon today and comes to us in 3.0.1, but we'll have to wait and see. I'd bug Ingo (chillu) about it on the channel but he's probably very busy :). At least with the ticket raised hopefully it will get seen and fixed.
Any updates on this from the hackathon?
- Previous 10 entries
- 1
- Page 22(current)
- 3
- Next 10 entries