Another Cookbook query...
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi devs,

    In the Cookbook chapter 'Profile pictures: Gravatar, Facebook, Twitter'
    it says:

    In order to make this work with comments, you should use the name input
    field and label it something like "Facebook name (optional)". The code
    below checks if an image is available on Facebook, and if not, does not
    display anything.

    {{ assign var="profile_fbname" value=`$gimme->comment->nickname` }}

    Surely this should say 'use the nickname input field'?

    Cheers!

    Daniel
  • 1 Comment sorted by
  • Vote Up0Vote Down Micz FlorMicz Flor
    Posts: 184Administrator
    you are right. nickname.

    On Mon, 2011-05-23 at 16:42 +0000, Daniel James wrote:
    >
    > {{ assign var="profile_fbname" value=`$gimme->comment->nickname` }}
    >
    > Surely this should say 'use the nickname input field'?
    >

    --
    -- please think about the environment before printing this mail

    -

    Micz Flor
    Head of Communication, Sourcefabric
    micz.flor@sourcefabric.org

    Sourcefabric
    Prinzessinnenstraße 20
    10969 Berlin, Germany
    DE +49 (0)30 44044999

    Subscribe to our Newsletter:
    www.sourcefabric.org/newsletter/

    www.sourcefabric.org
    www.twitter.com/Sourcefabric