<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Page_Templates%3ACreating_a_Category_Template</id>
		<title>Page Templates:Creating a Category Template - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Page_Templates%3ACreating_a_Category_Template"/>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Page_Templates:Creating_a_Category_Template&amp;action=history"/>
		<updated>2026-05-01T06:10:19Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Page_Templates:Creating_a_Category_Template&amp;diff=449&amp;oldid=prev</id>
		<title>James: /* Create a category template */</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Page_Templates:Creating_a_Category_Template&amp;diff=449&amp;oldid=prev"/>
				<updated>2008-12-07T00:33:24Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Create a category template&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:33, 7 December 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Create a category template ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Create a category template ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Creating a category template is very similar to creating a [[Page Templates:Creating a Basic Template|basic template]], with the addition of children. Children are a list of homogeneous items, controlled by relationships in page management, that appear inside of a page. Children are synonymous with subcategories that are displayed in a category page, product pages that are displayed in a sub category &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;pate&lt;/del&gt;, photos that are displayed in a photo album page, cross sell product pages that appear in a product page, etc. Children are assigned to a page using relationship management in page management. Those assigned children (and associated data) are accessible via the [[Functions:pageChildrenGet|pageChildrenGet]] function.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Creating a category template is very similar to creating a [[Page Templates:Creating a Basic Template|basic template]], with the addition of children. Children are a list of homogeneous items, controlled by relationships in page management, that appear inside of a page. Children are synonymous with subcategories that are displayed in a category page, product pages that are displayed in a sub category &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;page&lt;/ins&gt;, photos that are displayed in a photo album page, cross sell product pages that appear in a product page, etc. Children are assigned to a page using relationship management in page management. Those assigned children (and associated data) are accessible via the [[Functions:pageChildrenGet|pageChildrenGet]] function.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>James</name></author>	</entry>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Page_Templates:Creating_a_Category_Template&amp;diff=448&amp;oldid=prev</id>
		<title>James: /* Create a category template */</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Page_Templates:Creating_a_Category_Template&amp;diff=448&amp;oldid=prev"/>
				<updated>2008-12-07T00:32:21Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Create a category template&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:32, 7 December 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Create a category template ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Create a category template ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Creating a category template is very similar to creating a [[Page Templates:Creating a Basic Template|basic template]], with the addition of children. Children are a list of homogeneous items, controlled by relationships in page management, that appear inside of a page. Children are &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;synonimous &lt;/del&gt;with subcategories that are displayed in a category page, product pages that are displayed in a sub category pate, photos that are displayed in a photo album page, cross sell product pages that appear in a product page, etc. Children are assigned to a page using relationship management in page management. Those assigned children (and associated data) are accessible via the [[Functions:pageChildrenGet|pageChildrenGet]] function.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Creating a category template is very similar to creating a [[Page Templates:Creating a Basic Template|basic template]], with the addition of children. Children are a list of homogeneous items, controlled by relationships in page management, that appear inside of a page. Children are &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;synonymous &lt;/ins&gt;with subcategories that are displayed in a category page, product pages that are displayed in a sub category pate, photos that are displayed in a photo album page, cross sell product pages that appear in a product page, etc. Children are assigned to a page using relationship management in page management. Those assigned children (and associated data) are accessible via the [[Functions:pageChildrenGet|pageChildrenGet]] function.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>James</name></author>	</entry>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Page_Templates:Creating_a_Category_Template&amp;diff=409&amp;oldid=prev</id>
		<title>Root at 20:55, 3 December 2008</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Page_Templates:Creating_a_Category_Template&amp;diff=409&amp;oldid=prev"/>
				<updated>2008-12-03T20:55:32Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:55, 3 December 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 99:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 99:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For details on using children, and more examples, see the [[Functions:pageChildrenGet|pageChildrenGet]] function.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;*&lt;/ins&gt;For details on using children, and more examples, see the [[Functions:pageChildrenGet|pageChildrenGet]] function&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;*To many children to display on one page gracefully? use the handy [[Functions:pagination|pagination]] function to allow visitors to 'page' through a large number of results&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>	</entry>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Page_Templates:Creating_a_Category_Template&amp;diff=403&amp;oldid=prev</id>
		<title>Root: New page: {{Page Template Managers Shortcuts}} == Create a category template ==  Creating a category template is very similar to creating a [[Page Templates:Creating a Basic Template|basic template]...</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Page_Templates:Creating_a_Category_Template&amp;diff=403&amp;oldid=prev"/>
				<updated>2008-12-03T20:25:27Z</updated>
		
		<summary type="html">&lt;p&gt;New page: {{Page Template Managers Shortcuts}} == Create a category template ==  Creating a category template is very similar to creating a [[Page Templates:Creating a Basic Template|basic template]...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Page Template Managers Shortcuts}}&lt;br /&gt;
== Create a category template ==&lt;br /&gt;
&lt;br /&gt;
Creating a category template is very similar to creating a [[Page Templates:Creating a Basic Template|basic template]], with the addition of children. Children are a list of homogeneous items, controlled by relationships in page management, that appear inside of a page. Children are synonimous with subcategories that are displayed in a category page, product pages that are displayed in a sub category pate, photos that are displayed in a photo album page, cross sell product pages that appear in a product page, etc. Children are assigned to a page using relationship management in page management. Those assigned children (and associated data) are accessible via the [[Functions:pageChildrenGet|pageChildrenGet]] function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
// note that we are skipping several of the typical elements of a page template&lt;br /&gt;
// to focus on the children element&lt;br /&gt;
// please see the 'creating a basic template' for other items you typically see in a template&lt;br /&gt;
// including menu bars, etc.&lt;br /&gt;
&lt;br /&gt;
// always start your templates with any functions you require&lt;br /&gt;
// to gather the data you need for the page&lt;br /&gt;
&lt;br /&gt;
// lets start by getting our child data&lt;br /&gt;
$children = eV::pageChildrenGet($pageId,&amp;quot;title,summaryImage,summary,link&amp;quot;); &lt;br /&gt;
&lt;br /&gt;
// our opening html tags&lt;br /&gt;
echo &amp;quot;&amp;lt;!DOCTYPE html PUBLIC \&amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN\&amp;quot; \&amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=\&amp;quot;http://www.w3.org/1999/xhtml\&amp;quot; xml:lang=\&amp;quot;en\&amp;quot; lang=\&amp;quot;en\&amp;quot; dir=\&amp;quot;ltr\&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// now for the head&lt;br /&gt;
// notice we use some core variables here to specify the title, meta keywords and description&lt;br /&gt;
// the contents of these variables are controlled by page management&lt;br /&gt;
// note the use of the php htmlspecialchars function to ensure no characters in the variable content 'break' the tags&lt;br /&gt;
echo &amp;quot;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta name=\&amp;quot;keywords\&amp;quot; content=\&amp;quot;&amp;quot; . htmlspecialchars($metaKeywords) . &amp;quot;\&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;meta name=\&amp;quot;description\&amp;quot; content=\&amp;quot;&amp;quot; . htmlspecialchars($metaDescription) . &amp;quot;\&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;&amp;quot; . htmlspecialchars($metaTitle) . &amp;quot;&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// start the body tag&lt;br /&gt;
echo &amp;quot;&amp;lt;body&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// lets build an outer table to hold our page content&lt;br /&gt;
echo &amp;quot;&amp;lt;table width=779&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// this is the top banner&lt;br /&gt;
echo &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td align=center&amp;gt;&amp;lt;font size=6&amp;gt;&amp;lt;b&amp;gt;WELCOME TO OUR WEB SITE&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// now lets display the center page content&lt;br /&gt;
echo &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td valign=top&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// first im going to display the message output&lt;br /&gt;
// this is a variable used to pass messages (errors, notifications, etc) from page to page for visitors&lt;br /&gt;
// you want this highlighted so it is brought to their attention&lt;br /&gt;
// only display this if it has value&lt;br /&gt;
if(!empty($attributes['message'])) echo &amp;quot;&amp;lt;font color=red&amp;gt;&amp;quot; . $attributes['message']] . &amp;quot;&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// center page content&lt;br /&gt;
// pulled from core variables&lt;br /&gt;
// the contents of these variables is controlled via page management&lt;br /&gt;
echo &amp;quot;&amp;lt;b&amp;gt;$title&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&amp;lt;i&amp;gt;$subTitle&amp;lt;/i&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;$copy&amp;lt;hr&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// now I am going to show the children below the copy&lt;br /&gt;
// note you can display the children any way you wish (listed, like articles, checkerboard, with/without images, etc)&lt;br /&gt;
// just make sure you call on the fields you require via the fieldList attribute in the pageGetChildren function&lt;br /&gt;
// I'm going to display a checkerboard list of children&lt;br /&gt;
echo &amp;quot;&amp;lt;table align=center border=2&amp;gt;&amp;lt;tr&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// setting a counter&lt;br /&gt;
// this is to keep track of each cell, so we know when to start the next row&lt;br /&gt;
$counter = 0;&lt;br /&gt;
// lets loop thru the children&lt;br /&gt;
// remember $children is what we assigned the results of the pageGetChildren function&lt;br /&gt;
foreach($children as $child) {&lt;br /&gt;
// if we are after the 3rd cell, lets start a new row&lt;br /&gt;
if($counter/3 == intval($counter/3) &amp;amp;&amp;amp; $counter != 0) echo &amp;quot;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;quot;;&lt;br /&gt;
// increment the counter&lt;br /&gt;
$counter++&lt;br /&gt;
// output the cell&lt;br /&gt;
echo &amp;quot;&amp;lt;td valign=top width=200&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;a href=\&amp;quot;&amp;quot; . $child['link'] . &amp;quot;\&amp;quot;&amp;gt;&amp;lt;img src=\&amp;quot;&amp;quot; . $child['summaryImage'] . &amp;quot;\&amp;quot; border=0&amp;gt;&amp;lt;/a&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;a href=\&amp;quot;&amp;quot; . $child['link'] . &amp;quot;\&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;quot; . $child['title'] . &amp;quot;&amp;lt;/b&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&amp;quot; . $child['summary'];&lt;br /&gt;
echo &amp;quot;&amp;lt;/td&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
// close out the child table&lt;br /&gt;
echo &amp;quot;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// now lets close out the center content cell&lt;br /&gt;
echo &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// time for the bottom menu&lt;br /&gt;
echo &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td colspan=2 align=center&amp;gt; | &amp;quot;;&lt;br /&gt;
foreach($bottomMenu as $menuItem) echo &amp;quot; &amp;lt;a href=\&amp;quot;&amp;quot; . $menuItem['link'] . &amp;quot;\&amp;quot; target=\&amp;quot;&amp;quot; . $menuItem['target'] . &amp;quot;\&amp;quot;&amp;gt;&amp;quot; . $menuItem['text'] . &amp;quot;&amp;lt;/a&amp;gt; | &amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// close out the outer wrapping table&lt;br /&gt;
echo &amp;quot;&amp;lt;/table&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// close out the body and html&lt;br /&gt;
echo &amp;quot;&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For details on using children, and more examples, see the [[Functions:pageChildrenGet|pageChildrenGet]] function.&lt;/div&gt;</summary>
		<author><name>Root</name></author>	</entry>

	</feed>