<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

    <channel>
    
    <title>Knowledge Base</title>
    <link>http://buildwithstructure.com</link>
    <description></description>
    <dc:language>en</dc:language>
    <dc:creator>travis@rockthenroll.com</dc:creator>
    <dc:rights>Copyright 2010</dc:rights>
    <dc:date>2010-05-07T13:52:01+00:00</dc:date>
    <admin:generatorAgent rdf:resource="http://www.pmachine.com/" />
    
    
    <item>
      <title>StructureFrame</title>
      <link>http://buildwithstructure.com/changelog#log572010</link>
      <guid>http://buildwithstructure.com/changelog#When:13:52:01Z</guid>
      <description><![CDATA[<p>The StructureFrame fieldtype works with Pixel &amp; Tonic&#8217;s <a href="http://pixelandtonic.com/fieldframe">FieldFrame</a> and is intended to link to other site pages. It gives the user a dropdown menu to select from a list of nested site pages and outputs the page <span class="caps"><span class="caps">URL</span></span> when called through templates.</p>]]></description>
      <dc:subject></dc:subject>
      <dc:date>2010-05-07T13:52:01+00:00</dc:date>
    </item>
    
    <item>
      <title>Categories: Sorting and Displaying Content</title>
      <link>http://buildwithstructure.com/changelog#log522010</link>
      <guid>http://buildwithstructure.com/changelog#When:21:36:18Z</guid>
      <description><![CDATA[<p>Because Structure relies on exact <span class="caps"><span class="caps">URL</span></span>s, the normal way of doing dynamic categories will not work. You can easily replicate this functionality by passing strings. Enable <span class="caps"><span class="caps">PHP</span></span> in your template and set parsing to input, then use the following:</p>

	<h3>Category Links</h3>

	<p>Link to your categories in the following format: <a href="http://domain.com/path/to/page?category=3">http://domain.com/path/to/page?category=3</a></p>

	<p>In this, 3 is the number of the category you want to display. This can be created dynamically with EE tags.</p>

	<h3>Displaying The Category Content</h3>

<pre><code>
&#123;exp:weblog:entries weblog=&amp;quot;your-weblog&amp;quot; category=&amp;quot;&amp;amp;lt;?php echo $_GET[&amp;#39;category&amp;#39;]; ?&amp;amp;gt;&amp;quot; dynamic=&amp;quot;off&amp;quot;&#125;
&#123;title&#125;
&#123;/exp:weblog:entries&#125;
</code></pre>

	<p><em><span class="caps"><span class="caps">NOTE</span></span>: The above character entities need to be replaced with actual brackets, and are blocked by EE as a security measure</em></p>

	<h3>Converting To Clean <span class="caps"><span class="caps">URL</span></span>s</h3>

	<p>In your htaccess file, place the following code at the end:</p>

<pre><code>
RewriteRule ^path/to/page/([0-9]&#123;4&#125;)$ /path/to/page?category=$1 [L]
</code></pre>

	<p>This will make your category <span class="caps"><span class="caps">URL</span></span> look like: /path/to/page/3</p>

	<p>Note: This must appear after the rewrite rules:</p>

<pre><code>
RewriteEngine On
RewriteBase /
</code></pre>

	]]></description>
      <dc:subject></dc:subject>
      <dc:date>2010-05-02T21:36:18+00:00</dc:date>
    </item>
    
    <item>
      <title>Displaying Comments</title>
      <link>http://buildwithstructure.com/changelog#log522010</link>
      <guid>http://buildwithstructure.com/changelog#When:21:35:32Z</guid>
      <description><![CDATA[<p>You can use the page_id tag to call comments on any detail page using the following code:</p>

	<h3>Comment Entries</h3>

<pre><code>
&#123;exp:comment:entries entry_id=&amp;quot;&#123;exp:structure:page_id&#125;&amp;quot; parse=&amp;quot;inward&amp;quot;&#125;
</code></pre>

	<h3>Comment Form</h3>

<pre><code>
&#123;exp:comment:form weblog=&amp;quot;blog&amp;quot; entry_id=&amp;quot;&#123;exp:structure:page_id&#125;&amp;quot; parse=&amp;quot;inward&amp;quot;&#125;
</code></pre>]]></description>
      <dc:subject></dc:subject>
      <dc:date>2010-05-02T21:35:32+00:00</dc:date>
    </item>
    
    <item>
      <title>Conditionally Display Content If A Page Has Children</title>
      <link>http://buildwithstructure.com/changelog#log4112010</link>
      <guid>http://buildwithstructure.com/changelog#When:18:41:27Z</guid>
      <description><![CDATA[<pre><code>
&#123;if &amp;#39;&#123;exp:structure:child_ids&#125;&amp;#39; != &amp;#39;0&amp;#39;&#125;
&amp;lt;p&amp;gt;This page has children!&amp;lt;/p&amp;gt;
&#123;if:else&#125;
&amp;lt;p&amp;gt;This page does NOT have children!&amp;lt;/p&amp;gt;
&#123;/if&#125;
</code></pre>]]></description>
      <dc:subject></dc:subject>
      <dc:date>2010-04-11T18:41:27+00:00</dc:date>
    </item>
    
    <item>
      <title>Multi&#45;Language Sites</title>
      <link>http://buildwithstructure.com/changelog#log1292010</link>
      <guid>http://buildwithstructure.com/changelog#When:00:19:17Z</guid>
      <description><![CDATA[<p>The recommended method is to have your default language at the top level and make separate branches for your alternate languages like this:</p>

	<p>/about<br />

/services<br />

/contact<br />

/es/about<br />

/es/services<br />

/es/contact<br />

/fr/about<br />

/fr/services<br />

/fr/contact</p>

	<p>You can then use the nav_sub tag and either the start_from or exclude_status parameters. When using exclude_status you can assign statuses by language to control the output.</p>

	<h3>Example nav_sub code:</h3>

<pre><code>
&#123;if segment_1  &#39;es&#39; OR segment_1  &amp;#39;fr&amp;#39;&#125;
	&#123;!-- START FROM SEGMENT 2 IF NOT DEFAULT LANGUAGE --&#125;
	&#123;exp:structure:nav_sub start_from=&amp;#39;/&#123;segment_1&#125;/&#123;segment_2&#125;&amp;#39;&#125;
&#123;if:else&#125;
	&#123;!-- START FROM SEGMENT 1 IF DEFAULT LANGUAGE --&#125;
	&#123;exp:structure:nav_sub start_from=&amp;#39;/&#123;segment_1&#125;&amp;#39;&#125;
&#123;/if&#125;
</code></pre>

	<p>This method does not require different custom fields per language as they’re all separate pages powered by the same code and quite often the same templates.</p>]]></description>
      <dc:subject></dc:subject>
      <dc:date>2010-01-30T00:19:17+00:00</dc:date>
    </item>
    
    <item>
      <title>Requirements</title>
      <link>http://buildwithstructure.com/changelog#log11222009</link>
      <guid>http://buildwithstructure.com/changelog#When:18:44:51Z</guid>
      <description><![CDATA[<ul>
		<li><span class="caps"><span class="caps">PHP</span></span> 5+</li>
		<li>MySQL 5+</li>
		<li>ExpressionEngine 1.6+ (EE 2.0 compatibility will be released in March 2010)</li>
		<li>Extension: jQuery for the Control Panel (using jQuery version 1.3.2)</li>
	</ul>]]></description>
      <dc:subject></dc:subject>
      <dc:date>2009-11-22T18:44:51+00:00</dc:date>
    </item>
    
    <item>
      <title>Site License Information</title>
      <link>http://buildwithstructure.com/changelog#log11222009</link>
      <guid>http://buildwithstructure.com/changelog#When:18:31:56Z</guid>
      <description><![CDATA[<p>Each site license can be used on one public-facing website or intranet at a time. Each <span class="caps"><span class="caps">MSM</span></span>-based website counts as one website. You may install Structure on an unlimited number of private, in-development websites. Full refunds are available within 30 days of purchase if you&#8217;re not satisfied.</p>]]></description>
      <dc:subject></dc:subject>
      <dc:date>2009-11-22T18:31:56+00:00</dc:date>
    </item>
    
    <item>
      <title>Visiting The Structure Screen Erases My Data</title>
      <link>http://buildwithstructure.com/changelog#log11222009</link>
      <guid>http://buildwithstructure.com/changelog#When:18:14:53Z</guid>
      <description><![CDATA[<p>Make sure you didn’t create the tab after changing settings or it will append a string that includes info to erase the settings every time you visit. Clear the tab under My Account » Customize Control Panel » Tab Manager and then revisit Modules » Structure to resave it.</p>]]></description>
      <dc:subject></dc:subject>
      <dc:date>2009-11-22T18:14:53+00:00</dc:date>
    </item>
    
    <item>
      <title>Where is The Structure Tab?</title>
      <link>http://buildwithstructure.com/changelog#log11222009</link>
      <guid>http://buildwithstructure.com/changelog#When:18:13:29Z</guid>
      <description><![CDATA[<p>You have to add custom tabs for yourself through the EE CP.</p>

	<p>To add the Structure tab:</p>

	<p>1) Go to Modules » Structure<br />

2) In the top right of the CP click “New Tab”<br />

3) Save it</p>]]></description>
      <dc:subject></dc:subject>
      <dc:date>2009-11-22T18:13:29+00:00</dc:date>
    </item>
    
    <item>
      <title>Blank Extension Screen</title>
      <link>http://buildwithstructure.com/changelog#log11222009</link>
      <guid>http://buildwithstructure.com/changelog#When:18:11:38Z</guid>
      <description><![CDATA[<p>If your extension screen is blank after installing Structure try the following:</p>

	<ul>
		<li>Verify your <span class="caps"><span class="caps">PHP</span></span> version is at least 5</li>
		<li>Increase <span class="caps"><span class="caps">PHP</span></span> memory_limit. In your .htaccess file, place this rule: &#8220;php_value memory_limit 16M&#8221;</li>
		<li>Make sure your extension file has the permissions 755</li>
		<li>Restart MySQL + Apache</li>
	</ul>]]></description>
      <dc:subject></dc:subject>
      <dc:date>2009-11-22T18:11:38+00:00</dc:date>
    </item>
    
    
    </channel>
</rss>
