How to customize the Current working theme

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 лет назад
How to customize the Current Working theme. For example below code will execute for each and every block of cshtml call dynamically by the nopCommerce FrameWork. this always sets to DarkOrange theme.

private string CurrentTheme
        {
            get { return EngineContext.Current.Resolve<IThemeContext>().WorkingTheme; }
        }



How to set it dynamically at the front end when user clicks on a particular theme.(Without changing the setting tables defaulttheme setting attribute because it should be client's choice)
12 лет назад
michale wrote:
How to customize the Current Working theme. For example below code will execute for each and every block of cshtml call dynamically by the nopCommerce FrameWork. this always sets to DarkOrange theme.

private string CurrentTheme
        {
            get { return EngineContext.Current.Resolve<IThemeContext>().WorkingTheme; }
        }



How to set it dynamically at the front end when user clicks on a particular theme.(Without changing the setting tables defaulttheme setting attribute because it should be client's choice)


In the admin Section , Navigate to Configuration>Settings>General & Misc Settings
http://admin-demo.nopcommerce.com/Admin/Setting/GeneralCommon
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.