Hence the links would also need to respect the generated pagination. So I need to adjust the links generated in ContentNavigationBuilder->collect().
A hook or event would be enough for that.
Would that be an option? I could also create a PR for an event dispatch if you like. At the moment I need to override the content element or create a parseTemplate hook which is not very precise since I need to check for the template name.
Hello,
at first thanks for the great plugin. It works like a charm :+1:
Only one thing bothers me. I use https://github.com/heimrichhannot/contao-news-pagination-bundle which generates a pagination (automatically based on character length or manually based on wrapper content elements) in the
parseArticles
hook.Hence the links would also need to respect the generated pagination. So I need to adjust the links generated in
ContentNavigationBuilder->collect()
.A hook or event would be enough for that.
Would that be an option? I could also create a PR for an event dispatch if you like. At the moment I need to override the content element or create a parseTemplate hook which is not very precise since I need to check for the template name.
Thanks in advance!
Bye Defcon0