I have a single entry image page in the gallery with comments. I’d like to paginate the page by the comments. I had many troubles, but finally I found out how to get work the pagination links. It did not work when I had the comments tag nested inside the entries tag. Actually everything is working except the {auto_path}. This is my code in short:
{exp:gallery:entries gallery="gallery_name"}
...
{/exp:gallery:entries}
{exp:gallery:comments limit="5" orderby="date" sort="desc" paginate="both"}
{name}
{comment}
{paginate}
{if "{total_pages}" != 1}
{if previous_page}<a href="http://{auto_path}">Previous</a>{/if}
{pagination_links}
{if next_page} <a href="http://{auto_path}">Next</a>{/if}
{/if}
{/paginate}
{/exp:gallery:comments}The Next/Previous links are result in a link like this:
<a href="http://www.mysite.com/gallery/image/6635/P5/{auto_path}">http://www.mysite.com/gallery/image/6635/P5/{auto_path}</a>Am I doing something wrong? Or is this a bug?