Wednesday, June 8, 2011

Tag to define template type in theme.xml

After discussing the proper meta data entry in the theme.xml i was able to finalize a proper tag in theme.xml.So we will be using <type> to indicate a particular theme's type.At the moment we are defining two types of values for <type>.

1. standard - Normal Desktop/laptop screen size supported themes. (Of course these themes support apple IPAD too.But in future we may have different type of theme for IPAD or tablet optimized too. ;) )

2.mobile - for themes that support mobile devices , (iphones , android phones etc.)

Following is an extract from the new theme.xml for a mobile theme.


<id>basic</id>
<name>Basic</name>
<author>Roller Weblogger</author>
<type>mobile</type>

No comments:

Post a Comment