Hey all,
Can someone please point out to me what should i do differently to get
profile views on sandbox .The canvas view is working properly.P.S.
This is just a sample code from Opensocial wiki on templates.
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Server-side Template">
<Require feature="opensocial-data" />
<Require feature="opensocial-0.8"/>
<Require feature="flash"/>
<Require feature="setprefs"/>
<Require feature="dynamic-height"/>
<Require feature="opensocial-templates">
<Param name="process-on-server">true</Param>
</Require>
</ModulePrefs>
<Content type="html" view="profile">
<![CDATA[
<script type="text/os-data" xmlns:os="http://ns.opensocial.org/2008/
markup">
<os:ViewerRequest key="viewer" fields="name,gender"/>
</script>
<script type="text/os-template" xmlns:os="http://ns.opensocial.org/
2008/markup">
<span class="${viewer.gender}"><b>Welcome ${viewer.name.givenName}</
b></span>
</script>
]]>
</Content>
<Content type="html" view="canvas">
<![CDATA[
]]>
</Content>
</Module>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---