<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Site Interface</title>
    <link>http://community.theport.com/discussions/global-xslt-functions2</link>
    <description><![CDATA[Our Site Interface discussion is intended for technical users who are manipulating the Header/Footer, XSLT, CSS, etc. within their instance]]></description>
    <language>en-us</language>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2012/03/14/registration-template</guid>
      <title>registration template</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2012/03/14/registration-template</link>
      <description><![CDATA[would it be possible for someone at theport to email me the original or current official&nbsp;template for the registration wizard (profilewizard_step_1.tpt) or, if it has become an&nbsp; XSLT doc, that one?<br />
<br />
thanks.]]></description>
      <pubDate>Wed, 14 Mar 2012 14:03:37 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/11/30/what-is-the-template-file-for-the-welcome-email-th</guid>
      <title>What is the template file for the welcome email that is sent to new users that have been created via the CreateUser API?</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/11/30/what-is-the-template-file-for-the-welcome-email-th</link>
      <description><![CDATA[&nbsp; Currently all that it sends is:<br />
<br />
<i>You have been invited to the Kidzport sandbox site.<br />
Click here to visit the site.<br />
<br />
Your username is: ********<br />
Your password is: ********<br />
Thank You</i>!<br />
<br />
&nbsp;We would like to add a lot more information to it, however I cannot seem to find the template associated with it.]]></description>
      <pubDate>Wed, 30 Nov 2011 15:34:54 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/10/03/is-there-an-xml-method-of-obtaining-a-users-ip-add</guid>
      <title>Is there an XML method of obtaining a user's IP address?</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/10/03/is-there-an-xml-method-of-obtaining-a-users-ip-add</link>
      <description><![CDATA[I noticed that the admin panel records the last known IP address of users, but when I use the show XML button (&lt;xsl:value-of select=&quot;iPageInformation:ShowXML($oUser,&#39;User Base&#39;)&quot; disable-output-escaping=&quot;yes&quot;/&gt;)&nbsp; there does not seem to be a record in that XPath.&nbsp;<br />
<br />
Is IP perhaps recorded in another area that can be accessed thru XSLT?]]></description>
      <pubDate>Mon, 03 Oct 2011 12:39:50 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/09/26/how-does-one-determine-the-value-for-icache</guid>
      <title>How does one determine the value for iCache?</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/09/26/how-does-one-determine-the-value-for-icache</link>
      <description><![CDATA[i recently added the module code for Badges to a custom page, but the original variable to be assigned to iCache was undefined, and after I could not locate it, I decided just to test some random numbers&nbsp;like&nbsp;&nbsp;<b> &lt;xsl:value-of select=&quot;iPageInformation:PutDictionaryKey(&#39;iCache&#39;,&#39;5&#39;)&quot;/&gt;</b> and the module *seems* to run fine.<br />
<br />
However, I would obviously like to put in a value that won&#39;t potentially cause unknown problems behind the scenes, so what exactly does the iCache value determine, and would it be bad down the lines to leave it at this arbitrary value of 5?&nbsp; ((also i tried 40, 20, 7, etc and didnt notice any obvious difference).]]></description>
      <pubDate>Mon, 26 Sep 2011 15:19:27 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/09/05/how-do-i-check-the-object-type-id-of-an-event</guid>
      <title>How do I check the Object Type ID of an Event?</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/09/05/how-do-i-check-the-object-type-id-of-an-event</link>
      <description><![CDATA[i wrote some code in our sandbox with an OTID to create an event.&nbsp; i copied the code to the live site&nbsp;and while it creates events fine there, i do not see them in the admin panel.&nbsp; so the event exists (users can join it, it shows on the calendar, etc)&nbsp; but since it is not in the admin panel I have a feeling I am using the wrong OTID on creation.<br />
<br />
<b>EDIT:</b><br />
<br />
Ok, figured out (i think) that the OTID is constant per SO TYPE (all Teams have same ID for events, all Leagues have same ID but different from Teams).&nbsp; So if I just use an if statement to check whether an SO is a League or Team, will their respective event OTIDs remain constant or is there a variable that would better handle this?]]></description>
      <pubDate>Mon, 05 Sep 2011 14:18:11 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/08/22/nestedchild-objects</guid>
      <title>Nested/Child Objects</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/08/22/nestedchild-objects</link>
      <description><![CDATA[Is it possible anymore to create an SO (say, for us, a League, which in the admin has permission to have a child object type), and then another SO (a Team), and then to assign the Team as a child of the League?<br />
<br />
If so, what are the current steps? This was possible last year, but depricated, so I am not sure how to do it anymore, or if it can be done.]]></description>
      <pubDate>Mon, 22 Aug 2011 18:42:46 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/07/19/is-there-an-xslt-function-call-for-getting-a-users</guid>
      <title>Is there an XSLT function call for getting a user's Points?</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/07/19/is-there-an-xslt-function-call-for-getting-a-users</link>
      <description><![CDATA[Trying to build a module that ranks users within a social space object based on their points, which is ideally their contribution to the site/SO, but don&#39;t know how to get this info from within a template rather than the admin panel.]]></description>
      <pubDate>Tue, 19 Jul 2011 16:22:23 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/07/11/event-invite-details</guid>
      <title>Event Invite Details</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/07/11/event-invite-details</link>
      <description><![CDATA[Several of our users who have been invited to private or hidden events have noted that when they click on the link in their email to view the event, they are not able to see the details about what time and day it occurs on and thus cannot accept or decline without further info.<br />
<br />
How can I modify that template to add the date &amp; time of the event to the invite?]]></description>
      <pubDate>Mon, 11 Jul 2011 15:40:21 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/07/01/previewing-css-changes</guid>
      <title>Previewing CSS Changes</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/07/01/previewing-css-changes</link>
      <description><![CDATA[As part of a huge redesign, I need to make some fairly drastic changes to the CSS, header and footer on our community. I imagine this will take some testing before we get it right, and was hoping there was a way to make the changes and preview before going live.<br />
<br />
If not, does anyone have a &quot;best practice&quot; method of doing this? Just save the HTML and reconnect the CSS? Seems like a less than sure-fire way to experiment.<br />
<br />
Thanks for any tips you might have!<br />
-Nate]]></description>
      <pubDate>Fri, 01 Jul 2011 18:15:50 GMT</pubDate>
      <dc:creator>nathanziarek</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/05/20/replacing-thumbs-updown-with-the-like-button</guid>
      <title>Replacing Thumbs Up/Down with the Like button</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/05/20/replacing-thumbs-updown-with-the-like-button</link>
      <description><![CDATA[It was requested that I write up a summary of how to upgrade, so-to-speak, from the thumbs up/down function to the Like emitter. This &quot;tutorial&quot; assumes you know how to edit templates from the Admin panel of your community.<br />
<br />
First, there are a few templates that need to be changed based on whether or not you wish to replace ALL the instances of thumbs up/down or just a select few. The two main templates that I have chosen are the social space public profile (<b>System Modules -&gt; Social Object &ndash; SOInfoShort.xslt</b>) and the social object photos (<b>System Pages -&gt; Photos 2.0 &ndash; Album Photo Permalink; photo.xslt</b>). This will allow users to Like social spaces and their photos.<br />
<br />
In both templates you must make sure to include:<br />
<b>xsl:include href=&quot;/Extension/iSetLikeHandler.xslt&quot;/ </b><i>(<span style="color: #008080">reformat this, I have broken the code so it will display as text in this tutorial</span>)<br />
<br />
</i>After that find the div for the thumbs up/down ( <b>xsl:value-of select=&quot;iPageInformation:RenderTUTDRating. </b>Etc.) and either delete or comment it out. I prefer to comment out so you don&rsquo;t lose anything. Then add the following code:<br />
<br />
<b>xsl:call-template name=&quot;EmitLike&quot;<br />
xsl:with-param name=&quot;oObject&quot; select=&quot;$oPhoto/Photo&quot; /<br />
/xsl:call-template</b> (<span style="color: #008080"><i>again reformat this with &lt; &gt; so it will work</i></span>)<br />
<br />
That bit is specific to the photo.xslt template.<br />
<br />
For the social object module, replace the select value with &ldquo;<b>$oSOBase/SocialObjectBase</b>&rdquo; after commenting out the div with the same thumbs up/down code as the photos.<br />
<br />
There are a lot of conditionals in the SOInfoShort module compared to the photos, but ignore them and just find the right div. That should do it! &nbsp;As far as I can tell you can add this EmitLike button to a variety of objects as long as you include the template and change the select value to that of the object you are modifying. Voila!<br />
]]></description>
      <pubDate>Fri, 20 May 2011 13:09:13 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/04/07/adding-meta-data-seo-tools-to-header-sections</guid>
      <title>Adding Meta Data (SEO tools) to Header Sections</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/04/07/adding-meta-data-seo-tools-to-header-sections</link>
      <description><![CDATA[A question we are asked occassionally&nbsp;is how to change the &lt;head&gt; section of a rendered HTML page. Targeting this section allows you to to add META data to the page -- keywords, description, refresh rate, etc. This is done for search engine optimization purposes (SEO).<br />
<br />
thePort does not currently offer an admin interface for altering the &lt;head&gt; section of a page. However, this section can be targeted via our template system. All public pages (user and group profile, community landing page, blogs, discussions, and events) can have their &lt;head&gt; sections targeted from within the template itself. All internal or password controlled pages (dashboard, settings pages, etc) cannot be targeted.<br />
<br />
thePort can provide this service at a time and materials basis. Submit a ticket at support.theport.com and specify which section of the &lt;head&gt; you would like to target and what data you would like to surface.<br />
<br />
Thank you.<br />
]]></description>
      <pubDate>Thu, 07 Apr 2011 18:25:33 GMT</pubDate>
      <dc:creator>aaron.rolka</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/04/04/how-does-one-reference-a-web-20-blog-for-a-blog-cm</guid>
      <title>How does one reference a web 2.0 blog for a blog CMS?</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/04/04/how-does-one-reference-a-web-20-blog-for-a-blog-cm</link>
      <description><![CDATA[The web 2.0 URL references the blog id and a post ID. I&#39;m guessing the post ID is not going to work in the tps module?<br />
Whereas the 1.0 had a GUID ID. How would I fix this?<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;$TPXslModule TP_ID=&quot;BlogEntry&quot; TP_PostID=&quot;95A4DF28-D4FE-4CF4-B400-DBAE6F07528B&quot;$&gt; &nbsp;<br />
<br />
The page referencing the Blog is a tpt file]]></description>
      <pubDate>Mon, 04 Apr 2011 20:00:51 GMT</pubDate>
      <dc:creator>drain</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/03/31/userid</guid>
      <title>userID</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/03/31/userid</link>
      <description><![CDATA[we are trying to pass the userID as a variable to a subdomain such as ***.***.com/index.php?u=whatever.&nbsp; what is the best method for obtaining this variable as a user logs in?]]></description>
      <pubDate>Thu, 31 Mar 2011 19:07:55 GMT</pubDate>
      <dc:creator>cameron</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/03/29/change-default-size</guid>
      <title>Change default size</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/03/29/change-default-size</link>
      <description><![CDATA[<p>
	A common question people ask is how to change the default font size for a community. The best and easiest way to do this is to add the following line to your CSS override (Admin--&gt;Site Interface--&gt;CSS--&gt;Script text)</p>
<blockquote>
	<span style="color:#f00;"><b>.sectionbody,.pagebody {font-size:12px; }&nbsp;<br />
	</b></span></blockquote>
Note that this only targets body text found in blogs, discussions, and other portions of the site where you may see plaintext. If this change does not affect all the text you want, you will need to find the specific element and target that individually in the CSS override.]]></description>
      <pubDate>Tue, 29 Mar 2011 15:26:44 GMT</pubDate>
      <dc:creator>TJ Muehleman</dc:creator>
    </item>
    <item>
      <guid isPermaLink="true">http://community.theport.com/discussions/global-xslt-functions2/2011/01/10/aet</guid>
      <title>Custom Meta Data</title>
      <link>http://community.theport.com/discussions/global-xslt-functions2/2011/01/10/aet</link>
      <description><![CDATA[<br />
]]></description>
      <pubDate>Mon, 10 Jan 2011 18:54:56 GMT</pubDate>
      <dc:creator>ryan</dc:creator>
    </item>
  </channel>
</rss>
