Gravatar in latest comments

Get help with installation and running PivotX 2.0.x here. Please do not post Extension or Theme related questions here.

Gravatar in latest comments

Postby PixelPrinses » Mon Apr 04, 2011 4:34 am

Hi there!

I am trying to show the avatars in latest comments in my sidebar. This is the code:

Code: Select all
    <h3>[[t]]Latest Comments[[/t]]</h3>
                <ul>
                [[ latest_comments
                format="<li><a href='%url%' title='%url%'><img class="gravatar" src="%gravatar%" width="20" height="20" />%name% op %title%:</a>%comm%</li>"
                length=100
                trim=16
                count=8
                ]]
                </ul>


But whatever I do, the gravatar does not appear.

What, oh, what am I doing wrong here?

Thanks in advance!
Regards,
Irene
http://www.pixelprinses.nl/

Nothing of me is original, I'm the combined efforts of everyone I ever met!
User avatar
PixelPrinses
 
Posts: 46
Joined: Tue Sep 28, 2010 6:54 pm

Re: Gravatar in latest comments

Postby streeff » Mon Apr 04, 2011 6:35 am

Can you give a URL?
Evert Albers, Streeff - web // branding // information design - Amersfoort & Amsterdam, NL
Site: http://www.streeff.nl
User avatar
streeff
 
Posts: 146
Joined: Sat Jul 25, 2009 9:28 pm
Location: Amersfoort, NL

Re: Gravatar in latest comments

Postby PixelPrinses » Mon Apr 04, 2011 6:52 am

Sure, yes, it's my own url: http://www.pixelprinses.nl. And thanks in advance! :-)
Regards,
Irene
http://www.pixelprinses.nl/

Nothing of me is original, I'm the combined efforts of everyone I ever met!
User avatar
PixelPrinses
 
Posts: 46
Joined: Tue Sep 28, 2010 6:54 pm

Re: Gravatar in latest comments

Postby hansfn » Mon Apr 04, 2011 7:39 am

latest_comments doesn't support gravatar. This could be considered a bug.
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Gravatar in latest comments

Postby Harm10 » Mon Apr 04, 2011 2:29 pm

It is not described as a feature in the template documentation so logically this cannot be a bug. I can imagine that people want it (although normally a side bar has only limited space so why display an additional gravatar?). If it is simple to add then I am not going to stop that but otherwise it should go on Uservoice imho.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)


Return to 2.x Support Forum

Who is online

Users browsing this forum: No registered users and 6 guests

cron