4,10d3
< -- edit by krteczek:
< -- add colum `texy` to TABLE `{PREFIX}site_content`
< -- 2008-06-13
< 
< -- edit by krteczek
< -- patch to install error insert query
< -- 2008-06-14
166d158
<   `texy` mediumtext collate utf8_unicode_ci NOT NULL, 
325c317
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(1, 'document', 'text/html', 'Home', 'Fast, Free, and Infinitely Flexible', 'Introduction to Etomite', 'home', 1, 0, 0, 0, 0, '\r\n\r\n<p><strong>Welcome to Etomite!</strong></p>\r\n\r\n<p>This is the default installation site. If you''re reading this, it means you''ve successfully installed Etomite, and have also configured the site. Now all you need to do is to add your content, design a unique template for your site, perhaps write some snippets which make your site stand out (don''t forget to share them at the <a href="[~5~]">forums</a>), and, most of all, enjoy using Etomite!</p>\r\n\r\n<p>To log into the manager, point your browser to <a href="manager">yoursite/manager</a>.</p>\r\n\r\n<p>Please take some time to browse the rest of the pages included in this default installation. They are intended to give a brief overview of some of the capabilities of Etomite. Consider this to be your "sandbox" and feel free to play. You can''t really break anything to a point where it can''t be repaired. Any existing document can be re-used or deleted whenever you are ready to develop your site. As an alternative, you could simply Drag and Drop these documents into the Repository, or another unpublished folder, for future review.<br /></p>\r\n<br />\r\n\r\n', '\r\n\r\nWelcome to Etomite!\r\n#########################\r\n\r\nThis is the default installation site. If you''re reading this, it means you''ve successfully installed Etomite, and have also configured the site. Now all you need to do is to add your content, design a unique template for your site, perhaps write some snippets which make your site stand out (don''t forget to share them at the <a href="[~5~]">forums</a>), and, most of all, enjoy using Etomite!\r\n\r\nTo log into the manager, point your browser to "yoursite/manager":manager.\r\n\r\nPlease take some time to browse the rest of the pages included in this default installation. They are intended to give a brief overview of some of the capabilities of Etomite. Consider this to be your "sandbox" and feel free to play. You can''t really break anything to a point where it can''t be repaired. Any existing document can be re-used or deleted whenever you are ready to develop your site. As an alternative, you could simply Drag and Drop these documents into the Repository, or another unpublished folder, for future review.\r\n\r\n\r\n', 1, 1, 1, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(1, 'document', 'text/html', 'Home', 'Fast, Free, and Infinitely Flexible', 'Introduction to Etomite', 'home', 1, 0, 0, 0, 0, '\r\n\r\n<p><strong>Welcome to Etomite!</strong></p>\r\n\r\n<p>This is the default installation site. If you''re reading this, it means you''ve successfully installed Etomite, and have also configured the site. Now all you need to do is to add your content, design a unique template for your site, perhaps write some snippets which make your site stand out (don''t forget to share them at the <a href="[~5~]">forums</a>), and, most of all, enjoy using Etomite!</p>\r\n\r\n<p>To log into the manager, point your browser to <a href="manager">yoursite/manager</a>.</p>\r\n\r\n<p>Please take some time to browse the rest of the pages included in this default installation. They are intended to give a brief overview of some of the capabilities of Etomite. Consider this to be your "sandbox" and feel free to play. You can''t really break anything to a point where it can''t be repaired. Any existing document can be re-used or deleted whenever you are ready to develop your site. As an alternative, you could simply Drag and Drop these documents into the Repository, or another unpublished folder, for future review.<br /></p>\r\n<br />\r\n\r\n', 1, 1, 1, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
327c319
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(2, 'document', 'text/html', 'Repository', 'Un-Published Folder Document', 'Both published and un-published resources can be stored here.', '', 0, 0, 0, 0, 1, '<p>\r\nThis folder document is intended to be used as a storage repository only and should remain un-published. This is a handy place to store documents which are called indirectly, such as the 404 Error page.\r\n\r\n</p>', '\r\nThis folder document is intended to be used as a storage repository only and should remain un-published. This is a handy place to store documents which are called indirectly, such as the 404 Error page.\r\n\r\n', 1, 1, 7, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(2, 'document', 'text/html', 'Repository', 'Un-Published Folder Document', 'Both published and un-published resources can be stored here.', '', 0, 0, 0, 0, 1, '<p>\r\nThis folder document is intended to be used as a storage repository only and should remain un-published. This is a handy place to store documents which are called indirectly, such as the 404 Error page.\r\n\r\n</p>', 1, 1, 7, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
329c321
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(3, 'document', 'text/html', 'Error 404 - Page Not Found', 'Unable to locate the page you requested.', 'The error page which is displayed when the requested page cannot be found', 'http404', 1, 0, 0, 2, 0, '<p><strong>404 Error - File not Found</strong></p>\r\n  <p>The page you''ve requested has not been found. You could try going back to the <a href="[~1~]">home page</a> to try to find what you were looking for from there.</p>', '404 Error - File not Found\r\n#####################\r\nThe page you''ve requested has not been found. You could try going back to the <a href="[~1~]">home page</a> to try to find what you were looking for from there.\r\n', 1, 1, 0, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(3, 'document', 'text/html', 'Error 404 - Page Not Found', 'Unable to locate the page you requested.', 'The error page which is displayed when the requested page cannot be found', 'http404', 1, 0, 0, 2, 0, '<p><strong>404 Error - File not Found</strong></p>\r\n  <p>The page you''ve requested has not been found. You could try going back to the <a href="[~1~]">home page</a> to try to find what you were looking for from there.</p>', 1, 1, 0, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
331c323
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(4, 'document', 'text/html', 'Search this site', 'Let us help you find what you''re looking for', 'This page allows you to search the site.', 'search', 1, 0, 0, 2, 0, '\r\n<p>Enter the words and phrases you would like to search for, and press the search button.<br /></p>\r\n  [[SearchForm]]\r\n\r\n', '\r\nEnter the words and phrases you would like to search for, and press the search button.\r\n\r\n  [[SearchForm]]\r\n\r\n', 1, 1, 7, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(4, 'document', 'text/html', 'Search this site', 'Let us help you find what you''re looking for', 'This page allows you to search the site.', 'search', 1, 0, 0, 2, 0, '\r\n<p>Enter the words and phrases you would like to search for, and press the search button.<br /></p>\r\n  [[SearchForm]]\r\n\r\n', 1, 1, 7, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
333c325
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(5, 'reference', 'text/html', 'Etomite Forums', '', 'A link to the Etomite forums.', 'etomite-forums', 1, 0, 0, 33, 0, 'http://www.etomite.com/forums/', 'http://www.etomite.com/forums/', 0, 0, 5, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(5, 'reference', 'text/html', 'Etomite Forums', '', 'A link to the Etomite forums.', 'etomite-forums', 1, 0, 0, 33, 0, 'http://www.etomite.com/forums/', 0, 0, 5, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
335c327
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(6, 'document', 'text/html', 'Site statistics', 'Visitors statistics for this site', 'Page that shows some visitor statistics for the site.', 'stats', 1, 0, 0, 2, 0, '<p>This page shows the site''s visitor statistics per <strong>[[DateTime]]</strong>.<br />The first ever hit to the site to be recorded was on <strong>[[FirstHit]]</strong>.</p>\r\n[[GetStats]] ', 'This page shows the site''s visitor statistics per **[[DateTime]]**.\r\nThe first ever hit to the site to be recorded was on **[[FirstHit]]**\r\n\r\n[[GetStats]] ', 1, 1, 6, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(6, 'document', 'text/html', 'Site statistics', 'Visitors statistics for this site', 'Page that shows some visitor statistics for the site.', 'stats', 1, 0, 0, 2, 0, '<p>This page shows the site''s visitor statistics per <strong>[[DateTime]]</strong>.<br />The first ever hit to the site to be recorded was on <strong>[[FirstHit]]</strong>.</p>\r\n[[GetStats]] ', 1, 1, 6, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
337c329
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(7, 'document', 'text/html', 'Installation Successful!', 'Your Etomite CMS powered website is working.', 'The fact that this page displays indicates that your installation and configuration was successful.', 'installed', 1, 0, 0, 8, 0, '\r\n\r\n<p>This is a news article to show:</p>\r\n\r\n<ul>\r\n<li>That the installation was successful</li>\r\n<li>The working of the NewsListing snippet </li></ul>\r\n<p>The NewsListing snippet is written into the document like this:</p>\r\n\r\n<p style="font-family: courier new,courier,monospace;">[ [NewsListing?newsid=[*parent*]] ]</p>\r\n   <!--FullStory-->\r\n<p>This calls the NewsListing snippet, and feeds it with a variable called newsid, which has a value of [*parent*]. The newsid variable is then used by the snippet so it knows where to look for news. This way, you can have as many different news sections, or blogs even, using just one snippet! Oh yeah, there''s not meant to be a space between the double [ and ] square bracket characters. Those were added to stop Etomite from thinking it needed to call the snippet here.</p>\r\n\r\n<p> </p>\r\n    [!DisplayCode?type=snippet&amp;name=NewsListing!]\r\n\r\n', '\r\n\r\nThis is a news article to show:\r\n\r\n\r\n- That the installation was successful\r\n- The working of the NewsListing snippet\r\n\r\nThe NewsListing snippet is written into the document like this:\r\n\r\n<p style="font-family: courier new,courier,monospace;">[ [NewsListing?newsid=[*parent*]] ]</p>\r\n   <!--FullStory-->\r\n\r\nThis calls the NewsListing snippet, and feeds it with a variable called newsid, which has a value of [*parent*]. The newsid variable is then used by the snippet so it knows where to look for news. This way, you can have as many different news sections, or blogs even, using just one snippet! Oh yeah, there''s not meant to be a space between the double [ and ] square bracket characters. Those were added to stop Etomite from thinking it needed to call the snippet here.\r\n\r\n\r\n    [!DisplayCode?type=snippet&amp;name=NewsListing!]\r\n\r\n', 1, 1, 1, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(7, 'document', 'text/html', 'Installation Successful!', 'Your Etomite CMS powered website is working.', 'The fact that this page displays indicates that your installation and configuration was successful.', 'installed', 1, 0, 0, 8, 0, '\r\n\r\n<p>This is a news article to show:</p>\r\n\r\n<ul>\r\n<li>That the installation was successful</li>\r\n<li>The working of the NewsListing snippet </li></ul>\r\n<p>The NewsListing snippet is written into the document like this:</p>\r\n\r\n<p style="font-family: courier new,courier,monospace;">[ [NewsListing?newsid=[*parent*]] ]</p>\r\n   <!--FullStory-->\r\n<p>This calls the NewsListing snippet, and feeds it with a variable called newsid, which has a value of [*parent*]. The newsid variable is then used by the snippet so it knows where to look for news. This way, you can have as many different news sections, or blogs even, using just one snippet! Oh yeah, there''s not meant to be a space between the double [ and ] square bracket characters. Those were added to stop Etomite from thinking it needed to call the snippet here.</p>\r\n\r\n<p> </p>\r\n    [!DisplayCode?type=snippet&amp;name=NewsListing!]\r\n\r\n', 1, 1, 1, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
339c331
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(8, 'document', 'text/html', 'News', 'News Article Summary', 'The following documents are intended to help introduce you to the Etomite Content Management System.', 'news', 1, 0, 0, 0, 1, '<h2>  [*description*]</h2><br />\r\n  <p>News Article List using the NewsListing snippet:</p>\r\n[[NewsListing?newsid=8]]', '[*description*]\r\n########################\r\n\r\nNews Article List using the NewsListing snippet:\r\n\r\n[[NewsListing?newsid=8]]', 1, 1, 2, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(8, 'document', 'text/html', 'News', 'News Article Summary', 'The following documents are intended to help introduce you to the Etomite Content Management System.', 'news', 1, 0, 0, 0, 1, '<h2>  [*description*]</h2><br />\r\n  <p>News Article List using the NewsListing snippet:</p>\r\n[[NewsListing?newsid=8]]', 1, 1, 2, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
341c333
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(9, 'document', 'text/html', 'What Next?', 'Where do we go form here?', 'Some suggestions on getting acquainted with Etomite.', 'what-next', 1, 0, 0, 8, 0, '\r\n<p>Here are several suggestions on how to proceed with getting acquainted with using the Etomite CMS. Once you start experimenting with the system you will discover that your imagination may be the only limiting factor when it comes to developing sites using Etomite.</p>\r\n  First, take some time to check out every part of the Etomite Manager. There is a lot more going on in there than meets the eye at first glance. The main menu contains many general site management related options.<br /><br />Next you might want to become familiar with the Document Tree section of the Etomite Manager. This is where you control the document hierarchy of your site. Clicking on a folder toggles it open or closed. Right clicking over a document title presents a context menu which contains several of the more frequently used document management actions. The menu also has a Drag-N-Drop feature for rearranging the documents within the document tree hierarchy.<br /><br />The real power of Etomite lies in the Manage Resources section. This section allows you to create your own page Templates, PHP code Snippets, HTML/Javascript Chunks, and manage Keywords. Take some time to look over the existing resources to get a better insight on how they relate to the overall functionality within Etomite.<br /><br />\r\n\r\n', '\r\nHere are several suggestions on how to proceed with getting acquainted with using the Etomite CMS. Once you start experimenting with the system you will discover that your imagination may be the only limiting factor when it comes to developing sites using Etomite.\r\n\r\n  First, take some time to check out every part of the Etomite Manager. There is a lot more going on in there than meets the eye at first glance. The main menu contains many general site management related options.\r\n\r\nNext you might want to become familiar with the Document Tree section of the Etomite Manager. This is where you control the document hierarchy of your site. Clicking on a folder toggles it open or closed. Right clicking over a document title presents a context menu which contains several of the more frequently used document management actions. The menu also has a Drag-N-Drop feature for rearranging the documents within the document tree hierarchy.\r\n\r\nThe real power of Etomite lies in the Manage Resources section. This section allows you to create your own page Templates, PHP code Snippets, HTML/Javascript Chunks, and manage Keywords. Take some time to look over the existing resources to get a better insight on how they relate to the overall functionality within Etomite.\r\n\r\n\r\n', 1, 1, 2, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(9, 'document', 'text/html', 'What Next?', 'Where do we go form here?', 'Some suggestions on getting acquainted with Etomite.', 'what-next', 1, 0, 0, 8, 0, '\r\n<p>Here are several suggestions on how to proceed with getting acquainted with using the Etomite CMS. Once you start experimenting with the system you will discover that your imagination may be the only limiting factor when it comes to developing sites using Etomite.</p>\r\n  First, take some time to check out every part of the Etomite Manager. There is a lot more going on in there than meets the eye at first glance. The main menu contains many general site management related options.<br /><br />Next you might want to become familiar with the Document Tree section of the Etomite Manager. This is where you control the document hierarchy of your site. Clicking on a folder toggles it open or closed. Right clicking over a document title presents a context menu which contains several of the more frequently used document management actions. The menu also has a Drag-N-Drop feature for rearranging the documents within the document tree hierarchy.<br /><br />The real power of Etomite lies in the Manage Resources section. This section allows you to create your own page Templates, PHP code Snippets, HTML/Javascript Chunks, and manage Keywords. Take some time to look over the existing resources to get a better insight on how they relate to the overall functionality within Etomite.<br /><br />\r\n\r\n', 1, 1, 2, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
343c335
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(10, 'document', 'text/html', 'Help and Support', 'Where to find the answers you need.', 'Etomite is one of the best supported Open Source packages when it comes to timely rsponses to your concerns.', 'help-and-support', 1, 0, 0, 8, 0, '\r\n  When you have questions, and you almost certainly will, it''s nice to know that help is available. The Etomite support staff know the value of time which is why they make every possible effort to keep you moving forward with development of your projects.<br /><br />The first place to look whenever you have questions is in the documentation section of the Etomite website. The process of documenting the Etomite CMS is an ongoing task and we ask that anyone who has the ability, and desire, to donate their efforts towards enhancing our current documentation if at all possible.<br /><br />If the answers to your questions can''t be found in the documentation, or you need a bit more clarification regarding a specific issue, then you can try a search of the Etomite support forums. Please make every attempt to do thorough searches before posting a question that may have already been previously answered. There is also a Frequently Asked Question section which we attempt to keep up to date.<br /><br />When all else fails the Etomite support may even offer one-on-one support, including hands-on diagnosis and repair of stubborn issues. While the staff does not encourage users to ask for such levels of support the staffers may make the offer just to get you back in business faster.<br /><br />The Etomite community also has several members who work with Etomite almost exclusively and they may be willing to lend their expertise, for negotiable fees, should you require their services. This level of support ranges from site template conversions all the way to complete custom data management modules to extend Etomite to your needs.<br /><br />One thing is for certain - you will never be left feeling like nobody has even read your support request. Most support requests are acknowledged within hours, or even minutes, not days, and the support continues until the issue has been resolved.<br /><br />\r\n\r\n', '\r\n  When you have questions, and you almost certainly will, it''s nice to know that help is available. The Etomite support staff know the value of time which is why they make every possible effort to keep you moving forward with development of your projects.\r\n\r\nThe first place to look whenever you have questions is in the documentation section of the Etomite website. The process of documenting the Etomite CMS is an ongoing task and we ask that anyone who has the ability, and desire, to donate their efforts towards enhancing our current documentation if at all possible.\r\n\r\nIf the answers to your questions can''t be found in the documentation, or you need a bit more clarification regarding a specific issue, then you can try a search of the Etomite support forums. Please make every attempt to do thorough searches before posting a question that may have already been previously answered. There is also a Frequently Asked Question section which we attempt to keep up to date.\r\n\r\nWhen all else fails the Etomite support may even offer one-on-one support, including hands-on diagnosis and repair of stubborn issues. While the staff does not encourage users to ask for such levels of support the staffers may make the offer just to get you back in business faster.\r\n\r\nThe Etomite community also has several members who work with Etomite almost exclusively and they may be willing to lend their expertise, for negotiable fees, should you require their services. This level of support ranges from site template conversions all the way to complete custom data management modules to extend Etomite to your needs.\r\n\r\nOne thing is for certain - you will never be left feeling like nobody has even read your support request. Most support requests are acknowledged within hours, or even minutes, not days, and the support continues until the issue has been resolved.\r\n\r\n\r\n\r\n', 1, 1, 3, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(10, 'document', 'text/html', 'Help and Support', 'Where to find the answers you need.', 'Etomite is one of the best supported Open Source packages when it comes to timely rsponses to your concerns.', 'help-and-support', 1, 0, 0, 8, 0, '\r\n  When you have questions, and you almost certainly will, it''s nice to know that help is available. The Etomite support staff know the value of time which is why they make every possible effort to keep you moving forward with development of your projects.<br /><br />The first place to look whenever you have questions is in the documentation section of the Etomite website. The process of documenting the Etomite CMS is an ongoing task and we ask that anyone who has the ability, and desire, to donate their efforts towards enhancing our current documentation if at all possible.<br /><br />If the answers to your questions can''t be found in the documentation, or you need a bit more clarification regarding a specific issue, then you can try a search of the Etomite support forums. Please make every attempt to do thorough searches before posting a question that may have already been previously answered. There is also a Frequently Asked Question section which we attempt to keep up to date.<br /><br />When all else fails the Etomite support may even offer one-on-one support, including hands-on diagnosis and repair of stubborn issues. While the staff does not encourage users to ask for such levels of support the staffers may make the offer just to get you back in business faster.<br /><br />The Etomite community also has several members who work with Etomite almost exclusively and they may be willing to lend their expertise, for negotiable fees, should you require their services. This level of support ranges from site template conversions all the way to complete custom data management modules to extend Etomite to your needs.<br /><br />One thing is for certain - you will never be left feeling like nobody has even read your support request. Most support requests are acknowledged within hours, or even minutes, not days, and the support continues until the issue has been resolved.<br /><br />\r\n\r\n', 1, 1, 3, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
345c337
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(11, 'document', 'text/html', 'Contribute', 'Giving back to the Etomite community.', 'Contributions don''t always have to be monetary.', 'contribute', 1, 0, 0, 8, 0, '\r\nIf you find the Etomite CMS package useful then why not contribute back to the community. The level of contribution is up to you and there are several ways to do so.<br /><br />Keeping the support forums up and running, like everything else these days, takes money. You don''t get reliable hosting for free, as we have discovered, the hard way, in the past. ANY and ALL monetary contributions are greatly appreciated and no monetary contribution is too small. All monetary contributions are processed via PayPal so that personal information remains secure.<br /><br />Helping out with support issues in the support forums is yet another way to contribute back to the project. While you may not feel adept enough to lend a hand right at the start you may end up being able to share through your personal experiences of working with the Etomite software as time progresses. It is the dedication of its many users that makes Etomite what it is today.<br /><br />Contributions of page templates, PHP snippets, HTML or Javascript chunks, documentation, tutorials, or anything else you can think of would be graciously welcomed. Conversions and third-party integrations, while at the more advanced end of the spectrum, are yet another way that some members contribute.<br /><br />\r\n\r\n', '\r\nIf you find the Etomite CMS package useful then why not contribute back to the community. The level of contribution is up to you and there are several ways to do so.\r\n\r\nKeeping the support forums up and running, like everything else these days, takes money. You don''t get reliable hosting for free, as we have discovered, the hard way, in the past. ANY and ALL monetary contributions are greatly appreciated and no monetary contribution is too small. All monetary contributions are processed via PayPal so that personal information remains secure.\r\n\r\nHelping out with support issues in the support forums is yet another way to contribute back to the project. While you may not feel adept enough to lend a hand right at the start you may end up being able to share through your personal experiences of working with the Etomite software as time progresses. It is the dedication of its many users that makes Etomite what it is today.\r\n\r\nContributions of page templates, PHP snippets, HTML or Javascript chunks, documentation, tutorials, or anything else you can think of would be graciously welcomed. Conversions and third-party integrations, while at the more advanced end of the spectrum, are yet another way that some members contribute.\r\n\r\n\r\n\r\n', 1, 1, 4, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(11, 'document', 'text/html', 'Contribute', 'Giving back to the Etomite community.', 'Contributions don''t always have to be monetary.', 'contribute', 1, 0, 0, 8, 0, '\r\nIf you find the Etomite CMS package useful then why not contribute back to the community. The level of contribution is up to you and there are several ways to do so.<br /><br />Keeping the support forums up and running, like everything else these days, takes money. You don''t get reliable hosting for free, as we have discovered, the hard way, in the past. ANY and ALL monetary contributions are greatly appreciated and no monetary contribution is too small. All monetary contributions are processed via PayPal so that personal information remains secure.<br /><br />Helping out with support issues in the support forums is yet another way to contribute back to the project. While you may not feel adept enough to lend a hand right at the start you may end up being able to share through your personal experiences of working with the Etomite software as time progresses. It is the dedication of its many users that makes Etomite what it is today.<br /><br />Contributions of page templates, PHP snippets, HTML or Javascript chunks, documentation, tutorials, or anything else you can think of would be graciously welcomed. Conversions and third-party integrations, while at the more advanced end of the spectrum, are yet another way that some members contribute.<br /><br />\r\n\r\n', 1, 1, 4, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
347c339
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(12, 'document', 'text/html', 'Document Tags', 'Document Resource Tags', 'Document tags and their definitions.', 'doc-tags', 1, 0, 0, 20, 0, '\r\n\r\n<p>Right about now you may be wondering how Etomite can make your site development endeavor a more productive and exciting experience. There are several built-in Etomite resources which can make working with dynamic content a lot easier and we''ll sample some of those here.</p>\r\n\r\n<p>Etomite stores all document resources in the site_content database table and we can access any of the available data fields using the following resource tags. Each tag is followed by a brief explanation of the corresponding data fields general purpose. It should be noted, however, that only those fields fields requested in the database query will be available and several of the API functions only retrieve a subset of these fields by default. To display one of these data fields within a page template, document, or chunk, you would use the document tag format, <span style="font-weight: bold;">[ *field* ]</span>, and the parser will replace the tag with the data fields current value. As an example, by placing the <span style="font-weight: bold;">[ *pagetitle* ]</span> tag here in this sentence the parser will display <span style="font-weight: bold;">[*pagetitle*]</span>, the title of this page.</p>\r\n\r\n<table class="varList">\r\n<tbody>\r\n<tr>\r\n<th>Column</th>\r\n\r\n<th>Description</th>\r\n</tr>\r\n<tr>\r\n<td>id</td>\r\n<td>Returns the ID of the current page</td></tr>\r\n<tr>\r\n<td>type</td>\r\n<td>Currently Document or Reference (web link), but could be expanded in future releases</td></tr>\r\n<tr>\r\n<td>contentType</td>\r\n<td>This is the documents content-type which can be used to used for meta tag generation</td></tr>\r\n<tr>\r\n<td>pagetitle</td>\r\n<td>Returns the page title of the current page</td></tr>\r\n<tr>\r\n<td>longtitle</td>\r\n<td>Returns the long title of the current page</td></tr>\r\n<tr>\r\n<td>description</td>\r\n<td>Returns the description of the current page</td></tr>\r\n<tr>\r\n<td>alias</td>\r\n<td>The documents Alias name</td></tr>\r\n<tr>\r\n<td>published</td>\r\n<td>Whether the document is published or unpublished</td></tr>\r\n<tr>\r\n<td>pub_date</td>\r\n<td>A unix timestamp which determines when to publish a document when set</td></tr>\r\n<tr>\r\n<td>unpub_date</td>\r\n<td>A unix timestamp which determines when to unpublish a document when set</td></tr>\r\n<tr>\r\n<td>parent</td>\r\n<td>The current documents parent in the document tree</td></tr>\r\n<tr>\r\n<td>isfolder</td>\r\n<td>Whether this document is also a parent folder which can have child documents</td></tr>\r\n<tr>\r\n<td>content</td>\r\n<td>Returns the content of the current page</td></tr>\r\n<tr>\r\n<td>richtext</td>\r\n<td>Whether or not to use a WYSIWYG editor for maintaining this document</td></tr>\r\n<tr>\r\n<td>template</td>\r\n<td>The page template to use when rendering this document</td></tr>\r\n<tr>\r\n<td>menuindex</td>\r\n<td>This index is used for ordering within the document tree as a sub-sort of the documents parent</td></tr>\r\n<tr>\r\n<td>searchable</td>\r\n<td>Whether this document should be included in site searches, based on snippet logic</td></tr>\r\n<tr>\r\n<td>cacheable</td>\r\n<td>Whether this document should be cached</td></tr>\r\n<tr>\r\n<td>createdby</td>\r\n<td>The internalKey id of the user who created this document</td></tr>\r\n<tr>\r\n<td>createdon</td>\r\n<td>Unix timestamp representing when this document was originally created</td></tr>\r\n<tr>\r\n<td>editedby</td>\r\n<td>The internalKey id of the user who last edited this document</td></tr>\r\n<tr>\r\n<td>editedon</td>\r\n<td>Unix timestamp representing when this document was last edited</td></tr>\r\n<tr>\r\n<td>deleted</td>\r\n<td>Whether this document is flagged to be purged from the database</td></tr>\r\n<tr>\r\n<td>deletedon</td>\r\n<td>Unix timestamp representing when this document was flagged as deleted</td></tr>\r\n<tr>\r\n<td>deletedby</td>\r\n<td>The internalKey id of the user who flagged as deleted</td></tr>\r\n<tr>\r\n<td>authenticate</td>\r\n<td>Whether or not user authentication of this document should be performed by the parser or via snippet logic</td></tr>\r\n<tr>\r\n<td>showinmenu</td>\r\n<td>Boolean flag [0|1] which is used by several API functions, primarily to determine whether or not a document should be included in a menu.</td></tr></tbody></table>\r\n\r\n', '\r\n\r\n<p>Right about now you may be wondering how Etomite can make your site development endeavor a more productive and exciting experience. There are several built-in Etomite resources which can make working with dynamic content a lot easier and we''ll sample some of those here.</p>\r\n\r\n<p>Etomite stores all document resources in the site_content database table and we can access any of the available data fields using the following resource tags. Each tag is followed by a brief explanation of the corresponding data fields general purpose. It should be noted, however, that only those fields fields requested in the database query will be available and several of the API functions only retrieve a subset of these fields by default. To display one of these data fields within a page template, document, or chunk, you would use the document tag format, <span style="font-weight: bold;">[ *field* ]</span>, and the parser will replace the tag with the data fields current value. As an example, by placing the <span style="font-weight: bold;">[ *pagetitle* ]</span> tag here in this sentence the parser will display <span style="font-weight: bold;">[*pagetitle*]</span>, the title of this page.</p>\r\n\r\n<table class="varList">\r\n<tbody>\r\n<tr>\r\n<th>Column</th>\r\n\r\n<th>Description</th>\r\n</tr>\r\n<tr>\r\n<td>id</td>\r\n<td>Returns the ID of the current page</td></tr>\r\n<tr>\r\n<td>type</td>\r\n<td>Currently Document or Reference (web link), but could be expanded in future releases</td></tr>\r\n<tr>\r\n<td>contentType</td>\r\n<td>This is the documents content-type which can be used to used for meta tag generation</td></tr>\r\n<tr>\r\n<td>pagetitle</td>\r\n<td>Returns the page title of the current page</td></tr>\r\n<tr>\r\n<td>longtitle</td>\r\n<td>Returns the long title of the current page</td></tr>\r\n<tr>\r\n<td>description</td>\r\n<td>Returns the description of the current page</td></tr>\r\n<tr>\r\n<td>alias</td>\r\n<td>The documents Alias name</td></tr>\r\n<tr>\r\n<td>published</td>\r\n<td>Whether the document is published or unpublished</td></tr>\r\n<tr>\r\n<td>pub_date</td>\r\n<td>A unix timestamp which determines when to publish a document when set</td></tr>\r\n<tr>\r\n<td>unpub_date</td>\r\n<td>A unix timestamp which determines when to unpublish a document when set</td></tr>\r\n<tr>\r\n<td>parent</td>\r\n<td>The current documents parent in the document tree</td></tr>\r\n<tr>\r\n<td>isfolder</td>\r\n<td>Whether this document is also a parent folder which can have child documents</td></tr>\r\n<tr>\r\n<td>content</td>\r\n<td>Returns the content of the current page</td></tr>\r\n<tr>\r\n<td>richtext</td>\r\n<td>Whether or not to use a WYSIWYG editor for maintaining this document</td></tr>\r\n<tr>\r\n<td>template</td>\r\n<td>The page template to use when rendering this document</td></tr>\r\n<tr>\r\n<td>menuindex</td>\r\n<td>This index is used for ordering within the document tree as a sub-sort of the documents parent</td></tr>\r\n<tr>\r\n<td>searchable</td>\r\n<td>Whether this document should be included in site searches, based on snippet logic</td></tr>\r\n<tr>\r\n<td>cacheable</td>\r\n<td>Whether this document should be cached</td></tr>\r\n<tr>\r\n<td>createdby</td>\r\n<td>The internalKey id of the user who created this document</td></tr>\r\n<tr>\r\n<td>createdon</td>\r\n<td>Unix timestamp representing when this document was originally created</td></tr>\r\n<tr>\r\n<td>editedby</td>\r\n<td>The internalKey id of the user who last edited this document</td></tr>\r\n<tr>\r\n<td>editedon</td>\r\n<td>Unix timestamp representing when this document was last edited</td></tr>\r\n<tr>\r\n<td>deleted</td>\r\n<td>Whether this document is flagged to be purged from the database</td></tr>\r\n<tr>\r\n<td>deletedon</td>\r\n<td>Unix timestamp representing when this document was flagged as deleted</td></tr>\r\n<tr>\r\n<td>deletedby</td>\r\n<td>The internalKey id of the user who flagged as deleted</td></tr>\r\n<tr>\r\n<td>authenticate</td>\r\n<td>Whether or not user authentication of this document should be performed by the parser or via snippet logic</td></tr>\r\n<tr>\r\n<td>showinmenu</td>\r\n<td>Boolean flag [0|1] which is used by several API functions, primarily to determine whether or not a document should be included in a menu.</td></tr></tbody></table>\r\n\r\n', 1, 1, 5, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(12, 'document', 'text/html', 'Document Tags', 'Document Resource Tags', 'Document tags and their definitions.', 'doc-tags', 1, 0, 0, 20, 0, '\r\n\r\n<p>Right about now you may be wondering how Etomite can make your site development endeavor a more productive and exciting experience. There are several built-in Etomite resources which can make working with dynamic content a lot easier and we''ll sample some of those here.</p>\r\n\r\n<p>Etomite stores all document resources in the site_content database table and we can access any of the available data fields using the following resource tags. Each tag is followed by a brief explanation of the corresponding data fields general purpose. It should be noted, however, that only those fields fields requested in the database query will be available and several of the API functions only retrieve a subset of these fields by default. To display one of these data fields within a page template, document, or chunk, you would use the document tag format, <span style="font-weight: bold;">[ *field* ]</span>, and the parser will replace the tag with the data fields current value. As an example, by placing the <span style="font-weight: bold;">[ *pagetitle* ]</span> tag here in this sentence the parser will display <span style="font-weight: bold;">[*pagetitle*]</span>, the title of this page.</p>\r\n\r\n<table class="varList">\r\n<tbody>\r\n<tr>\r\n<th>Column</th>\r\n\r\n<th>Description</th>\r\n</tr>\r\n<tr>\r\n<td>id</td>\r\n<td>Returns the ID of the current page</td></tr>\r\n<tr>\r\n<td>type</td>\r\n<td>Currently Document or Reference (web link), but could be expanded in future releases</td></tr>\r\n<tr>\r\n<td>contentType</td>\r\n<td>This is the documents content-type which can be used to used for meta tag generation</td></tr>\r\n<tr>\r\n<td>pagetitle</td>\r\n<td>Returns the page title of the current page</td></tr>\r\n<tr>\r\n<td>longtitle</td>\r\n<td>Returns the long title of the current page</td></tr>\r\n<tr>\r\n<td>description</td>\r\n<td>Returns the description of the current page</td></tr>\r\n<tr>\r\n<td>alias</td>\r\n<td>The documents Alias name</td></tr>\r\n<tr>\r\n<td>published</td>\r\n<td>Whether the document is published or unpublished</td></tr>\r\n<tr>\r\n<td>pub_date</td>\r\n<td>A unix timestamp which determines when to publish a document when set</td></tr>\r\n<tr>\r\n<td>unpub_date</td>\r\n<td>A unix timestamp which determines when to unpublish a document when set</td></tr>\r\n<tr>\r\n<td>parent</td>\r\n<td>The current documents parent in the document tree</td></tr>\r\n<tr>\r\n<td>isfolder</td>\r\n<td>Whether this document is also a parent folder which can have child documents</td></tr>\r\n<tr>\r\n<td>content</td>\r\n<td>Returns the content of the current page</td></tr>\r\n<tr>\r\n<td>richtext</td>\r\n<td>Whether or not to use a WYSIWYG editor for maintaining this document</td></tr>\r\n<tr>\r\n<td>template</td>\r\n<td>The page template to use when rendering this document</td></tr>\r\n<tr>\r\n<td>menuindex</td>\r\n<td>This index is used for ordering within the document tree as a sub-sort of the documents parent</td></tr>\r\n<tr>\r\n<td>searchable</td>\r\n<td>Whether this document should be included in site searches, based on snippet logic</td></tr>\r\n<tr>\r\n<td>cacheable</td>\r\n<td>Whether this document should be cached</td></tr>\r\n<tr>\r\n<td>createdby</td>\r\n<td>The internalKey id of the user who created this document</td></tr>\r\n<tr>\r\n<td>createdon</td>\r\n<td>Unix timestamp representing when this document was originally created</td></tr>\r\n<tr>\r\n<td>editedby</td>\r\n<td>The internalKey id of the user who last edited this document</td></tr>\r\n<tr>\r\n<td>editedon</td>\r\n<td>Unix timestamp representing when this document was last edited</td></tr>\r\n<tr>\r\n<td>deleted</td>\r\n<td>Whether this document is flagged to be purged from the database</td></tr>\r\n<tr>\r\n<td>deletedon</td>\r\n<td>Unix timestamp representing when this document was flagged as deleted</td></tr>\r\n<tr>\r\n<td>deletedby</td>\r\n<td>The internalKey id of the user who flagged as deleted</td></tr>\r\n<tr>\r\n<td>authenticate</td>\r\n<td>Whether or not user authentication of this document should be performed by the parser or via snippet logic</td></tr>\r\n<tr>\r\n<td>showinmenu</td>\r\n<td>Boolean flag [0|1] which is used by several API functions, primarily to determine whether or not a document should be included in a menu.</td></tr></tbody></table>\r\n\r\n', 1, 1, 5, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
349c341
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(13, 'document', 'text/html', 'New-E', 'Classic colors - contemporary design', 'Demonstration of the New-E page template', 'new-e', 1, 0, 0, 13, 0, '<h2>Fresh</h2>\r\n\r\n<p>New-E is a more contemporary take on the classic orange\r\nand blue theme. Brighter, bolder, and more standards compliant,\r\nNew-E is the new Etomite standard.</p>\r\n\r\n<p>Also a shout of thanks to Capertino for the layout inspiration!</p>', 'Fresh\r\n########\r\n\r\nNew-E is a more contemporary take on the classic orange\r\nand blue theme. Brighter, bolder, and more standards compliant,\r\nNew-E is the new Etomite standard.\r\n\r\nAlso a shout of thanks to Capertino for the layout inspiration!', 1, 1, 90, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(13, 'document', 'text/html', 'New-E', 'Classic colors - contemporary design', 'Demonstration of the New-E page template', 'new-e', 1, 0, 0, 13, 0, '<h2>Fresh</h2>\r\n\r\n<p>New-E is a more contemporary take on the classic orange\r\nand blue theme. Brighter, bolder, and more standards compliant,\r\nNew-E is the new Etomite standard.</p>\r\n\r\n<p>Also a shout of thanks to Capertino for the layout inspiration!</p>', 1, 1, 90, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
351c343
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(14, 'document', 'text/html', 'Search Results', 'This document contains the SearchResults snippet call', 'Displays the results of the SearchPrompt snippet', '', 1, 0, 0, 2, 0, '\r\n[!SearchResults!]\r\n\r\n', '\r\n[!SearchResults!]\r\n\r\n', 1, 1, 0, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(14, 'document', 'text/html', 'Search Results', 'This document contains the SearchResults snippet call', 'Displays the results of the SearchPrompt snippet', '', 1, 0, 0, 2, 0, '\r\n[!SearchResults!]\r\n\r\n', 1, 1, 0, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
353c345
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(15, 'document', 'text/html', 'Site Map', 'Links to every page on this web site', 'Links to every page on this web site', 'site-map', 1, 0, 0, 0, 0, '[!ListSiteMap!] ', '[!ListSiteMap!] ', 1, 1, 5, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(15, 'document', 'text/html', 'Site Map', 'Links to every page on this web site', 'Links to every page on this web site', 'site-map', 1, 0, 0, 0, 0, '[!ListSiteMap!] ', 1, 1, 5, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
355c347
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(16, 'document', 'text/xml', 'Google Site Map', '', '', 'google-sitemap', 1, 0, 0, 2, 0, '[!GoogleSiteMap_XML!]', '[!GoogleSiteMap_XML!]', 0, 2, 10, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(16, 'document', 'text/xml', 'Google Site Map', '', '', 'google-sitemap', 1, 0, 0, 2, 0, '[!GoogleSiteMap_XML!]', 0, 2, 10, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
357c349
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(17, 'document', 'text/html', 'sideBanner', '', '', '', 0, 0, 0, 0, 0, '\r\n\r\n<p>If you enjoy Etomite and find it useful, please consider <a href="http://www.etomite.com/contribute.html" title="Contribute to Etomite">contributing</a>! Your contributions keep the Etomite project alive and make it the great CMS it is today.</p>\r\n\r\n\r\n', '\r\n\r\nIf you enjoy Etomite and find it useful, please consider "contributing .(Contribute to Etomite)":http://www.etomite.com/contribute.html! Your contributions keep the Etomite project alive and make it the great CMS it is today.\r\n\r\n\r\n', 1, 1, 6, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(17, 'document', 'text/html', 'sideBanner', '', '', '', 0, 0, 0, 0, 0, '\r\n\r\n<p>If you enjoy Etomite and find it useful, please consider <a href="http://www.etomite.com/contribute.html" title="Contribute to Etomite">contributing</a>! Your contributions keep the Etomite project alive and make it the great CMS it is today.</p>\r\n\r\n\r\n', 1, 1, 6, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
359c351
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`,`showinmenu`) VALUES(18, 'document', 'text/html', 'Test1', '', '', '', 1, 0, 0, 21, 0, '\r\n<span style="font-weight: bold;">Copyright:</span> [!Copyright!]<br /><span style="font-weight: bold;"></span><span style="font-weight: bold;">DateTimePlus:</span> [!DateTimePlus!]<br /><span style="font-weight: bold;">FirtsHit:</span> [!FirstHit!]<br /><span style="font-weight: bold;">GetAuthorData:</span> [!GetAuthorData?internalKey=[*editedby*]&amp;field=fullname!]<br /><span style="font-weight: bold;">GetDocContent:</span> [!GetDocContent?id=25!]<br /><span style="font-weight: bold;"></span><span style="font-weight: bold;"></span><span style="font-weight: bold;"></span><span style="font-weight: bold;">PageTrail:</span> [!PageTrail!]<br /><span style="font-weight: bold;">PoweredBy:</span> [!PoweredBy!]<br /><span style="font-weight: bold;">SiteUpdate:</span> [!SiteUpdate!]<br /><span style="font-weight: bold;">SummaryList:</span> [!SummaryList?ids=8!]<br /><span style="font-weight: bold;">ListDocuments:</span> [!ListDocuments?ids=8!]<br /><span style="font-weight: bold;"></span><span style="font-weight: bold;">NewsListing:</span> [!NewsListing?newsid=8!]<br /><span style="font-weight: bold;"></span>\r\n\r\n', '\r\n**Copyright:** [!Copyright!]\r\n**DateTimePlus:** [!DateTimePlus!]\r\n**FirtsHit:** [!FirstHit!]\r\n**GetAuthorData:** [!GetAuthorData?internalKey=[*editedby*]&amp;field=fullname!]\r\n**GetDocContent:** [!GetDocContent?id=25!]\r\n**PageTrail:** [!PageTrail!]\r\n**PoweredBy:** [!PoweredBy!]\r\n**SiteUpdate:** [!SiteUpdate!]\r\n**SummaryList:** [!SummaryList?ids=8!]\r\n**ListDocuments:** [!ListDocuments?ids=8!]\r\n**NewsListing:** [!NewsListing?newsid=8!]\r\n\r\n\r\n', 1, 1, 5, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(18, 'document', 'text/html', 'Test1', '', '', '', 1, 0, 0, 21, 0, '\r\n<span style="font-weight: bold;">Copyright:</span> [!Copyright!]<br /><span style="font-weight: bold;"></span><span style="font-weight: bold;">DateTimePlus:</span> [!DateTimePlus!]<br /><span style="font-weight: bold;">FirtsHit:</span> [!FirstHit!]<br /><span style="font-weight: bold;">GetAuthorData:</span> [!GetAuthorData?internalKey=[*editedby*]&amp;field=fullname!]<br /><span style="font-weight: bold;">GetDocContent:</span> [!GetDocContent?id=25!]<br /><span style="font-weight: bold;"></span><span style="font-weight: bold;"></span><span style="font-weight: bold;"></span><span style="font-weight: bold;">PageTrail:</span> [!PageTrail!]<br /><span style="font-weight: bold;">PoweredBy:</span> [!PoweredBy!]<br /><span style="font-weight: bold;">SiteUpdate:</span> [!SiteUpdate!]<br /><span style="font-weight: bold;">SummaryList:</span> [!SummaryList?ids=8!]<br /><span style="font-weight: bold;">ListDocuments:</span> [!ListDocuments?ids=8!]<br /><span style="font-weight: bold;"></span><span style="font-weight: bold;">NewsListing:</span> [!NewsListing?newsid=8!]<br /><span style="font-weight: bold;"></span>\r\n\r\n', 1, 1, 5, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
361c353
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(19, 'document', 'text/html', 'sideBanner', '', '', '', 0, 0, 0, 21, 0, '<p>This is a section-specific sidebar that is being used to demonstrate how multiple sidebars can be used throughout a site.<br /></p>\r\n                                \r\n\r\n', 'This is a section-specific sidebar that is being used to demonstrate how multiple sidebars can be used throughout a site.\r\n\r\n\r\n', 1, 1, 4, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(19, 'document', 'text/html', 'sideBanner', '', '', '', 0, 0, 0, 21, 0, '<p>This is a section-specific sidebar that is being used to demonstrate how multiple sidebars can be used throughout a site.<br /></p>\r\n                                \r\n\r\n', 1, 1, 4, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
363c355
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(20, 'document', 'text/html', 'Resources', 'Overview of Etomite resources', 'These are the components that make your work easier.', 'resources', 1, 0, 0, 0, 1, '\r\n<p>Wondering about the sub-menu that just appeared on the left? It''s built using ListMenu, one of the many menu-generating snippets available to Etomite.</p>\r\n\r\n<p>The menu will automatically update to show this document''s children when you create sub-documents underneath any document; and using CSS styles, you can control how it looks.</p>\r\n\r\n<p>You can hide any documents in your Etomite website by de-selecting the "Show in menu" setting, un-publishing a document, or of course, deleting a document.</p>\r\n     \r\n\r\n', '\r\nWondering about the sub-menu that just appeared on the left? It''s built using ListMenu, one of the many menu-generating snippets available to Etomite.\r\n\r\nThe menu will automatically update to show this document''s children when you create sub-documents underneath any document; and using CSS styles, you can control how it looks.\r\n\r\nYou can hide any documents in your Etomite website by de-selecting the "Show in menu" setting, un-publishing a document, or of course, deleting a document.\r\n\r\n\r\n', 1, 1, 3, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(20, 'document', 'text/html', 'Resources', 'Overview of Etomite resources', 'These are the components that make your work easier.', 'resources', 1, 0, 0, 0, 1, '\r\n<p>Wondering about the sub-menu that just appeared on the left? It''s built using ListMenu, one of the many menu-generating snippets available to Etomite.</p>\r\n\r\n<p>The menu will automatically update to show this document''s children when you create sub-documents underneath any document; and using CSS styles, you can control how it looks.</p>\r\n\r\n<p>You can hide any documents in your Etomite website by de-selecting the "Show in menu" setting, un-publishing a document, or of course, deleting a document.</p>\r\n     \r\n\r\n', 1, 1, 3, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
365c357
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(21, 'document', 'text/html', 'Testing DateTimePlus', 'Testing DateTimePlus Long Title', 'This is the description', 'Test', 1, 0, 0, 23, 0, '\r\n  Testing DateTimePlus to see if it displays the year as <font size="3">[!DateTimePlus?format=Y!]</font>\r\n\r\n', '\r\n Testing DateTimePlus to see if it displays the year as **[!DateTimePlus?format=Y!]**\r\n\r\n', 1, 1, 1, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(21, 'document', 'text/html', 'Testing DateTimePlus', 'Testing DateTimePlus Long Title', 'This is the description', 'Test', 1, 0, 0, 23, 0, '\r\n  Testing DateTimePlus to see if it displays the year as <font size="3">[!DateTimePlus?format=Y!]</font>\r\n\r\n', 1, 1, 1, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
367c359
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(22, 'document', 'text/html', 'Overview', 'Tapping into the powers of Etomite', 'Some simple tips that can make site development easy and fun.', 'overview', 1, 0, 0, 21, 0, '<p>Right about now you may be wondering how Etomite can make your site development endeavor a more productive and exciting experience. There are several built-in Etomite resources which can make working with dynamic content a lot easier and we''ll sample some of those here.</p>\r\n<p>Etomite stores all document resources in the site_content database table and we can access any of the available data fields using the following resource tags. Each tag is followed by a brief explanation of the corresponding data fields general purpose. It should be noted, however, that only those fields fields requested in the database query will be available and several of the API functions only retrieve a subset of these fields by default. To display one of these data fields within a page template, document, or chunk, you would use the document tag format, [*field*], and the parser will replace the tag with the data fields current value. As an example, by placing the [*pagetitle*] tag here in this sentence the parser will display <span style="font-weight: bold;">Overview</span>, the title of this page.</p>\r\n<br /><dl class="table-display">&nbsp; <dt>id</dt>&nbsp; <dd>Returns the ID of the current page</dd>&nbsp; <dt>type</dt>&nbsp; <dd>Currently Document or Reference (web link), but could be expanded in future releases</dd>&nbsp; <dt>contentType</dt>&nbsp; <dd>This is the documents content-type which can be used to used for meta tag generation</dd>&nbsp; <dt>pagetitle</dt>&nbsp; <dd>Returns the page title of the current page</dd>&nbsp; <dt>longtitle</dt>&nbsp; <dd>Returns the long title of the current page</dd>&nbsp; <dt>description</dt>&nbsp; <dd>Returns the description of the current page</dd>&nbsp; <dt>alias</dt>&nbsp; <dd>The documents Alias name</dd>&nbsp; <dt>published</dt>&nbsp; <dd>Whether the document is published or unpublished</dd>&nbsp; <dt>pub_date</dt>&nbsp; <dd>A unix timestamp which determines when to publish a document when set</dd>&nbsp; <dt>unpub_date</dt>&nbsp; <dd>A unix timestamp which determines when to unpublish a document when set</dd>&nbsp; <dt>parent</dt>&nbsp; <dd>The current documents parent in the document tree</dd>&nbsp; <dt>isfolder</dt>&nbsp; <dd>Whether this document is also a parent folder which can have child documents</dd>&nbsp; <dt>content</dt>&nbsp; <dd>Returns the content of the current page</dd>&nbsp; <dt>richtext</dt>&nbsp; <dd>Whether or not to use a WYSIWYG editor for maintaining this document</dd>&nbsp; <dt>template</dt>&nbsp; <dd>The page template to use when rendering this document</dd>&nbsp; <dt>menuindex</dt>&nbsp; <dd>This index is used for ordering within the document tree as a sub-sort of the documents parent</dd>&nbsp; <dt>searchable</dt>&nbsp; <dd>Whether this document should be included in site searches, based on snippet logic</dd>&nbsp; <dt>cacheable</dt>&nbsp; <dd>Whether this document should be cached</dd>&nbsp; <dt>createdby</dt>&nbsp; <dd>The internalKey id of the user who created this document</dd>&nbsp; <dt>createdon</dt>&nbsp; <dd>Unix timestamp representing when this document was originally created</dd>&nbsp; <dt>editedby</dt>&nbsp; <dd>The internalKey id of the user who last edited this document</dd>&nbsp; <dt>editedon</dt>&nbsp; <dd>Unix timestamp representing when this document was last edited</dd>&nbsp; <dt>deleted</dt>&nbsp; <dd>Whether this document is flagged to be purged from the database</dd>&nbsp; <dt>deletedon</dt>&nbsp; <dd>Unix timestamp representing when this document was flagged as deleted</dd>&nbsp; <dt>deletedby</dt>&nbsp; <dd>The internalKey id of the user who flagged as deleted</dd>&nbsp; <dt>authenticate</dt>&nbsp; <dd>Whether or not user authentication of this document should be performed by the parser or via snippet logic</dd>&nbsp; <dt>showinmenu</dt>&nbsp; <dd>Boolean flag [0|1] which is used by several API functions, primarily to determine whether or not a document should be included in a menu.</dd></dl>', '\r\nRight about now you may be wondering how Etomite can make your site development endeavor a more productive and exciting experience. There are several built-in Etomite resources which can make working with dynamic content a lot easier and we''ll sample some of those here.\r\n\r\nEtomite stores all document resources in the site_content database table and we can access any of the available data fields using the following resource tags. Each tag is followed by a brief explanation of the corresponding data fields general purpose. It should be noted, however, that only those fields fields requested in the database query will be available and several of the API functions only retrieve a subset of these fields by default. To display one of these data fields within a page template, document, or chunk, you would use the document tag format, [*field*], and the parser will replace the tag with the data fields current value. As an example, by placing the [*pagetitle*] tag here in this sentence the parser will display **Overview**, the title of this page.\r\n\r\nid::\r\n - Returns the ID of the current page\r\ntype::\r\n - Currently Document or Reference (web link), but could be expanded in future releases\r\ncontentType::\r\n - This is the documents content-type which can be used to used for meta tag generation\r\npagetitle::\r\n - Returns the page title of the current page\r\nlongtitle::\r\n - Returns the long title of the current page\r\ndescription::\r\n - Returns the description of the current page\r\nalias::\r\n - The documents Alias name\r\npublished::\r\n - Whether the document is published or unpublished\r\npub_date::\r\n - A unix timestamp which determines when to publish a document when set\r\nunpub_date::\r\n - A unix timestamp which determines when to unpublish a document when set\r\nparent::\r\n - The current documents parent in the document tree\r\nisfolder::\r\n - Whether this document is also a parent folder which can have child documents\r\ncontent::\r\n - Returns the content of the current page\r\nrichtext::\r\n - Whether or not to use a WYSIWYG editor for maintaining this document\r\ntemplate::\r\n - The page template to use when rendering this document\r\nmenuindex::\r\n - This index is used for ordering within the document tree as a sub-sort of the documents parent\r\nsearchable::\r\n - Whether this document should be included in site searches, based on snippet logic\r\ncacheable::\r\n - Whether this document should be cached\r\ncreatedby::\r\n - The internalKey id of the user who created this document\r\ncreatedon::\r\n - Unix timestamp representing when this document was originally created\r\neditedby::\r\n - The internalKey id of the user who last edited this document\r\neditedon::\r\n - Unix timestamp representing when this document was last edited\r\neleted::\r\n - Whether this document is flagged to be purged from the database\r\ndeletedon::\r\n - Unix timestamp representing when this document was flagged as deleted\r\ndeletedby::\r\n - The internalKey id of the user who flagged as deleted\r\nauthenticate::\r\n - Whether or not user authentication of this document should be performed by the parser or via snippet logic\r\nshowinmenu::\r\n - Boolean flag [0|1] which is used by several API functions, primarily to determine whether or not a document should be included in a menu.\r\n\r\n',1, 1, 1, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(22, 'document', 'text/html', 'Overview', 'Tapping into the powers of Etomite', 'Some simple tips that can make site development easy and fun.', 'overview', 1, 0, 0, 21, 0, '<p>Right about now you may be wondering how Etomite can make your site development endeavor a more productive and exciting experience. There are several built-in Etomite resources which can make working with dynamic content a lot easier and we''ll sample some of those here.</p>\r\n<p>Etomite stores all document resources in the site_content database table and we can access any of the available data fields using the following resource tags. Each tag is followed by a brief explanation of the corresponding data fields general purpose. It should be noted, however, that only those fields fields requested in the database query will be available and several of the API functions only retrieve a subset of these fields by default. To display one of these data fields within a page template, document, or chunk, you would use the document tag format, [*field*], and the parser will replace the tag with the data fields current value. As an example, by placing the [*pagetitle*] tag here in this sentence the parser will display <span style="font-weight: bold;">Overview</span>, the title of this page.</p>\r\n<br /><dl class="table-display">&nbsp; <dt>id</dt>&nbsp; <dd>Returns the ID of the current page</dd>&nbsp; <dt>type</dt>&nbsp; <dd>Currently Document or Reference (web link), but could be expanded in future releases</dd>&nbsp; <dt>contentType</dt>&nbsp; <dd>This is the documents content-type which can be used to used for meta tag generation</dd>&nbsp; <dt>pagetitle</dt>&nbsp; <dd>Returns the page title of the current page</dd>&nbsp; <dt>longtitle</dt>&nbsp; <dd>Returns the long title of the current page</dd>&nbsp; <dt>description</dt>&nbsp; <dd>Returns the description of the current page</dd>&nbsp; <dt>alias</dt>&nbsp; <dd>The documents Alias name</dd>&nbsp; <dt>published</dt>&nbsp; <dd>Whether the document is published or unpublished</dd>&nbsp; <dt>pub_date</dt>&nbsp; <dd>A unix timestamp which determines when to publish a document when set</dd>&nbsp; <dt>unpub_date</dt>&nbsp; <dd>A unix timestamp which determines when to unpublish a document when set</dd>&nbsp; <dt>parent</dt>&nbsp; <dd>The current documents parent in the document tree</dd>&nbsp; <dt>isfolder</dt>&nbsp; <dd>Whether this document is also a parent folder which can have child documents</dd>&nbsp; <dt>content</dt>&nbsp; <dd>Returns the content of the current page</dd>&nbsp; <dt>richtext</dt>&nbsp; <dd>Whether or not to use a WYSIWYG editor for maintaining this document</dd>&nbsp; <dt>template</dt>&nbsp; <dd>The page template to use when rendering this document</dd>&nbsp; <dt>menuindex</dt>&nbsp; <dd>This index is used for ordering within the document tree as a sub-sort of the documents parent</dd>&nbsp; <dt>searchable</dt>&nbsp; <dd>Whether this document should be included in site searches, based on snippet logic</dd>&nbsp; <dt>cacheable</dt>&nbsp; <dd>Whether this document should be cached</dd>&nbsp; <dt>createdby</dt>&nbsp; <dd>The internalKey id of the user who created this document</dd>&nbsp; <dt>createdon</dt>&nbsp; <dd>Unix timestamp representing when this document was originally created</dd>&nbsp; <dt>editedby</dt>&nbsp; <dd>The internalKey id of the user who last edited this document</dd>&nbsp; <dt>editedon</dt>&nbsp; <dd>Unix timestamp representing when this document was last edited</dd>&nbsp; <dt>deleted</dt>&nbsp; <dd>Whether this document is flagged to be purged from the database</dd>&nbsp; <dt>deletedon</dt>&nbsp; <dd>Unix timestamp representing when this document was flagged as deleted</dd>&nbsp; <dt>deletedby</dt>&nbsp; <dd>The internalKey id of the user who flagged as deleted</dd>&nbsp; <dt>authenticate</dt>&nbsp; <dd>Whether or not user authentication of this document should be performed by the parser or via snippet logic</dd>&nbsp; <dt>showinmenu</dt>&nbsp; <dd>Boolean flag [0|1] which is used by several API functions, primarily to determine whether or not a document should be included in a menu.</dd></dl>', 1, 1, 1, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
369c361
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(23, 'document', 'text/html', 'Child document', 'This is a child document', 'Some would call this a sub-page.', 'child-document', 1, 0, 0, 21, 1, '<p>This page exists to demonstrate how a sub-page can be handles in Etomite.</p>\r\n<p>You can have virtually endless pages in your Etomite website, and there are many menu snippets available to help you organize your pages and make them available to your visitors.</p>\r\n\r\n\r\n', 'This page exists to demonstrate how a sub-page can be handles in Etomite.\r\n\r\nYou can have virtually endless pages in your Etomite website, and there are many menu snippets available to help you organize your pages and make them available to your visitors.\r\n\r\n\r\n', 1, 1, 2, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(23, 'document', 'text/html', 'Child document', 'This is a child document', 'Some would call this a sub-page.', 'child-document', 1, 0, 0, 21, 1, '<p>This page exists to demonstrate how a sub-page can be handles in Etomite.</p>\r\n<p>You can have virtually endless pages in your Etomite website, and there are many menu snippets available to help you organize your pages and make them available to your visitors.</p>\r\n\r\n\r\n', 1, 1, 2, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
371c363
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(24, 'document', 'text/html', 'sideBanner', '', '', '', 0, 0, 0, 8, 0, '\r\n\r\n<p>This section demonstrates how Etomite can be used to display news articles for visitors to read. These articles may pertain to company news, new product introductions, or blog entries. The choice is yours.</p>\r\n\r\n<p>This explanatory text is being displayed by the <span style="font-weight: bold;">getSideBar</span> Snippet.</p>\r\n\r\n\r\nThe Search feature below is being displayed by the <span style="font-weight: bold;">SearchPrompt</span> Snippet.<br />', '\r\n\r\nThis section demonstrates how Etomite can be used to display news articles for visitors to read. These articles may pertain to company news, new product introductions, or blog entries. The choice is yours.\r\n\r\nThis explanatory text is being displayed by the **getSideBar** Snippet.\r\n\r\n\r\nThe Search feature below is being displayed by the **SearchPrompt** Snippet.\r\n\r\n', 1, 1, 6, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(24, 'document', 'text/html', 'sideBanner', '', '', '', 0, 0, 0, 8, 0, '\r\n\r\n<p>This section demonstrates how Etomite can be used to display news articles for visitors to read. These articles may pertain to company news, new product introductions, or blog entries. The choice is yours.</p>\r\n\r\n<p>This explanatory text is being displayed by the <span style="font-weight: bold;">getSideBar</span> Snippet.</p>\r\n\r\n\r\nThe Search feature below is being displayed by the <span style="font-weight: bold;">SearchPrompt</span> Snippet.<br />', 1, 1, 6, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
373c365
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(25, 'document', 'text/html', 'Third-Level Page', 'This is a Third Level Page', 'This third-level page is here to demonstrate the capabilities of Etomite.', 'third-level-page', 1, 0, 0, 23, 0, '\r\n<p>This is a third-level page.</p>\r\n\r\n<p>The default Etomite template includes ListMenu snippet CSS styles to display documents up to four levels deep.\r\n\r\n\r\n', '\r\nThis is a third-level page.\r\n\r\nThe default Etomite template includes ListMenu snippet CSS styles to display documents up to four levels deep.\r\n\r\n\r\n', 1, 1, 0, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(25, 'document', 'text/html', 'Third-Level Page', 'This is a Third Level Page', 'This third-level page is here to demonstrate the capabilities of Etomite.', 'third-level-page', 1, 0, 0, 23, 0, '\r\n<p>This is a third-level page.</p>\r\n\r\n<p>The default Etomite template includes ListMenu snippet CSS styles to display documents up to four levels deep.<br /></p>\r\n\r\n\r\n', 1, 1, 0, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
375c367
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(26, 'document', 'text/html', 'Fourth-Level Page', 'This is a fourth-level document', 'This fourth-level page exists to demonstrate The capabilites of Etomtie', 'fourth-level-page', 1, 0, 0, 26, 0, '\r\n<p><strong>What is Etomite?</strong><br />Etomite is a Content Management  System, which allows you to remotely administer your website from  anywhere that you have an Internet Connection and a compatible  Web-Browser.</p>\r\n\r\n<p><strong>What makes Etomite Different?</strong><br />Etomite  is completely different in many ways - it allows the end user to  control virtually every aspect of their website, whether it be from  layout to how the Meta Tags are generated, making it the number one SEO  CMS.<br />If you are running Apache, and your host allows the use of  .htaccess files, then Etomite becomes even more SEO Friendly (Search  Engine Optimized), by allowing what we would call friendly urls - no  more question marks in the URL (Universal Resource Locater), but  virtual page names.</p>\r\n\r\n<p><strong>Is it possible to AJAX-ify the Content?</strong><br />Of  Course! Whatever you can do with content, you can do with Etomite.  Whether this be making AJAX Menus, or making some fancy effects within  the content, you can do it within Etomite. The only limit is your  imagination, and the amount of time you have to put in the work.  Etomite is the number one CMS Suitable for AJAX.</p>\r\n\r\n<p><strong>What is a CMS?</strong><br />In  the context of a Web site a CMS is a collection of tools designed to  allow the creation, modification organisation and removal of  information from a Web site. It is common for a CMS to require users to  have no knowledge of HTML in order to create new Web pages.</p>\r\n\r\n<p><strong>How much Does Etomite Cost?</strong><br />Etomite is OpenSource (GPL), which makes it free to use.</p>\r\n\r\n\r\n', '\r\n\r\nWhat is Etomite?\r\n###########################\r\n\r\nEtomite is a Content Management  System, which allows you to remotely administer your website from  anywhere that you have an Internet Connection and a compatible  Web-Browser.\r\n\r\nWhat makes Etomite Different?\r\n##########################\r\n\r\nEtomite  is completely different in many ways - it allows the end user to  control virtually every aspect of their website, whether it be from  layout to how the Meta Tags are generated, making it the number one SEO  CMS.<br />If you are running Apache, and your host allows the use of  .htaccess files, then Etomite becomes even more SEO Friendly (Search  Engine Optimized), by allowing what we would call friendly urls - no  more question marks in the URL (Universal Resource Locater), but  virtual page names.\r\n\r\nIs it possible to AJAX-ify the Content?\r\n###########################\r\n\r\nOf  Course! Whatever you can do with content, you can do with Etomite.  Whether this be making AJAX Menus, or making some fancy effects within  the content, you can do it within Etomite. The only limit is your  imagination, and the amount of time you have to put in the work.  Etomite is the number one CMS Suitable for AJAX.\r\n\r\nWhat is a CMS?\r\n#########################\r\n\r\nIn  the context of a Web site a CMS is a collection of tools designed to  allow the creation, modification organisation and removal of  information from a Web site. It is common for a CMS to require users to  have no knowledge of HTML in order to create new Web pages.\r\n\r\nHow much Does Etomite Cost?\r\n#####################################\r\n\r\nEtomite is OpenSource (GPL), which makes it free to use.\r\n\r\n\r\n', 1, 1, 0, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(26, 'document', 'text/html', 'Fourth-Level Page', 'This is a fourth-level document', 'This fourth-level page exists to demonstrate The capabilites of Etomtie', 'fourth-level-page', 1, 0, 0, 26, 0, '\r\n<p><strong>What is Etomite?</strong><br />Etomite is a Content Management  System, which allows you to remotely administer your website from  anywhere that you have an Internet Connection and a compatible  Web-Browser.</p>\r\n\r\n<p><strong>What makes Etomite Different?</strong><br />Etomite  is completely different in many ways - it allows the end user to  control virtually every aspect of their website, whether it be from  layout to how the Meta Tags are generated, making it the number one SEO  CMS.<br />If you are running Apache, and your host allows the use of  .htaccess files, then Etomite becomes even more SEO Friendly (Search  Engine Optimized), by allowing what we would call friendly urls - no  more question marks in the URL (Universal Resource Locater), but  virtual page names.</p>\r\n\r\n<p><strong>Is it possible to AJAX-ify the Content?</strong><br />Of  Course! Whatever you can do with content, you can do with Etomite.  Whether this be making AJAX Menus, or making some fancy effects within  the content, you can do it within Etomite. The only limit is your  imagination, and the amount of time you have to put in the work.  Etomite is the number one CMS Suitable for AJAX.</p>\r\n\r\n<p><strong>What is a CMS?</strong><br />In  the context of a Web site a CMS is a collection of tools designed to  allow the creation, modification organisation and removal of  information from a Web site. It is common for a CMS to require users to  have no knowledge of HTML in order to create new Web pages.</p>\r\n\r\n<p><strong>How much Does Etomite Cost?</strong><br />Etomite is OpenSource (GPL), which makes it free to use.</p>\r\n\r\n\r\n', 1, 1, 0, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
377c369
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(27, 'document', 'text/html', 'Chunks', 'Chunk Resources', 'Chunks are internal HTML or Javascript code for use throughout your Etomite site.', 'chunks', 1, 0, 0, 20, 1, '\r\n<p> Chunks are blocks of HTML. This way you can write whole blocks of HTML code without  cluttering up your templates with HTML you''d rather keep separate.  Using the multiple pass processing, you can decide which Chunks should  be included in the page using snippets. They can only contain  HTML unless embedded PHP has been enabled within the Etomite  configuration panel, in which case PHP can be intermingled within the  HTML markup.</p>\r\n\r\n<p>Chunks are also useful for storing blocks of HTML that you want to  include in a snippet. This allows customisation of a snippet''s  presentation&nbsp; without having to modify the snippet code, allowing  snippet users (rather than authors) more scope for modifying the output  to their needs.</p>\r\n\r\n<p>Of course HTML can also contain javascript, so you can store your  javascript in a chunk too. Much easier than trying to write a piece of  javascript in the middle of a piece of PHP code, and making sure all  your quotes correctly match and have the effect you want. (It also  allows you to include the javascript while developing and testing, and  then move the actual script to an include once it all works.)<br /></p>\r\n<p>\r\n\r\nYou can read more about <a href="http://docs.etomite.com/development-chunks.html" target="_blank">Chunks</a> on the documentation site.</p>', '\r\nChunks are blocks of HTML. This way you can write whole blocks of HTML code without  cluttering up your templates with HTML you''d rather keep separate.  Using the multiple pass processing, you can decide which Chunks should  be included in the page using snippets. They can only contain  HTML unless embedded PHP has been enabled within the Etomite  configuration panel, in which case PHP can be intermingled within the  HTML markup.\r\n\r\nChunks are also useful for storing blocks of HTML that you want to  include in a snippet. This allows customisation of a snippet''s  presentation&nbsp; without having to modify the snippet code, allowing  snippet users (rather than authors) more scope for modifying the output  to their needs.</p>\r\n\r\n<p>Of course HTML can also contain javascript, so you can store your  javascript in a chunk too. Much easier than trying to write a piece of  javascript in the middle of a piece of PHP code, and making sure all  your quotes correctly match and have the effect you want. (It also  allows you to include the javascript while developing and testing, and  then move the actual script to an include once it all works.)\r\n\r\n\r\nYou can read more about <a href="http://docs.etomite.com/development-chunks.html" target="_blank">Chunks</a> on the documentation site.\r\n\r\n', 1, 1, 3, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(27, 'document', 'text/html', 'Chunks', 'Chunk Resources', 'Chunks are internal HTML or Javascript code for use throughout your Etomite site.', 'chunks', 1, 0, 0, 20, 1, '\r\n<p> Chunks are blocks of HTML. This way you can write whole blocks of HTML code without  cluttering up your templates with HTML you''d rather keep separate.  Using the multiple pass processing, you can decide which Chunks should  be included in the page using snippets. They can only contain  HTML unless embedded PHP has been enabled within the Etomite  configuration panel, in which case PHP can be intermingled within the  HTML markup.</p>\r\n\r\n<p>Chunks are also useful for storing blocks of HTML that you want to  include in a snippet. This allows customisation of a snippet''s  presentation&nbsp; without having to modify the snippet code, allowing  snippet users (rather than authors) more scope for modifying the output  to their needs.</p>\r\n\r\n<p>Of course HTML can also contain javascript, so you can store your  javascript in a chunk too. Much easier than trying to write a piece of  javascript in the middle of a piece of PHP code, and making sure all  your quotes correctly match and have the effect you want. (It also  allows you to include the javascript while developing and testing, and  then move the actual script to an include once it all works.)<br /></p>\r\n<p>\r\n\r\nYou can read more about <a href="http://docs.etomite.com/development-chunks.html" target="_blank">Chunks</a> on the documentation site.</p>', 1, 1, 3, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
379c371
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(28, 'document', 'text/html', 'System Tags', 'System Variable Tags', 'These system tags can be useful throughout your site.', 'system-tags', 1, 0, 0, 20, 0, '\r\n\r\n<p>System tags contain Etomite configuration settings, which can be helpful at times, and can be used several different ways. Using the proper method at the proper time it is possible to either display the contents of a setting or to access it from within snippet code to make logic decisions.</p>\r\nSeveral of the tags can come in handy when creating documents for your site. For this mode of use you would wrap the setting name within opening [ ( and closing ) ] system variable tags. As an example, [ (site_name) ] would display <span style="font-weight: bold;">"[(site_name)]"</span> in place of the tag. These settings are also available for use within Snippets by using a call similar to <span style="font-weight: bold;">$etomite-&gt;config[''site_name'']</span> to access a specific variable. The list below has been abbreviated by excluding WYSIWYG editor specific settings and is subject to change without notice.<br /><br />\r\n<table class="varList"><caption style="font-weight: bold;">Etomite Configuration Settings</caption>\r\n<tbody>\r\n<tr>\r\n<th>Configuration Setting </th>\r\n\r\n<th>Description </th>\r\n</tr>\r\n<tr>\r\n<td> absolute_base_path </td>\r\n<td>Installation path calculated from the server root.<br /> </td></tr>\r\n<tr>\r\n<td> relative_base_path </td>\r\n<td> Installation path calculated from the working directory. </td></tr>\r\n<tr>\r\n<td> www_base_path </td>\r\n<td>Installation URL path to the working directory.<br /> </td></tr>\r\n<tr>\r\n<td> settings_version </td>\r\n<td> 1.0 : Currently installed version number.<br /> </td></tr>\r\n<tr>\r\n<td> date_format </td>\r\n<td> %Y-%m-%d : strftime() Date format string.<br /> </td></tr>\r\n<tr>\r\n<td> time_format </td> \r\n<td> %I:%M %p : strftime() Time format string. </td></tr>\r\n<tr>\r\n<td> server_offset_time </td>\r\n<td> 0 : Time offset between server and local times in +/-.<br /> </td></tr>\r\n<tr> \r\n<td> server_protocol </td>\r\n<td> http : Server protocol can be http or https.<br /> </td></tr>\r\n<tr>\r\n<td> manager_language </td>\r\n<td> english : The deafult manager language.<br /> </td></tr>\r\n<tr>\r\n<td> etomite_charset </td>\r\n<td> iso-8859-1 : The default character set.<br /> </td></tr>\r\n<tr>\r\n<td> site_name </td>\r\n<td> My Etomite Site : The name/title of your site.<br /> </td></tr>\r\n<tr>\r\n<td> site_start </td>\r\n<td> 1 : The id of the document where your site starts.<br /> </td></tr>\r\n<tr>\r\n<td> error_page </td>\r\n<td> 3 : The id of the 404 error page document.<br /> </td></tr>\r\n<tr>\r\n<td> site_status </td>\r\n<td> 1 : 0=offline | 1=online<br /> </td></tr>\r\n<tr>\r\n<td> site_unavailable_message </td>\r\n<td> Message to display, or script to run, when the site is offline.<br /> </td></tr>\r\n<tr>\r\n<td> track_visitors </td>\r\n<td> 0 : 0=don''t log visitors | 1=log visitors<br /> </td></tr>\r\n<tr>\r\n<td> resolve_hostnames </td>\r\n<td> 1 : Resolve hostnames rather than simply storing host IP in logs. 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> top_howmany </td>\r\n<td> 10 : The number of entries to display in statistics reporting.<br /> </td></tr>\r\n<tr>\r\n<td> default_template </td>\r\n<td> 3 : Default template pre-selected when creating new documents.<br /> </td></tr>\r\n<tr>\r\n<td> publish_default </td>\r\n<td> 1 : Default published status. 0=un-published | 1=published<br /> </td></tr>\r\n<tr>\r\n<td> search_default </td>\r\n<td> 1 : Default searchable status. 0=don''t include  1=include<br /></td></tr>\r\n<tr>\r\n<td> cache_default </td>\r\n<td> 1 : Default cacheable status. 0=non-cacheable | 1=cacheable<br /> </td></tr>\r\n<tr>\r\n<td> syncsitecheck_default </td>\r\n<td> 1 : Default site synchronization setting for documents. 0=no sync | 1=sync<br /> </td></tr>\r\n<tr>\r\n<td> showinmenu_default </td>\r\n<td> 0 : Whether a document should have a menu item created. 0=Hide | 1=Show<br /> </td></tr>\r\n<tr>\r\n<td> friendly_urls </td>\r\n<td> 0 : Enable Friendly URL''s. 0=Disabled | 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> friendly_url_prefix </td>\r\n<td>&nbsp;: FURL prefix to prepend onto document id''s<br /></td></tr>\r\n<tr>\r\n<td> friendly_url_suffix </td>\r\n<td> .html : FURL suffix to append onto document id''s<br /> </td></tr>\r\n<tr>\r\n<td> friendly_alias_urls </td>\r\n<td> 0 : Enable Friendly Aliases. 0=Disabled | 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> use_udperms </td>\r\n<td> 0 : Use user document/group permissions. 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> use_uvperms </td>\r\n<td> 0 : Use visitor document/group permissions. 0=No 1=Yes </td></tr>\r\n<tr>\r\n<td> access_denied_message </td>\r\n<td>Default access denied message to display for permissions violations.<br /></td></tr>\r\n<tr>\r\n<td> udperms_allowroot </td> \r\n<td> 0 : Should users be able to create documents in the doc root? 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> use_mgr_logging </td>\r\n<td> 0 : Should a manager audit trail be kept? 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> max_attempts </td>\r\n<td> 3 : Maximum login attempts before the account is blocked.<br /> </td></tr>\r\n<tr>\r\n<td> use_captcha </td>\r\n<td> 0 : Require CAPTCHA code authentication for manager logins? 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> captcha_words </td> \r\n<td>Comma delimited list of words to be used for CAPTCHA authentication.<br /></td></tr>\r\n<tr>\r\n<td> signupemail_message </td>\r\n<td>The message which is used to send new user login details.<br /></td></tr>\r\n<tr>\r\n<td> emailsender </td>\r\n<td>The From email address for emails.<br /> </td></tr>\r\n<tr>\r\n<td> emailsubject </td>\r\n<td>The system email Subject line.<br /> </td></tr>\r\n<tr>\r\n<td> number_of_logs </td>\r\n<td> 100 : Default number of log entries to display per page.<br /> </td></tr>\r\n<tr>\r\n<td> number_of_messages </td>\r\n<td> 30 : Default number of internal mesages to display per page.<br /> </td></tr>\r\n<tr>\r\n<td> show_doc_data_preview </td> \r\n<td> 1 : Controls status of document previews. 0=Disabled 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> use_doc_editor </td>\r\n<td> 1 : Controls whether a WYSIWYG editor can be used. 0=Disabled 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> which_editor </td>\r\n<td> 5 : Index of the WYSIWYG editor to use.<br /> </td></tr>\r\n<tr>\r\n<td> use_code_editor </td>\r\n<td> 1 : Controls whether EditArea can be used for HTML mode editing. 0=Disabled 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> code_highlight </td> \r\n<td> 0 : Controls whether EditAre should use code highlighting<br /> </td></tr> \r\n<tr>\r\n<td> strip_image_paths </td>\r\n<td> 0 : Controls whether absolute paths should be converted to relative paths.<br /> </td></tr>\r\n<tr>\r\n<td> filemanager_path </td> \r\n<td>Default root for the file manager.<br /> </td></tr>\r\n<tr>\r\n<td> upload_files </td>\r\n<td>Comma delimited list of allowable upload file types.<br /></td></tr>\r\n<tr>\r\n<td> inlineview_files </td>\r\n<td>Comma delimited list of allowable inline viewable (code view) file types for the file manager.<br /> </td></tr>\r\n<tr>\r\n<td> view_files </td>\r\n<td>Comma delimited list of viewable (image view) file types for the file manager.<br /> </td></tr>\r\n<tr>\r\n<td> edit_files </td>\r\n<td>Comma delimited list of file types which can be edited from within the file manager. <br /></td></tr>\r\n<tr>\r\n<td> exclude_paths </td>\r\n<td>Comma delimited list of file paths to exclude from the file manager<br /></td></tr>\r\n<tr>\r\n<td> maxuploadsize </td>\r\n<td> Maximum upload file size for the file manager <br /></td></tr>\r\n<tr>\r\n<td> manager_layout </td>\r\n<td> 1 : Frame based or IE drop-down based manager main menu.<br /> </td></tr>\r\n<tr>\r\n<td> release </td>\r\n<td> 1.0 : Current software release number.<br /> </td></tr>\r\n<tr>\r\n<td> patch_level </td>\r\n<td> .0 : Current software release patch level.<br /> </td></tr>\r\n<tr>\r\n<td> code_name </td>\r\n<td> Prelude : Current release branch code name.<br /> </td></tr>\r\n<tr>\r\n<td> full_appname </td>\r\n<td> Etomite Content Management System 1.0 (Prelude) </td></tr>\r\n<tr>\r\n<td> small_version </td>\r\n<td> 1 : Small version of the release number.<br /> </td></tr>\r\n<tr>\r\n<td> slogan </td>\r\n<td> Fast, Free, Infinitely Flexible : The current software release slogan.<br /> </td></tr></tbody></table><br />\r\n<table class="varList"><caption style="font-weight: bold;">Etomite Parser Results</caption>\r\n<tbody>\r\n<tr>\r\n<th>Tag</th>\r\n   \r\n<th>Description</th>\r\n</tr>\r\n<tr>\r\n<td>[ ^q^ ]</td>\r\n<td>Number of queries run</td></tr>\r\n<tr>\r\n<td>[ ^qt^ ]</td>\r\n<td>Total query time for page</td></tr>\r\n<tr>\r\n<td>[ ^p^ ]</td>\r\n<td>Total PHP time for page</td></tr>\r\n<tr>\r\n<td>[ ^t^ ]</td>\r\n<td>Total time to render page</td></tr>\r\n<tr>\r\n<td>[ ^s^ ]</td>\r\n<td>Document source - cache or database</td></tr></tbody></table>\r\n\r\n', '\r\n\r\n<p>System tags contain Etomite configuration settings, which can be helpful at times, and can be used several different ways. Using the proper method at the proper time it is possible to either display the contents of a setting or to access it from within snippet code to make logic decisions.</p>\r\nSeveral of the tags can come in handy when creating documents for your site. For this mode of use you would wrap the setting name within opening [ ( and closing ) ] system variable tags. As an example, [ (site_name) ] would display <span style="font-weight: bold;">"[(site_name)]"</span> in place of the tag. These settings are also available for use within Snippets by using a call similar to <span style="font-weight: bold;">$etomite-&gt;config[''site_name'']</span> to access a specific variable. The list below has been abbreviated by excluding WYSIWYG editor specific settings and is subject to change without notice.<br /><br />\r\n<table class="varList"><caption style="font-weight: bold;">Etomite Configuration Settings</caption>\r\n<tbody>\r\n<tr>\r\n<th>Configuration Setting </th>\r\n\r\n<th>Description </th>\r\n</tr>\r\n<tr>\r\n<td> absolute_base_path </td>\r\n<td>Installation path calculated from the server root.<br /> </td></tr>\r\n<tr>\r\n<td> relative_base_path </td>\r\n<td> Installation path calculated from the working directory. </td></tr>\r\n<tr>\r\n<td> www_base_path </td>\r\n<td>Installation URL path to the working directory.<br /> </td></tr>\r\n<tr>\r\n<td> settings_version </td>\r\n<td> 1.0 : Currently installed version number.<br /> </td></tr>\r\n<tr>\r\n<td> date_format </td>\r\n<td> %Y-%m-%d : strftime() Date format string.<br /> </td></tr>\r\n<tr>\r\n<td> time_format </td> \r\n<td> %I:%M %p : strftime() Time format string. </td></tr>\r\n<tr>\r\n<td> server_offset_time </td>\r\n<td> 0 : Time offset between server and local times in +/-.<br /> </td></tr>\r\n<tr> \r\n<td> server_protocol </td>\r\n<td> http : Server protocol can be http or https.<br /> </td></tr>\r\n<tr>\r\n<td> manager_language </td>\r\n<td> english : The deafult manager language.<br /> </td></tr>\r\n<tr>\r\n<td> etomite_charset </td>\r\n<td> iso-8859-1 : The default character set.<br /> </td></tr>\r\n<tr>\r\n<td> site_name </td>\r\n<td> My Etomite Site : The name/title of your site.<br /> </td></tr>\r\n<tr>\r\n<td> site_start </td>\r\n<td> 1 : The id of the document where your site starts.<br /> </td></tr>\r\n<tr>\r\n<td> error_page </td>\r\n<td> 3 : The id of the 404 error page document.<br /> </td></tr>\r\n<tr>\r\n<td> site_status </td>\r\n<td> 1 : 0=offline | 1=online<br /> </td></tr>\r\n<tr>\r\n<td> site_unavailable_message </td>\r\n<td> Message to display, or script to run, when the site is offline.<br /> </td></tr>\r\n<tr>\r\n<td> track_visitors </td>\r\n<td> 0 : 0=don''t log visitors | 1=log visitors<br /> </td></tr>\r\n<tr>\r\n<td> resolve_hostnames </td>\r\n<td> 1 : Resolve hostnames rather than simply storing host IP in logs. 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> top_howmany </td>\r\n<td> 10 : The number of entries to display in statistics reporting.<br /> </td></tr>\r\n<tr>\r\n<td> default_template </td>\r\n<td> 3 : Default template pre-selected when creating new documents.<br /> </td></tr>\r\n<tr>\r\n<td> publish_default </td>\r\n<td> 1 : Default published status. 0=un-published | 1=published<br /> </td></tr>\r\n<tr>\r\n<td> search_default </td>\r\n<td> 1 : Default searchable status. 0=don''t include  1=include<br /></td></tr>\r\n<tr>\r\n<td> cache_default </td>\r\n<td> 1 : Default cacheable status. 0=non-cacheable | 1=cacheable<br /> </td></tr>\r\n<tr>\r\n<td> syncsitecheck_default </td>\r\n<td> 1 : Default site synchronization setting for documents. 0=no sync | 1=sync<br /> </td></tr>\r\n<tr>\r\n<td> showinmenu_default </td>\r\n<td> 0 : Whether a document should have a menu item created. 0=Hide | 1=Show<br /> </td></tr>\r\n<tr>\r\n<td> friendly_urls </td>\r\n<td> 0 : Enable Friendly URL''s. 0=Disabled | 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> friendly_url_prefix </td>\r\n<td>&nbsp;: FURL prefix to prepend onto document id''s<br /></td></tr>\r\n<tr>\r\n<td> friendly_url_suffix </td>\r\n<td> .html : FURL suffix to append onto document id''s<br /> </td></tr>\r\n<tr>\r\n<td> friendly_alias_urls </td>\r\n<td> 0 : Enable Friendly Aliases. 0=Disabled | 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> use_udperms </td>\r\n<td> 0 : Use user document/group permissions. 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> use_uvperms </td>\r\n<td> 0 : Use visitor document/group permissions. 0=No 1=Yes </td></tr>\r\n<tr>\r\n<td> access_denied_message </td>\r\n<td>Default access denied message to display for permissions violations.<br /></td></tr>\r\n<tr>\r\n<td> udperms_allowroot </td> \r\n<td> 0 : Should users be able to create documents in the doc root? 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> use_mgr_logging </td>\r\n<td> 0 : Should a manager audit trail be kept? 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> max_attempts </td>\r\n<td> 3 : Maximum login attempts before the account is blocked.<br /> </td></tr>\r\n<tr>\r\n<td> use_captcha </td>\r\n<td> 0 : Require CAPTCHA code authentication for manager logins? 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> captcha_words </td> \r\n<td>Comma delimited list of words to be used for CAPTCHA authentication.<br /></td></tr>\r\n<tr>\r\n<td> signupemail_message </td>\r\n<td>The message which is used to send new user login details.<br /></td></tr>\r\n<tr>\r\n<td> emailsender </td>\r\n<td>The From email address for emails.<br /> </td></tr>\r\n<tr>\r\n<td> emailsubject </td>\r\n<td>The system email Subject line.<br /> </td></tr>\r\n<tr>\r\n<td> number_of_logs </td>\r\n<td> 100 : Default number of log entries to display per page.<br /> </td></tr>\r\n<tr>\r\n<td> number_of_messages </td>\r\n<td> 30 : Default number of internal mesages to display per page.<br /> </td></tr>\r\n<tr>\r\n<td> show_doc_data_preview </td> \r\n<td> 1 : Controls status of document previews. 0=Disabled 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> use_doc_editor </td>\r\n<td> 1 : Controls whether a WYSIWYG editor can be used. 0=Disabled 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> which_editor </td>\r\n<td> 5 : Index of the WYSIWYG editor to use.<br /> </td></tr>\r\n<tr>\r\n<td> use_code_editor </td>\r\n<td> 1 : Controls whether EditArea can be used for HTML mode editing. 0=Disabled 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> code_highlight </td> \r\n<td> 0 : Controls whether EditAre should use code highlighting<br /> </td></tr> \r\n<tr>\r\n<td> strip_image_paths </td>\r\n<td> 0 : Controls whether absolute paths should be converted to relative paths.<br /> </td></tr>\r\n<tr>\r\n<td> filemanager_path </td> \r\n<td>Default root for the file manager.<br /> </td></tr>\r\n<tr>\r\n<td> upload_files </td>\r\n<td>Comma delimited list of allowable upload file types.<br /></td></tr>\r\n<tr>\r\n<td> inlineview_files </td>\r\n<td>Comma delimited list of allowable inline viewable (code view) file types for the file manager.<br /> </td></tr>\r\n<tr>\r\n<td> view_files </td>\r\n<td>Comma delimited list of viewable (image view) file types for the file manager.<br /> </td></tr>\r\n<tr>\r\n<td> edit_files </td>\r\n<td>Comma delimited list of file types which can be edited from within the file manager. <br /></td></tr>\r\n<tr>\r\n<td> exclude_paths </td>\r\n<td>Comma delimited list of file paths to exclude from the file manager<br /></td></tr>\r\n<tr>\r\n<td> maxuploadsize </td>\r\n<td> Maximum upload file size for the file manager <br /></td></tr>\r\n<tr>\r\n<td> manager_layout </td>\r\n<td> 1 : Frame based or IE drop-down based manager main menu.<br /> </td></tr>\r\n<tr>\r\n<td> release </td>\r\n<td> 1.0 : Current software release number.<br /> </td></tr>\r\n<tr>\r\n<td> patch_level </td>\r\n<td> .0 : Current software release patch level.<br /> </td></tr>\r\n<tr>\r\n<td> code_name </td>\r\n<td> Prelude : Current release branch code name.<br /> </td></tr>\r\n<tr>\r\n<td> full_appname </td>\r\n<td> Etomite Content Management System 1.0 (Prelude) </td></tr>\r\n<tr>\r\n<td> small_version </td>\r\n<td> 1 : Small version of the release number.<br /> </td></tr>\r\n<tr>\r\n<td> slogan </td>\r\n<td> Fast, Free, Infinitely Flexible : The current software release slogan.<br /> </td></tr></tbody></table><br />\r\n<table class="varList"><caption style="font-weight: bold;">Etomite Parser Results</caption>\r\n<tbody>\r\n<tr>\r\n<th>Tag</th>\r\n   \r\n<th>Description</th>\r\n</tr>\r\n<tr>\r\n<td>[ ^q^ ]</td>\r\n<td>Number of queries run</td></tr>\r\n<tr>\r\n<td>[ ^qt^ ]</td>\r\n<td>Total query time for page</td></tr>\r\n<tr>\r\n<td>[ ^p^ ]</td>\r\n<td>Total PHP time for page</td></tr>\r\n<tr>\r\n<td>[ ^t^ ]</td>\r\n<td>Total time to render page</td></tr>\r\n<tr>\r\n<td>[ ^s^ ]</td>\r\n<td>Document source - cache or database</td></tr></tbody></table>\r\n\r\n', 1, 1, 6, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(28, 'document', 'text/html', 'System Tags', 'System Variable Tags', 'These system tags can be useful throughout your site.', 'system-tags', 1, 0, 0, 20, 0, '\r\n\r\n<p>System tags contain Etomite configuration settings, which can be helpful at times, and can be used several different ways. Using the proper method at the proper time it is possible to either display the contents of a setting or to access it from within snippet code to make logic decisions.</p>\r\nSeveral of the tags can come in handy when creating documents for your site. For this mode of use you would wrap the setting name within opening [ ( and closing ) ] system variable tags. As an example, [ (site_name) ] would display <span style="font-weight: bold;">"[(site_name)]"</span> in place of the tag. These settings are also available for use within Snippets by using a call similar to <span style="font-weight: bold;">$etomite-&gt;config[''site_name'']</span> to access a specific variable. The list below has been abbreviated by excluding WYSIWYG editor specific settings and is subject to change without notice.<br /><br />\r\n<table class="varList"><caption style="font-weight: bold;">Etomite Configuration Settings</caption>\r\n<tbody>\r\n<tr>\r\n<th>Configuration Setting </th>\r\n\r\n<th>Description </th>\r\n</tr>\r\n<tr>\r\n<td> absolute_base_path </td>\r\n<td>Installation path calculated from the server root.<br /> </td></tr>\r\n<tr>\r\n<td> relative_base_path </td>\r\n<td> Installation path calculated from the working directory. </td></tr>\r\n<tr>\r\n<td> www_base_path </td>\r\n<td>Installation URL path to the working directory.<br /> </td></tr>\r\n<tr>\r\n<td> settings_version </td>\r\n<td> 1.0 : Currently installed version number.<br /> </td></tr>\r\n<tr>\r\n<td> date_format </td>\r\n<td> %Y-%m-%d : strftime() Date format string.<br /> </td></tr>\r\n<tr>\r\n<td> time_format </td> \r\n<td> %I:%M %p : strftime() Time format string. </td></tr>\r\n<tr>\r\n<td> server_offset_time </td>\r\n<td> 0 : Time offset between server and local times in +/-.<br /> </td></tr>\r\n<tr> \r\n<td> server_protocol </td>\r\n<td> http : Server protocol can be http or https.<br /> </td></tr>\r\n<tr>\r\n<td> manager_language </td>\r\n<td> english : The deafult manager language.<br /> </td></tr>\r\n<tr>\r\n<td> etomite_charset </td>\r\n<td> iso-8859-1 : The default character set.<br /> </td></tr>\r\n<tr>\r\n<td> site_name </td>\r\n<td> My Etomite Site : The name/title of your site.<br /> </td></tr>\r\n<tr>\r\n<td> site_start </td>\r\n<td> 1 : The id of the document where your site starts.<br /> </td></tr>\r\n<tr>\r\n<td> error_page </td>\r\n<td> 3 : The id of the 404 error page document.<br /> </td></tr>\r\n<tr>\r\n<td> site_status </td>\r\n<td> 1 : 0=offline | 1=online<br /> </td></tr>\r\n<tr>\r\n<td> site_unavailable_message </td>\r\n<td> Message to display, or script to run, when the site is offline.<br /> </td></tr>\r\n<tr>\r\n<td> track_visitors </td>\r\n<td> 0 : 0=don''t log visitors | 1=log visitors<br /> </td></tr>\r\n<tr>\r\n<td> resolve_hostnames </td>\r\n<td> 1 : Resolve hostnames rather than simply storing host IP in logs. 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> top_howmany </td>\r\n<td> 10 : The number of entries to display in statistics reporting.<br /> </td></tr>\r\n<tr>\r\n<td> default_template </td>\r\n<td> 3 : Default template pre-selected when creating new documents.<br /> </td></tr>\r\n<tr>\r\n<td> publish_default </td>\r\n<td> 1 : Default published status. 0=un-published | 1=published<br /> </td></tr>\r\n<tr>\r\n<td> search_default </td>\r\n<td> 1 : Default searchable status. 0=don''t include  1=include<br /></td></tr>\r\n<tr>\r\n<td> cache_default </td>\r\n<td> 1 : Default cacheable status. 0=non-cacheable | 1=cacheable<br /> </td></tr>\r\n<tr>\r\n<td> syncsitecheck_default </td>\r\n<td> 1 : Default site synchronization setting for documents. 0=no sync | 1=sync<br /> </td></tr>\r\n<tr>\r\n<td> showinmenu_default </td>\r\n<td> 0 : Whether a document should have a menu item created. 0=Hide | 1=Show<br /> </td></tr>\r\n<tr>\r\n<td> friendly_urls </td>\r\n<td> 0 : Enable Friendly URL''s. 0=Disabled | 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> friendly_url_prefix </td>\r\n<td>&nbsp;: FURL prefix to prepend onto document id''s<br /></td></tr>\r\n<tr>\r\n<td> friendly_url_suffix </td>\r\n<td> .html : FURL suffix to append onto document id''s<br /> </td></tr>\r\n<tr>\r\n<td> friendly_alias_urls </td>\r\n<td> 0 : Enable Friendly Aliases. 0=Disabled | 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> use_udperms </td>\r\n<td> 0 : Use user document/group permissions. 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> use_uvperms </td>\r\n<td> 0 : Use visitor document/group permissions. 0=No 1=Yes </td></tr>\r\n<tr>\r\n<td> access_denied_message </td>\r\n<td>Default access denied message to display for permissions violations.<br /></td></tr>\r\n<tr>\r\n<td> udperms_allowroot </td> \r\n<td> 0 : Should users be able to create documents in the doc root? 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> use_mgr_logging </td>\r\n<td> 0 : Should a manager audit trail be kept? 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> max_attempts </td>\r\n<td> 3 : Maximum login attempts before the account is blocked.<br /> </td></tr>\r\n<tr>\r\n<td> use_captcha </td>\r\n<td> 0 : Require CAPTCHA code authentication for manager logins? 0=No 1=Yes<br /> </td></tr>\r\n<tr>\r\n<td> captcha_words </td> \r\n<td>Comma delimited list of words to be used for CAPTCHA authentication.<br /></td></tr>\r\n<tr>\r\n<td> signupemail_message </td>\r\n<td>The message which is used to send new user login details.<br /></td></tr>\r\n<tr>\r\n<td> emailsender </td>\r\n<td>The From email address for emails.<br /> </td></tr>\r\n<tr>\r\n<td> emailsubject </td>\r\n<td>The system email Subject line.<br /> </td></tr>\r\n<tr>\r\n<td> number_of_logs </td>\r\n<td> 100 : Default number of log entries to display per page.<br /> </td></tr>\r\n<tr>\r\n<td> number_of_messages </td>\r\n<td> 30 : Default number of internal mesages to display per page.<br /> </td></tr>\r\n<tr>\r\n<td> show_doc_data_preview </td> \r\n<td> 1 : Controls status of document previews. 0=Disabled 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> use_doc_editor </td>\r\n<td> 1 : Controls whether a WYSIWYG editor can be used. 0=Disabled 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> which_editor </td>\r\n<td> 5 : Index of the WYSIWYG editor to use.<br /> </td></tr>\r\n<tr>\r\n<td> use_code_editor </td>\r\n<td> 1 : Controls whether EditArea can be used for HTML mode editing. 0=Disabled 1=Enabled<br /> </td></tr>\r\n<tr>\r\n<td> code_highlight </td> \r\n<td> 0 : Controls whether EditAre should use code highlighting<br /> </td></tr> \r\n<tr>\r\n<td> strip_image_paths </td>\r\n<td> 0 : Controls whether absolute paths should be converted to relative paths.<br /> </td></tr>\r\n<tr>\r\n<td> filemanager_path </td> \r\n<td>Default root for the file manager.<br /> </td></tr>\r\n<tr>\r\n<td> upload_files </td>\r\n<td>Comma delimited list of allowable upload file types.<br /></td></tr>\r\n<tr>\r\n<td> inlineview_files </td>\r\n<td>Comma delimited list of allowable inline viewable (code view) file types for the file manager.<br /> </td></tr>\r\n<tr>\r\n<td> view_files </td>\r\n<td>Comma delimited list of viewable (image view) file types for the file manager.<br /> </td></tr>\r\n<tr>\r\n<td> edit_files </td>\r\n<td>Comma delimited list of file types which can be edited from within the file manager. <br /></td></tr>\r\n<tr>\r\n<td> exclude_paths </td>\r\n<td>Comma delimited list of file paths to exclude from the file manager<br /></td></tr>\r\n<tr>\r\n<td> maxuploadsize </td>\r\n<td> Maximum upload file size for the file manager <br /></td></tr>\r\n<tr>\r\n<td> manager_layout </td>\r\n<td> 1 : Frame based or IE drop-down based manager main menu.<br /> </td></tr>\r\n<tr>\r\n<td> release </td>\r\n<td> 1.0 : Current software release number.<br /> </td></tr>\r\n<tr>\r\n<td> patch_level </td>\r\n<td> .0 : Current software release patch level.<br /> </td></tr>\r\n<tr>\r\n<td> code_name </td>\r\n<td> Prelude : Current release branch code name.<br /> </td></tr>\r\n<tr>\r\n<td> full_appname </td>\r\n<td> Etomite Content Management System 1.0 (Prelude) </td></tr>\r\n<tr>\r\n<td> small_version </td>\r\n<td> 1 : Small version of the release number.<br /> </td></tr>\r\n<tr>\r\n<td> slogan </td>\r\n<td> Fast, Free, Infinitely Flexible : The current software release slogan.<br /> </td></tr></tbody></table><br />\r\n<table class="varList"><caption style="font-weight: bold;">Etomite Parser Results</caption>\r\n<tbody>\r\n<tr>\r\n<th>Tag</th>\r\n   \r\n<th>Description</th>\r\n</tr>\r\n<tr>\r\n<td>[ ^q^ ]</td>\r\n<td>Number of queries run</td></tr>\r\n<tr>\r\n<td>[ ^qt^ ]</td>\r\n<td>Total query time for page</td></tr>\r\n<tr>\r\n<td>[ ^p^ ]</td>\r\n<td>Total PHP time for page</td></tr>\r\n<tr>\r\n<td>[ ^t^ ]</td>\r\n<td>Total time to render page</td></tr>\r\n<tr>\r\n<td>[ ^s^ ]</td>\r\n<td>Document source - cache or database</td></tr></tbody></table>\r\n\r\n', 1, 1, 6, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
381c373
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(29, 'document', 'text/html', 'DateTime', 'DateTime Snippet Example', '', '', 1, 0, 0, 31, 0, '<p>This document last edited: [!DateTime?timestamp=[*editedon*]!]</p>\r\n<p>The current date and time: [!DateTime!]</p>\r\n[!DisplayCode?type=snippet&name=DateTime!]\r\n', 'This document last edited: [!DateTime?timestamp=[*editedon*]!]\r\n\r\nThe current date and time: [!DateTime!]\r\n[!DisplayCode?type=snippet&name=DateTime!]\r\n\r\n', 0, 1, 0, 1, 0, 2, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(29, 'document', 'text/html', 'DateTime', 'DateTime Snippet Example', '', '', 1, 0, 0, 31, 0, '<p>This document last edited: [!DateTime?timestamp=[*editedon*]!]</p>\r\n<p>The current date and time: [!DateTime!]</p>\r\n[!DisplayCode?type=snippet&name=DateTime!]\r\n', 0, 1, 0, 1, 0, 2, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
383c375
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(30, 'document', 'text/html', 'sideBanner2', 'Second sideBanner', 'This document is intended to be displayed by the getSideBar snippet.', 'sideBanner2', 0, 0, 0, 20, 0, '<p>This is another sideBanner which is being displayed by the <span style="font-weight: bold;">getSideBar</span> snippet. The longtitle field is being displayed as the header for this entry.</p> <div style="text-align: center;"><img src="assets/images/button-eto.png" /></div>\r\n', 'This is another sideBanner which is being displayed by the **getSideBar** snippet. The longtitle field is being displayed as the header for this entry.\r\n\r\n [* assets/images/button-eto.png *]\r\n', 1, 1, 1, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(30, 'document', 'text/html', 'sideBanner2', 'Second sideBanner', 'This document is intended to be displayed by the getSideBar snippet.', 'sideBanner2', 0, 0, 0, 20, 0, '<p>This is another sideBanner which is being displayed by the <span style="font-weight: bold;">getSideBar</span> snippet. The longtitle field is being displayed as the header for this entry.</p> <div style="text-align: center;"><img src="assets/images/button-eto.png" /></div>\r\n', 1, 1, 1, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
385c377
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(31, 'document', 'text/html', 'Snippets', 'Snippet Resources', 'Snippets are internal PHP scripts that extend the functionality of Etomite.', 'snippets', 1, 0, 0, 20, 1, '\r\n<p>Snippets are actually Etomite-specific PHP scripts which can be used to extend&nbsp; its capabilities. Snippets might only contain one or several lines of code which perform a simple task, or they can be hundreds or even thousands of lines long and perform complex data management tasks. Your needs and creativity is the only limiting factor.</p>\r\n<p>\r\n  The Etomite API provides many class functions which can be used to speed your productivity. Although it is possible to hand code every component of your snippets from scratch it is best to become familiar with the available API functions and their use as not only do thay make your programming task eaiser but they also help with error handling and debugging.</p>\r\n\r\n<p>You can learn more about <a href="http://docs.etomite.com/development-snippets.html" target="_blank">Snippets</a> on the documentation site.</p>\r\n  <br />\r\n\r\n', '\r\nSnippets are actually Etomite-specific PHP scripts which can be used to extend&nbsp; its capabilities. Snippets might only contain one or several lines of code which perform a simple task, or they can be hundreds or even thousands of lines long and perform complex data management tasks. Your needs and creativity is the only limiting factor.</p>\r\n<p>\r\n  The Etomite API provides many class functions which can be used to speed your productivity. Although it is possible to hand code every component of your snippets from scratch it is best to become familiar with the available API functions and their use as not only do thay make your programming task eaiser but they also help with error handling and debugging.\r\n\r\nYou can learn more about <a href="http://docs.etomite.com/development-snippets.html" target="_blank">Snippets</a> on the documentation site.\r\n  \r\n\r\n', 1, 1, 4, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(31, 'document', 'text/html', 'Snippets', 'Snippet Resources', 'Snippets are internal PHP scripts that extend the functionality of Etomite.', 'snippets', 1, 0, 0, 20, 1, '\r\n<p>Snippets are actually Etomite-specific PHP scripts which can be used to extend&nbsp; its capabilities. Snippets might only contain one or several lines of code which perform a simple task, or they can be hundreds or even thousands of lines long and perform complex data management tasks. Your needs and creativity is the only limiting factor.</p>\r\n<p>\r\n  The Etomite API provides many class functions which can be used to speed your productivity. Although it is possible to hand code every component of your snippets from scratch it is best to become familiar with the available API functions and their use as not only do thay make your programming task eaiser but they also help with error handling and debugging.</p>\r\n\r\n<p>You can learn more about <a href="http://docs.etomite.com/development-snippets.html" target="_blank">Snippets</a> on the documentation site.</p>\r\n  <br />\r\n\r\n', 1, 1, 4, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
387c379
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(32, 'document', 'text/html', 'sideBanner', '', 'sideBanner for the Resources section', '', 0, 0, 0, 20, 0, '<p>This section gives an overview of the different resource components that are available to the Etomite developer. Each type of resource can be used several ways, depending on when and where it is being used.</p>\r\n', 'This section gives an overview of the different resource components that are available to the Etomite developer. Each type of resource can be used several ways, depending on when and where it is being used.\r\n', 0, 1, 2, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(32, 'document', 'text/html', 'sideBanner', '', 'sideBanner for the Resources section', '', 0, 0, 0, 20, 0, '<p>This section gives an overview of the different resource components that are available to the Etomite developer. Each type of resource can be used several ways, depending on when and where it is being used.</p>\r\n', 0, 1, 2, 0, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 0);
389c381
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(33, 'document', 'text/html', 'Links', 'Links to other sites', 'Links to various external resources', 'links', 1, 0, 0, 0, 1, '\r\n\r\n<p>The links in the left menu, which are child-documents of this folder-document, will redirect a visitor to external sites. They are considered WebLink content resources within the Etomite manager and can be utilized in much the same manner as documents.<br /></p>\r\n<br />\r\n\r\n', '\r\n\r\nThe links in the left menu, which are child-documents of this folder-document, will redirect a visitor to external sites. They are considered WebLink content resources within the Etomite manager and can be utilized in much the same manner as documents.\r\n\r\n\r\n', 1, 1, 4, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(33, 'document', 'text/html', 'Links', 'Links to other sites', 'Links to various external resources', 'links', 1, 0, 0, 0, 1, '\r\n\r\n<p>The links in the left menu, which are child-documents of this folder-document, will redirect a visitor to external sites. They are considered WebLink content resources within the Etomite manager and can be utilized in much the same manner as documents.<br /></p>\r\n<br />\r\n\r\n', 1, 1, 4, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
391c383
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(34, 'document', 'text/html', 'HTML Example', 'Chunk example using HTML markup', 'Displays links to W3C code validators and displays the Chunk source.', 'chunk-html-example', 1, 0, 0, 27, 0, '\r\n\r\n<p>The images below, validation links, are an example of a Chunk. The chunks HTML markup is displayed below the images/links. The chunk call to render thsi output is:&nbsp; <span style="font-weight: bold;">{ {W3C Validation} }</span></p>\r\n{{W3C Validation}}<span style="text-decoration: underline;"><br /></span><span style="width: 200px;"><span style="text-decoration: underline;"></span></span>[!DisplayCode?type=chunk&name=W3C Validation!]<br />\r\n\r\n', '\r\n\r\nThe images below, validation links, are an example of a Chunk. The chunks HTML markup is displayed below the images/links. The chunk call to render thsi output is:&nbsp; <span style="font-weight: bold;">{ {W3C Validation} }</span>\r\n\r\n{{W3C Validation}}<span style="text-decoration: underline;"><br /></span><span style="width: 200px;"><span style="text-decoration: underline;"></span></span>[!DisplayCode?type=chunk&name=W3C Validation!]\r\n\r\n', 1, 1, 0, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(34, 'document', 'text/html', 'HTML Example', 'Chunk example using HTML markup', 'Displays links to W3C code validators and displays the Chunk source.', 'chunk-html-example', 1, 0, 0, 27, 0, '\r\n\r\n<p>The images below, validation links, are an example of a Chunk. The chunks HTML markup is displayed below the images/links. The chunk call to render thsi output is:&nbsp; <span style="font-weight: bold;">{ {W3C Validation} }</span></p>\r\n{{W3C Validation}}<span style="text-decoration: underline;"><br /></span><span style="width: 200px;"><span style="text-decoration: underline;"></span></span>[!DisplayCode?type=chunk&name=W3C Validation!]<br />\r\n\r\n', 1, 1, 0, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
393c385
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(35, 'document', 'text/html', 'Javascript Example', 'Chunk example using Javascript', 'This document shows a small Javascript example as well as the Chunk code.', 'chunk-javascript-example', 1, 0, 0, 27, 0, '\r\n<p>The text below is the actual description for this document and was rendered by Javascript stored as a Chunk. The chunk call to render this output is: <span style="font-weight: bold;">{ {Javascript Example} }</span></p>\r\n\r\n<p><span style="font-weight: bold;">Document Description:</span> <span style="font-style: italic;">{{Javascript Example}}</span></p>\r\n   <span style="width: 200px;"><span style="text-decoration: underline;"></span></span>[!DisplayCode?type=chunk&name=Javascript Example!]<br />\r\n\r\n', '\r\n<p>The text below is the actual description for this document and was rendered by Javascript stored as a Chunk. The chunk call to render this output is: <span style="font-weight: bold;">{ {Javascript Example} }</span></p>\r\n\r\n<p><span style="font-weight: bold;">Document Description:</span> <span style="font-style: italic;">{{Javascript Example}}</span></p>\r\n   <span style="width: 200px;"><span style="text-decoration: underline;"></span></span>[!DisplayCode?type=chunk&name=Javascript Example!]<br />\r\n\r\n', 1, 1, 0, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(35, 'document', 'text/html', 'Javascript Example', 'Chunk example using Javascript', 'This document shows a small Javascript example as well as the Chunk code.', 'chunk-javascript-example', 1, 0, 0, 27, 0, '\r\n<p>The text below is the actual description for this document and was rendered by Javascript stored as a Chunk. The chunk call to render this output is: <span style="font-weight: bold;">{ {Javascript Example} }</span></p>\r\n\r\n<p><span style="font-weight: bold;">Document Description:</span> <span style="font-style: italic;">{{Javascript Example}}</span></p>\r\n   <span style="width: 200px;"><span style="text-decoration: underline;"></span></span>[!DisplayCode?type=chunk&name=Javascript Example!]<br />\r\n\r\n', 1, 1, 0, 1, 1, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
395c387
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(36, 'document', 'text/html', 'FixInertTags', 'Chunk example using Javascript in the page template.', 'This example demonstrates how Javascripts can be embedded in the page template using a Chunk.', 'fix-inert-tags', 1, 0, 0, 27, 0, '\r\n<div id="test">\r\n<p> </p>\r\n\r\n<p>The variable tags below are explained elsewhere within the resources documentation. The tags are being displayed instead of being processed by the Etomite parser because blank spaces have been entered between each of the opening and closing tag pair characters. The reason the spaces don''t appear is due to the Javascript listed immediately below them. The chunk call for this code is located at the bottom of the page template,&nbsp; just above the closing <span style="font-weight: bold;">body</span> tag, and it looks like: <span style="font-weight: bold;">{ {FixInertTags} }</span></p>\r\n\r\n<div style="text-align: center;"><span style="width: 200px;"><span style="text-decoration: underline;"></span></span>[ [cacheable_snippet] ]<br />[ !non-cacheable_snippet! ]<br />[ (system_setting_tag) ]<br />[ *document_object_tag* ]<br />{ !parseChunk_tag! }<br /></div><br /> [!DisplayCode?type=chunk&name=FixInertTags!]<br /></div>\r\n\r\n', '\r\n<div id="test">\r\n<p> </p>\r\n\r\n<p>The variable tags below are explained elsewhere within the resources documentation. The tags are being displayed instead of being processed by the Etomite parser because blank spaces have been entered between each of the opening and closing tag pair characters. The reason the spaces don''t appear is due to the Javascript listed immediately below them. The chunk call for this code is located at the bottom of the page template,&nbsp; just above the closing <span style="font-weight: bold;">body</span> tag, and it looks like: <span style="font-weight: bold;">{ {FixInertTags} }</span></p>\r\n\r\n<div style="text-align: center;"><span style="width: 200px;"><span style="text-decoration: underline;"></span></span>[ [cacheable_snippet] ]<br />[ !non-cacheable_snippet! ]<br />[ (system_setting_tag) ]<br />[ *document_object_tag* ]<br />{ !parseChunk_tag! }<br /></div><br /> [!DisplayCode?type=chunk&name=FixInertTags!]<br /></div>\r\n\r\n', 1, 1, 0, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(36, 'document', 'text/html', 'FixInertTags', 'Chunk example using Javascript in the page template.', 'This example demonstrates how Javascripts can be embedded in the page template using a Chunk.', 'fix-inert-tags', 1, 0, 0, 27, 0, '\r\n<div id="test">\r\n<p> </p>\r\n\r\n<p>The variable tags below are explained elsewhere within the resources documentation. The tags are being displayed instead of being processed by the Etomite parser because blank spaces have been entered between each of the opening and closing tag pair characters. The reason the spaces don''t appear is due to the Javascript listed immediately below them. The chunk call for this code is located at the bottom of the page template,&nbsp; just above the closing <span style="font-weight: bold;">body</span> tag, and it looks like: <span style="font-weight: bold;">{ {FixInertTags} }</span></p>\r\n\r\n<div style="text-align: center;"><span style="width: 200px;"><span style="text-decoration: underline;"></span></span>[ [cacheable_snippet] ]<br />[ !non-cacheable_snippet! ]<br />[ (system_setting_tag) ]<br />[ *document_object_tag* ]<br />{ !parseChunk_tag! }<br /></div><br /> [!DisplayCode?type=chunk&name=FixInertTags!]<br /></div>\r\n\r\n', 1, 1, 0, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
397c389
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(37, 'reference', 'text/html', 'Etomite Documentation', ' Etomite Documentation Homepage', 'Leran more about how to get the most out of the Etomite CMS.', 'etomite-documentation', 1, 0, 0, 33, 0, 'http://docs.etomite.com/', 'http://docs.etomite.com/', 0, 0, 0, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(37, 'reference', 'text/html', 'Etomite Documentation', ' Etomite Documentation Homepage', 'Leran more about how to get the most out of the Etomite CMS.', 'etomite-documentation', 1, 0, 0, 33, 0, 'http://docs.etomite.com/', 0, 0, 0, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
399c391
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(38, 'reference', 'text/html', 'Etomite Homepage', 'www.etomite.com', 'This link points to the main Etomite CMS Project website.', 'etomite-home', 1, 0, 0, 33, 0, 'http://www.etomite.com', 'http://www.etomite.com', 0, 0, 0, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(38, 'reference', 'text/html', 'Etomite Homepage', 'www.etomite.com', 'This link points to the main Etomite CMS Project website.', 'etomite-home', 1, 0, 0, 33, 0, 'http://www.etomite.com', 0, 0, 0, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
401c393
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(39, 'document', 'text/html', 'Templates', 'Page templates provide site layout structure.', 'This is a brief overview of template resources.', 'templates', 1, 0, 0, 20, 0, '\r\n\r\n<p>Templates provide the overall page layout structure for your site. You can use as many different templates as you need to provide the proper layout structure for each section of your site, or you can use a single template for the entire site. The listing below is the HTML markup for the template being used for this default installation.</p>\r\n\r\n<p>You can learn more about <a href="http://docs.etomite.com/development-templates.html">Templates</a> on the documentation site.</p>\r\n\r\n<p>As you preview the template markup you will notice that all resources have been disabled by inserting a blank space within the opening tags. This has been done so that those resource calls are not processed. The actual template code does not contain these extra spaces.</p>\r\n  [!DisplayCode?type=template&name=Etomite v1.0!]<br /> \r\n\r\n', '\r\n\r\n<p>Templates provide the overall page layout structure for your site. You can use as many different templates as you need to provide the proper layout structure for each section of your site, or you can use a single template for the entire site. The listing below is the HTML markup for the template being used for this default installation.</p>\r\n\r\n<p>You can learn more about <a href="http://docs.etomite.com/development-templates.html">Templates</a> on the documentation site.</p>\r\n\r\n<p>As you preview the template markup you will notice that all resources have been disabled by inserting a blank space within the opening tags. This has been done so that those resource calls are not processed. The actual template code does not contain these extra spaces.</p>\r\n  [!DisplayCode?type=template&name=Etomite v1.0!]<br /> \r\n\r\n', 1, 1, 2, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(39, 'document', 'text/html', 'Templates', 'Page templates provide site layout structure.', 'This is a brief overview of template resources.', 'templates', 1, 0, 0, 20, 0, '\r\n\r\n<p>Templates provide the overall page layout structure for your site. You can use as many different templates as you need to provide the proper layout structure for each section of your site, or you can use a single template for the entire site. The listing below is the HTML markup for the template being used for this default installation.</p>\r\n\r\n<p>You can learn more about <a href="http://docs.etomite.com/development-templates.html">Templates</a> on the documentation site.</p>\r\n\r\n<p>As you preview the template markup you will notice that all resources have been disabled by inserting a blank space within the opening tags. This has been done so that those resource calls are not processed. The actual template code does not contain these extra spaces.</p>\r\n  [!DisplayCode?type=template&name=Etomite v1.0!]<br /> \r\n\r\n', 1, 1, 2, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
403c395
< INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `texy`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(40, 'document', 'text/html', 'API Functions', 'Application Programming Interface Functions', 'The Etomite API gives developers the power they need to create customized applications within Etomite.', 'api-functions', 1, 0, 0, 20, 0, '\r\n\r\n<p>The Application Programming Interface (API) provides many Etomite class functions which make programming within Etomite a whole lot easier. If you are familiar with PHP, and want to create custom snippets, then becoming familiar with the API will be of great benefit to your programming endeavors. If you have already checked out the Snippets section then you may have  already noticed some of the Etomite class API functions already... All of the API function calls are written in a format similar to:</p>\r\n\r\n<p><span style="font-weight: bold;">$result = $etomite-&gt;functionName($param1, $param2, etc.);</span><br /></p>\r\n\r\n<p>We won''t go into a long  list of the functions here, this is just a good place to inform you of the API and to provide a link to the <a href="http://docs.etomite.com/development-apifunctions.html" target="_blank">API Functions</a> section of the documentation site. While this section of the documentation is in need of some major improvement, it is a good starting place.</p>\r\n<br />\r\n\r\n', '\r\n\r\n<p>The Application Programming Interface (API) provides many Etomite class functions which make programming within Etomite a whole lot easier. If you are familiar with PHP, and want to create custom snippets, then becoming familiar with the API will be of great benefit to your programming endeavors. If you have already checked out the Snippets section then you may have  already noticed some of the Etomite class API functions already... All of the API function calls are written in a format similar to:</p>\r\n\r\n<p><span style="font-weight: bold;">$result = $etomite-&gt;functionName($param1, $param2, etc.);</span><br /></p>\r\n\r\n<p>We won''t go into a long  list of the functions here, this is just a good place to inform you of the API and to provide a link to the <a href="http://docs.etomite.com/development-apifunctions.html" target="_blank">API Functions</a> section of the documentation site. While this section of the documentation is in need of some major improvement, it is a good starting place.</p>\r\n<br />\r\n\r\n', 1, 1, 7, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
---
> INSERT INTO `{PREFIX}site_content` (`id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `authenticate`, `showinmenu`) VALUES(40, 'document', 'text/html', 'API Functions', 'Application Programming Interface Functions', 'The Etomite API gives developers the power they need to create customized applications within Etomite.', 'api-functions', 1, 0, 0, 20, 0, '\r\n\r\n<p>The Application Programming Interface (API) provides many Etomite class functions which make programming within Etomite a whole lot easier. If you are familiar with PHP, and want to create custom snippets, then becoming familiar with the API will be of great benefit to your programming endeavors. If you have already checked out the Snippets section then you may have  already noticed some of the Etomite class API functions already... All of the API function calls are written in a format similar to:</p>\r\n\r\n<p><span style="font-weight: bold;">$result = $etomite-&gt;functionName($param1, $param2, etc.);</span><br /></p>\r\n\r\n<p>We won''t go into a long  list of the functions here, this is just a good place to inform you of the API and to provide a link to the <a href="http://docs.etomite.com/development-apifunctions.html" target="_blank">API Functions</a> section of the documentation site. While this section of the documentation is in need of some major improvement, it is a good starting place.</p>\r\n<br />\r\n\r\n', 1, 1, 7, 1, 0, 1, {TIMESTAMP}, 1, {TIMESTAMP}, 0, 0, 0, 0, 1);
