{"id":8239,"date":"2011-05-23T03:45:56","date_gmt":"2011-05-23T07:45:56","guid":{"rendered":"http:\/\/info.template-help.com\/?p=8239"},"modified":"2017-02-22T05:12:36","modified_gmt":"2017-02-22T10:12:36","slug":"how-to-install-drupal-6-theme-sample-data","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-install-drupal-6-theme-sample-data.html","title":{"rendered":"How to install Drupal 6 theme sample data"},"content":{"rendered":"<p>\r\n<p class=\"warning\">NOTE: Importing the <strong>SQL <\/strong>file to your database will overwrite your existing <strong>content<\/strong> and website settings. <strong>DO NOT<\/strong> import the SQL file if you want to keep the existing content<\/p>\r\n<p class=\"attention\">NOTE: <strong>ALWAYS<\/strong> backup your database before performing any modifications<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>How to install a template with sample content on Drupal 6.x.<\/p>\r\n<p>1. All the core modules, except for the <strong>&quot;OpenID&quot;<\/strong>, should be enabled here in order for the database import process to run smoothly.<br \/>\r\n  Go to<strong> &quot;Administer -&gt; Site Building -&gt; Modules&quot; <\/strong>to enable them.<\/p>\r\n<p>&nbsp;<\/p>\r\n<h3> Installing additional modules (if they are included in the template package):<\/h3>\r\n<p>2. Uncompress the module files with your favorite unzipping program.<\/p>\r\n<p>3. Upload these modules to &quot;\/sites\/all\/modules&quot; directory on the server using your file manager or FTP program. If you don&#8217;t have the &quot;modules&quot; folder in &quot;sites\/all&quot;, create one first.<\/p>\r\n<p>4. Enable these modules in &quot;Administer -&gt; Site Building -&gt; Modules&quot;.<\/p>\r\n<p>5. Upload your theme folder to &quot;sites\/all\/themes&quot; directory. If you don&#8217;t have the &quot;themes&quot; folder in &quot;sites\/all&quot;, create it.<\/p>\r\n<p>6. Go to &quot;Administer -&gt; Site Building -&gt; Themes&quot;. Find the uploaded template in the list and set it as default.<\/p>\r\n<p>&nbsp;<\/p>\r\n<h3>Importing the SQL file.<\/h3>\r\n<p>7. If you are using a tool like phpMyAdmin:<br \/>\r\n  a) select your site&#8217;s database;<br \/>\r\n  b) click the &quot;Import&quot; tab at the top;<br \/>\r\n  c) browse to the SQL file from the sources folder.<br \/>\r\n  d) press &quot;Go&quot;.<\/p>\r\n<p>NOTE: After this is done, all the current content on your site will be replaced with the sample content.<\/p>\r\n<p>6. Open &quot;<strong>YUI Common Settings<\/strong>&quot;  and type the path to your theme in the &quot;Location of YUI library&quot; field.<br \/>\r\nIf you uploaded the template to &quot;sites\/all\/themes&quot;, then the path will look like:<\/p>\r\n<p> <strong>sites\/all\/themes\/yourtheme<\/strong><\/p>\r\n<p> (change <strong>&quot;yourtheme&quot;<\/strong> to the actual name of the theme folder).<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"\/help\/files\/Drupal\/drupal6_theme_installation_with_sample_content.htm\" target=\"blank\">How to install Drupal 6 theme sample data<\/a><\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>NOTE: Importing the SQL file to your database will overwrite your existing content and website settings. DO NOT import the SQL file if you want to keep the existing content NOTE: ALWAYS backup your database before performing any modifications &nbsp; How to install a template with sample content on Drupal 6.x. 1. All the core [&hellip;]<\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[310,723],"tags":[2564,593,926,648,769,581,767,766],"class_list":["post-8239","post","type-post","status-publish","format-standard","hentry","category-drupal","category-drupal-tutorials","tag-archived_tutorial","tag-drupal-2","tag-drupal-6","tag-install","tag-sample-data","tag-sql","tag-template","tag-theme"],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=8239"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8239\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=8239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=8239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=8239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}