TYPO3, Extbase, Paginate
<p>I am developing a simple Extbase/Fluid extension for TYPO3 CMS 6.1.17. It works fine, but I am not able to implement a ViewHelper to paginate. </p>

<p>Looking around, I tried to hack some code from <a href="https://typo3.org/extensions/repository/view/news" rel="nofollow">News</a>. However I fail to see how (and where) I have to set my TS.</p>

<p>I tried (setup.ts)</p>

<pre><code>plugin.tx_myext.view.widget.Myvendor\Myext\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = EXT:myext/Resources/Private/Templates/
</code></pre>

<p>but then I get error:</p>

<pre><code>Could not analyse class:Myvendor\Myext\ViewHelpers\HeaderDataViewHelper maybe not loaded or no autoloader?
</code></pre>

<p>which I do not know how to fix. If I try:</p>

<pre><code>plugin.tx_myext.view.widget.Myvendor\Myext\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = EXT:myext/Resources/Private/Templates/ViewHelpers/Widget/Controller/index.html
</code></pre>

<p>I get the FE error:</p>

<pre><code>No template was found. View could not be resolved for action "index" in class "Myvendor\Myext\ViewHelpers\Widget\Controller\PaginateController"
</code></pre>

<p>If you spot what I am not seeing, please let me know.</p>

<p>thanks 
mario</p>