#1
I want to create another theme for mobile devices, in addition to YAFMobile. So, in theme drop down for mobile two themes would display and I could select one of the two available mobile themes.

I can copy the YAFMobile folder to the new theme folder and change theme.css for my new theme. That part I understand.

Question
How do I make my new theme appear in mobile themes drop down?
Topic Starter
  • vcsharp
  • Rank: YAF Commander
  • Reputation:
    Honored
    85.4%
  • Joined: 03/10/2017
  • Posts: 76
  •  Man  India
  • Thanks: 24 times
  • Was thanked: 1 time(s) in 1 post(s)
#2
You need to create a new XML file for your theme. Look at the yafmobile.xml file.
UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.
  • Joined: 06/03/2010
  • Posts: 4,005
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1207 time(s) in 1032 post(s)
#3
Originally Posted by: tha_watcha

You need to create a new XML file for your theme. Look at the yafmobile.xml file.



Ok. Thanks.

How will the drop down for mobile themes know that the new theme is a mobile theme? I mean the drop down at Admin > Settings > Board Settings > Mobile Theme.
Topic Starter
  • vcsharp
  • Rank: YAF Commander
  • Reputation:
    Honored
    85.4%
  • Joined: 03/10/2017
  • Posts: 76
  •  Man  India
  • Thanks: 24 times
  • Was thanked: 1 time(s) in 1 post(s)
#4
Originally Posted by: vcsharp

Originally Posted by: tha_watcha

You need to create a new XML file for your theme. Look at the yafmobile.xml file.



Ok. Thanks.

How will the drop down for mobile themes know that the new theme is a mobile theme? I mean the drop down at Admin > Settings > Board Settings > Mobile Theme.


Restart the application and your new theme should show up in the list.


UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.
  • Joined: 06/03/2010
  • Posts: 4,005
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1207 time(s) in 1032 post(s)
#5
Originally Posted by: tha_watcha

Originally Posted by: vcsharp

Originally Posted by: tha_watcha

You need to create a new XML file for your theme. Look at the yafmobile.xml file.



Ok. Thanks.

How will the drop down for mobile themes know that the new theme is a mobile theme? I mean the drop down at Admin > Settings > Board Settings > Mobile Theme.


Restart the application and your new theme should show up in the list.



Great. It works now. Thanks for your quick answer.
Topic Starter
  • vcsharp
  • Rank: YAF Commander
  • Reputation:
    Honored
    85.4%
  • Joined: 03/10/2017
  • Posts: 76
  •  Man  India
  • Thanks: 24 times
  • Was thanked: 1 time(s) in 1 post(s)
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved