The link to the postcard and layout on the website (once retrieved) look great, but it'd be nice to support the active theme's "User pictures in posts" as other content types do.
For instance, I have "User pictures in posts" checked in my theme and it'd be great to display the picture of the author above/below/next-to the postcard text when viewed/retrieved on the website.
Thanks,
KV
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | postcard_avatar.patch | 2.13 KB | add1sun |
Comments
Comment #1
add1sun commentedI think this does what you are looking for. It will display the user avatar if there is one and if the theme has the "User pictures in posts" option checked off. This patch is against the 5 dev version since all new features go there. If it is an easy port (and I think this one would be) then it can be looked at for backporting to 4.7 once we determine it really works.
So, here is a patch for testing against the 5.x-1.x-dev tarball. Please test this and report back before I will apply the code.
Comment #2
add1sun commentedIf ya'll want new features you're going to have to help test and review the patches.
Comment #3
krisvannest commentedWow thanx for fast patch! I was away on a project and moving soon, so haven't been on Drupal.org for a bit.
Unfortunately, I'm running 4.7.x-- haven't upgraded to 5.x yet-- so can't test this particular patch... but hopefuly someone will and meanwhile really appreciate the fast turn-around (I'll also check out the other updates you made).
Thankx,
KV
Comment #4
add1sun commentedI went ahead and committed this to the 5 dev branch so if anyone wants to try it out get the dev tarball.
Comment #5
(not verified) commented