Thursday, November 20, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  Bugs  2.0 Beta - Addi...
 2.0 Beta - Adding Metadata to Mobile template
 
spacecowboy
176 posts
5th
Joined
11/21/2007

2.0 Beta - Adding Metadata to Mobile template
Posted: 17 Jan 08 6:49 AM

Unlike the standard view where you can just hack about with metaheader.ascx there is no equivalent in the mobile template - due to the strangeness of some mobile browsers you sometimes need to do this so I just created a new control called "MobileMetaHeader" and dropped it into the mobile folder. Then changed the head runat="server" to:

<head id="Head1" runat="server">
   <%@ Register TagPrefix="SplendidCRM" Tagname="MobileMetaHeader" Src="MobileMetaHeader.ascx" %>
   <SplendidCRM:MobileMetaHeader ID="ctlMetaHeader" Runat="Server" />
</
head>

Now I can easily manipulate the metadata as before. In this occasion I added:

<meta name="viewport" content="initial-scale=1, user-scalable=yes" />
Which scales the iPod browser properly when it loads
  Mainstream Forums  Bugs  2.0 Beta - Addi...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.
SplendidCRM and SplendidCRM Software are trademarks of SplendidCRM Software, Inc. SugarCRM is a trademark of SugarCRM Inc. in the United States, the European Union and other countries. All other trademarks used in this web site are the property of their respective owners.