#Umbraco Tour views

1 messages · Page 1 of 1 (latest)

wooden bison
#

While creating a new tour, in each step you can add the view to show to the user. But where should the views be placed? in the static assets they are place in
/views/common/tours/[touralias]/[viewname]/[viewname].html
But i want to have my custom views,

pale spade
#

Hi there! you should be able to place it anywhere you like. Most common place is in App_Plugins, but you can also dump it in wwwroot. You just need to provide the path to your view in the 'view' property of the 'step' object.

So if I place my view in App_Plugins/MyPlugin/MyCustomTourView.html, then I can reference it in the step object as "~/App_Plugins/MyPlugin/MyCustomTourView.html"