Hi all, i'm wondering what the best way is to create a non umbraco page? Basically I want to run a bit of code to check the browser version and if say the user is running IE7 or less I want to redirect the user to a view instructing the user that the website wont run properly and they should upgrade.
I don't want to create an actual page in Umbraco if possible, just a standalone view. I also want to use a different layout compared to all my other Umbraco pages.
If I'm understnading correctly, AltTemplate is what you want. Go ahead and create a view oustide of your master (or inside it) called MyView (or whatever), go to http://mydomain.com/myview and you'll get that page. Or mydomain.com/somenestedumbracourl/myview and you'll still get it.
Best way to create custom non Umbraco page
Hi all, i'm wondering what the best way is to create a non umbraco page? Basically I want to run a bit of code to check the browser version and if say the user is running IE7 or less I want to redirect the user to a view instructing the user that the website wont run properly and they should upgrade.
I don't want to create an actual page in Umbraco if possible, just a standalone view. I also want to use a different layout compared to all my other Umbraco pages.
If I'm understnading correctly, AltTemplate is what you want. Go ahead and create a view oustide of your master (or inside it) called MyView (or whatever), go to http://mydomain.com/myview and you'll get that page. Or mydomain.com/somenestedumbracourl/myview and you'll still get it.
You can also use ?altTemplate=myview, heres some documentation on it: http://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/templating/alt-template/documentation
-Amir
is working on a reply...