Skip to content

idx Placeholder #19

@wuuti

Description

@wuuti

getFeed is missing a idx placeholder which you can use in your tpl to number the different entries.

Just adding the line

$modx->setPlaceholder("idx",$itemIdx+1);

right before the chunk output is generated will give it to you (this will number the items from 1...n).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions