# Adding a custom Views folder to the search path?

**URL:** <https://forum.litium.com/t/adding-a-custom-views-folder-to-the-search-path/282>\
**Category:** Questions\
**Created:** [October 11, 2018, 1:30pm UTC](https://forum.litium.com/t/adding-a-custom-views-folder-to-the-search-path/282 "2018-10-11T13:30:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin.w](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/robin.w/32/75_2.png) [@Robin.w](https://forum.litium.com/u/Robin.w)\
**Post date:** [October 11, 2018, 1:30pm UTC](https://forum.litium.com/t/adding-a-custom-views-folder-to-the-search-path/282/1 "2018-10-11T13:30:21Z")

</div>

Hi, I have a few special views that does not reside in the /Views Folder but in the /SpecialViews folder, I know that I can hardcode the View uri when outputting the view but I would like to add the patch to the view search tree so that I can use the same logic allover.

By default it looks in:

~/Views/SectionTabs/Index.aspx  
~/Views/SectionTabs/Index.ascx  
~/Views/Shared/Index.aspx  
~/Views/Shared/Index.ascx  
~/Views/SectionTabs/Index.cshtml  
~/Views/SectionTabs/Index.vbhtml  
~/Views/Shared/Index.cshtml  
~/Views/Shared/Index.vbhtml

how would I go about adding:  
~/SpecialViews/~classname~/Index.cshtml

Thanks!

Litium version: 6.2

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [October 11, 2018, 9:01pm UTC](https://forum.litium.com/t/adding-a-custom-views-folder-to-the-search-path/282/2 "2018-10-11T21:01:01Z")

</div>

Litium does not use any own view engine so you can follow any example that you can find about how you can change this.

I found this stackoverflow answer that I think is doing what you want [https://stackoverflow.com/a/7557275](https://stackoverflow.com/a/7557275)
