Great module!
I am using the API within a custom theme, and I found it usefull to be able to send $attributes along to the final theming call.
This patch passes the attributes along from theme_flickr_photoset() to theme_flickr_photo().
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | pass_attribs_from_photoset_to_photo-1602154-3.patch | 1.06 KB | lolandese |
| flickr.module.patch | 1.16 KB | jmlavarenne |
Comments
Comment #1
lolandese commentedThere is a patch, so something to review.
Thanks.
Comment #2
lolandese commentedCan you provide a simple use case to test with?
Thanks.
Comment #3
lolandese commentedRe-rolled patch against D7. Furthermore clarified some code comments.
Even if the module itself currently does not need this, if it aspires to be used as an API (as it does) it makes sense to implement this.
Comment #4
lolandese commentedOnce this will go in the stable version, a note should be included about it in the documentation of Flickr Filter. Something like:
Probably that was just what you were after for your use case, as it might be exactly what others might want.
http://drupalcode.org/project/flickr.git/commitdiff/0708366
Once tested on D6, I'll commit it also there.
More info about the HTML structure of an embedded Flickr image and where it is generated in the code, can be found in the Flickr module's documentation at https://drupal.org/node/2170535#html.
Thanks.
Comment #6
lolandese commentedComment #7
lolandese commentedComment #8
lolandese commentedOn D7 this is fixed. For D6 see #2367755: D6 maintenance.
Thanks.
Comment #9
lolandese commentedSetting this back to D7 and being 'fixed (closed)'.
Main reason is the fact that links to this issue show the status on hover without revealing the version (6 or 7). This might give the impression that the mentioned issue will not be solved, while in fact it is already fixed for the D7 version. 'Fixed (closed)' reflects the current status correctly for D7. 'Closed (won't fix)' is only valid for the minimally maintained D6 version of the module.