theowi
theowi

Reputation: 820

tx_news Paginate with dynamic variables

I have created a custom template for paginations. But I want to display a count of all news articels and so I'm looking for a solution to pass a variables to the pagination. I don't want to build a custom viewhelper, I want to stick with the original PagionationViewhelper.

Maybe have anyone a idea?

Upvotes: 0

Views: 482

Answers (1)

ScubaBen
ScubaBen

Reputation: 138

Make the counting with a cObject like lib.newscount then you pass that with the cObject Viewhelper like:

<f:cObject typoscriptObjectPath="lib.newscount"></f:cObject>

Upvotes: 1

Related Questions