MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

switch mobile themes? (Zatvorena) (Mono Support )

11756 put(a) pogledan, 3 odgovor(a) 17.4.2014. 21:46:48Kreirao(la) gstadter
gstadter

gstadter

17.4.2014. 21:46:48
Is there a location in the web.config or elsewhere, where the theme for mobile users can be switched/specified, as can be done for theme used by desktop?   or is the only option to modify what is within the App_Themes\Mobile and App_Templates\Mobile folders?
Ovaj sadržaj još nije ocijenjen. 
669 Reputacija 67 Ukupno objava
khorvat

khorvat

18.4.2014. 6:57:50
Hi,

you can go to the "/MonoX/Mobile" folder and change the Theme="Mobile" to Theme="YourTheme" on every page. Another approach would be to remove the Theme="Mobile" from every page and then add web.config to the folder with the following content:

<?xml version="1.0" encoding="utf-8"?>
  <system.web>
      <pages theme="YourTheme" />
  </system.web>
</configuration>
This is the only way to start building new mobile theme.

Regards
Ocjena 5,00, 1 glas(ova). 
15993 Reputacija 2214 Ukupno objava
gstadter

gstadter

18.4.2014. 12:41:09
I'm going to go with the second method you suggested.   Thank you very much, sir!
Ovaj sadržaj još nije ocijenjen. 
669 Reputacija 67 Ukupno objava