Photoshop Tutorials
Members: 45,615 | Register
Photoshop TutorialsPhotoshop Video TutorialsFree Photoshop BrushesRegisterTag CloudTag CloudSubmit A New Article
Do you have a website to sell? If so, check out WM Media, the leading company that buys websites.
Promote your website! Social Bookmarking Services and Directory Submission Services at affordable prices!

In this tutorial, we've explored the topic of serving content with multiple templates. We looked at the different approaches available to serve content to mobile devices, including using basic templates and content adaptation.
We learned how to detect the presence of a URL parameter to dynamically choose the template loaded in a view, and how to use the TEMPLATE_DIRS setting to override a template on demand without having to change any code. Finally, we leaned how to serve a second set of templates to a separate domain name by creating a settings fi le to override the default settings. We also explored
a technique using middleware to redirect users to a different URL based on their browser's user agent string.
Posted by NehaS 1116 days ago

Comments Who Voted Related Links
Privacy Policy