<p>It looks like the issue here is that the Results Template and Options Template include the file extension <code>.twig</code>. Removing the extension <code>.twig</code> should get things working:</p>

<pre><code>_reports/dealer-export/options
</code></pre>

<p>I've added it to our list to improve this functionality in the future. We should be able to strip off the extension behind the scenes or do what we need to do with it regardless of whether you add it or not. Sprout Reports does loop through and check for all supported extension types for your site on the back end when no extension is provided.</p>

CC BY-SA 3.0
2018-03-22T02:13:54.573Z
2018-03-22T02:13:54.573Z
Ben Parizek
<p>My Sprout Report I just set up is not rendering the "options" template.</p>

<p>The results and options template both exists, and have been copied from the examples directory that came with Sprout Forms. This options template is rendered on the build in "Users and User Groups" report - but not on mine.</p>

<p>The only difference is my report has a data source of "Custom Twig Template" as opposed to "Users" - but that shouldn't matter.</p>

<p><a href="https://sprout.barrelstrengthdesign.com/craft-plugins/reports/docs/custom-reports/custom-twig-template-report" rel="nofollow noreferrer">The docs</a> and the built in examples aren't shedding any light on the situation. Thanks.</p>

<p><a href="https://i.sstatic.net/c8wbv.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/c8wbv.png" alt="enter image description here"></a></p>

CC BY-SA 3.0
2018-03-21T22:38:41.990Z
I believe the issue may be that you have included the file extension `.twig`. Can you try removing that and see if that gets things working? So: `_reports/dealer-export/options`. I'll add it to our list to be smarter about that if that's the case.
Ben Parizek
CC BY-SA 3.0
2018-03-22T00:32:34.533Z
Ah, that was totally it Ben. If you want to put that in as an answer I'll mark that as the accepted one. Thanks.
JamesNZ
<templating>
Options not rendering on Sprout Reports report
# Options not rendering on Sprout Reports report

(Asked by: username_0 on 2018-03-21)

My Sprout Report I just set up is not rendering the "options" template.

The results and options template both exists, and have been copied from the examples directory that came with Sprout Forms. This options template is rendered on the build in "Users and User Groups" report - but not on mine.

The only difference is my report has a data source of "Custom Twig Template" as opposed to "Users" - but that shouldn't matter.

[The docs](https://sprout.barrelstrengthdesign.com/craft-plugins/reports/docs/custom-reports/custom-twig-template-report) and the built in examples aren't shedding any light on the situation. Thanks.

[![enter image description here](https://i.sstatic.net/c8wbv.png)](https://i.sstatic.net/c8wbv.png)

**Tags:** templating
> **Comments:**
> **username_1**: I believe the issue may be that you have included the file extension `.twig`. Can you try removing that and see if that gets things working? So: `_reports/dealer-export/options`. I'll add it to our list to be smarter about that if that's the case.  
> **username_0**: Ah, that was totally it Ben. If you want to put that in as an answer I'll mark that as the accepted one. Thanks.  

---

## 1 answers

### Answer by username_1 on 2018-03-22. Score: 2 | Accepted answer

It looks like the issue here is that the Results Template and Options Template include the file extension .twig. Removing the extension .twig should get things working:
_reports/dealer-export/options

I've added it to our list to improve this functionality in the future. We should be able to strip off the extension behind the scenes or do what we need to do with it regardless of whether you add it or not. Sprout Reports does loop through and check for all supported extension types for your site on the back end when no extension is provided.


---

