Skip to content

[[+last_createdon]] issue in /chunks/post/disboardpost.chunk.tpl #35

Description

@squarou

[[+last_createdon]] isn't showing anything in /chunks/post/disboardpost.chunk.tpl
Changed it to [[+post_last_on]]

I had to add in this line core/components/discuss/controllers/web/messages/index.class.php on line 105 :

$threadArray['post_last_on'] = strftime($this->discuss->dateFormat,strtotime($threadArray['post_last_on']));

And now can use this [[+post_last_on:ago]] in core/components/discuss/themes/sfpapa/chunks/post/disboardpost.chunk.tpl

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions