silverstripe/silverstripe-framework — pull request #3202 by sunnysideup (2014-06-11 23:45:40+00:00)
Title: allow themed renderWith even if theme is disabled

```php
$this->renderWith(foo)
```
called while the user is editing the CMS (e.g. when creating a newsletter) often leads to unexpected results: the theme of the site is not being used and therefore no themed templates can be found because the CMS turns of the site's theme (for good reasons).

This proposed addition to the renderwith method allows devs to render in theme style even if called from within the CMS (of other situations where the theme is disabled).

Maybe it will be better to allow it to work both ways - so that you can choose with or without theme. I am happy to resubmit of course.

Nicolaas