Welcome Guest! To enable all features please Login or Register.
Options
View
Go to last post Go to first unread
Offline vcsharp  
#1 Posted : Monday, October 2, 2017 9:46:32 PM(UTC)
vcsharp


Rank: YAF Camper

Reputation:

Joined: 10/3/2017(UTC)
Posts: 29

Thanks: 8 times
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?

Edited by user Tuesday, October 3, 2017 11:50:35 AM(UTC)  | Reason: Not specified

Sponsor
Offline tha_watcha  
#2 Posted : Monday, October 2, 2017 9:55:11 PM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

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: 3/6/2010(UTC)
Posts: 3,721
Germany

Thanks: 70 times
Was thanked: 1147 time(s) in 977 post(s)
You need to create a new XML file for your theme. Look at the yafmobile.xml file.
Offline vcsharp  
#3 Posted : Tuesday, October 3, 2017 12:02:23 AM(UTC)
vcsharp


Rank: YAF Camper

Reputation:

Joined: 10/3/2017(UTC)
Posts: 29

Thanks: 8 times
Originally Posted by: tha_watcha Go to Quoted Post
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.
Offline tha_watcha  
#4 Posted : Tuesday, October 3, 2017 8:35:11 AM(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

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: 3/6/2010(UTC)
Posts: 3,721
Germany

Thanks: 70 times
Was thanked: 1147 time(s) in 977 post(s)
Originally Posted by: vcsharp Go to Quoted Post
Originally Posted by: tha_watcha Go to Quoted Post
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.

thanks 1 user thanked tha_watcha for this useful post.
vcsharp on 10/3/2017(UTC)
Offline vcsharp  
#5 Posted : Tuesday, October 3, 2017 11:50:16 AM(UTC)
vcsharp


Rank: YAF Camper

Reputation:

Joined: 10/3/2017(UTC)
Posts: 29

Thanks: 8 times
Originally Posted by: tha_watcha Go to Quoted Post
Originally Posted by: vcsharp Go to Quoted Post
Originally Posted by: tha_watcha Go to Quoted Post
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.
Rss Feed  Atom Feed
Users browsing this topic
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.

Notification

Icon
Error