Needs review
Project:
Flickr Rippr
Version:
6.x-6.x-dev
Component:
Flickr Comments
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2011 at 20:14 UTC
Updated:
30 May 2012 at 11:40 UTC
My comment list is a never-ending parade of 'flickr comment' titles. I think this would look better if we were to instead cut the first, say, 30 characters of the comment and use this as the title field. I did this by replacing line 94 with
'subject' => t(substr(html_entity_decode(html_entity_decode($c['_content'])),0,30)), (patch attached).
There are probably better ways to do this, but maybe this can get the ball rolling.
If there is any interest in this, maybe we can add an admin setting to determine the size of the truncation or even some other format.
| Comment | File | Size | Author |
|---|---|---|---|
| flickrcomments.module.patch | 574 bytes | Dr Jay |
Comments
Comment #1
Dr Jay commentedFYI in case anyone is still looking at this -- I've been running this patch for more than a year and it is working well.