Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

edits

  • Loading branch information...
commit 446b113ed2ed0ca3a8372655de089d12a136a216 1 parent 872696b
@jcleblanc authored
View
2  chapter_7/chapter_final.xml
@@ -9,7 +9,7 @@
<Require feature="opensocial-data" />
<Require feature="opensocial-templates" />
</ModulePrefs>
- <Content type="html" view="YahooFullView">
+ <Content type="html">
<![CDATA[
<style type="text/css">
#nav{ margin:5px 0 5px 15px;
View
7 chapter_7/node_creation_os_templating.html
@@ -1,7 +0,0 @@
-<script type="text/os-template">
- <img src="${userData.thumbnailUrl}" style="float:left; margin-left:10px;" />
- Name: ${userData.name}<br />
- Gender: ${userData.gender}<br />
- Profile: <a href="${userData.profileUrl}">Click Here</a>
-</script>
-
View
16 chapter_7/node_creation_os_templating.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Module>
+ <ModulePrefs title="Templating"
+ <Require feature="opensocial-0.9"/>
+ <Require feature="opensocial-data" />
+ <Require feature="opensocial-templates" />
+ </ModulePrefs>
+ <Content type="html">
+ <script type="text/os-template">
+ <img src="${userData.thumbnailUrl}" style="float:left; margin-left:10px;" />
+ Name: ${userData.name}<br />
+ Gender: ${userData.gender}<br />
+ Profile: <a href="${userData.profileUrl}">Click Here</a>
+ </script>
+ </Content>
+</Module>
Please sign in to comment.
Something went wrong with that request. Please try again.