Skip to content

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

@squarou

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions