Robson, thanks for the heads up on templates. when i used your template, i
was able to see the app display a profile view; however, when I tried
creating a super simple example on my own, it didn't work.
Do you know what I'm missing?
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="Hello World!">
<Require feature="opensocial-0.8" />
<Require feature="opensocial-templates" />
</ModulePrefs>
<Content type="html" view="canvas">
<![CDATA[
Hello, world!!
<a href="http://www.peixeurbano.com/" target="_blank">Pexie</a>
]]>
</Content>
<Content type="html" view="profile">
<![CDATA[
<!-- A simple inline template -->
<script type="text/os-template">
<div style="font-size: 20px">Hello world!</div>
</script>
]]>
</Content>
</Module>
http://fb.peixeurbano.com.br/orkut/helloworld.xml
On Thu, Nov 4, 2010 at 5:26 AM, Robson Dantas <[email protected]> wrote:
> Try my sample.
>
> Think you are missing some tags and require´s.
>
> Yes, you need to use templates.
>
> www.opensocial-br.org/exemplo/opensocialbr.xml
>
> -Robson Dantas
>
> 2010/11/3 DevenH <[email protected]>
>
> The profile view for my app is not working on prod.sandbox, do i have to
>> use templates in order to render a profile view or is this a bug with orkut?
>>
>> Also, when does the profile view get saved, when a user views his/her
>> profile after the app has been installed or when the application is first
>> installed?
>>
>> my code is simple:
>>
>> <?xml version="1.0" encoding="UTF-8" ?>
>> <Module>
>> <ModulePrefs title="Hello World!">
>> <Require feature="opensocial-0.8" />
>> </ModulePrefs>
>> <Content type="html" view="profile, canvas">
>> <![CDATA[
>> Hello, world!!
>> ]]>
>> </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]<opensocial-orkut%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/opensocial-orkut?hl=en.
>>
>
> --
> 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]<opensocial-orkut%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/opensocial-orkut?hl=en.
>
--
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.