Bracket before $gimme in Cookbook
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi devs,

    The template reference chapter in the Cookbook 'Author and author
    biography' provides this example:

    {{ if ($gimme->article->defined }} by
    {{ $gimme->article->author->first_name }}
    {{ $gimme->article->author->last_name }}
    {{ $gimme->article->author->type }}
    {{ /if }}

    Is the bracket open in the first line before $gimme->article->defined a
    typo?

    Cheers!

    Daniel
  • 2 Comments sorted by
  • yes, typo :)

    On 31 May 2011 14:50, Daniel James <newscoop-dev@lists.sourcefabric.org>wrote:

    > Hi devs,
    >
    > The template reference chapter in the Cookbook 'Author and author
    > biography' provides this example:
    >
    > {{ if ($gimme->article->defined }} by
    > {{ $gimme->article->author->first_name }}
    > {{ $gimme->article->author->last_name }}
    > {{ $gimme->article->author->type }}
    > {{ /if }}
    >
    > Is the bracket open in the first line before $gimme->article->defined a
    > typo?
    >
    > Cheers!
    >
    > Daniel
    >
    >

    --
    Ljuba Rankovic
    Senior Front End Developer, Sourcefabric
    ljuba.rankovic@sourcefabric.org

    http://www.sourcefabric.org
    http://www.twitter.com/Sourcefabric
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Thanks Ljuba, two instances fixed Smile