{"id":8248,"date":"2014-04-18T03:56:03","date_gmt":"2014-04-18T07:56:03","guid":{"rendered":"http:\/\/info.template-help.com\/?p=8248"},"modified":"2018-02-12T06:17:30","modified_gmt":"2018-02-12T11:17:30","slug":"how-to-install-drupal-7-theme-sample-data","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-install-drupal-7-theme-sample-data.html","title":{"rendered":"Drupal 7.x. How to install sample data"},"content":{"rendered":"<p>\r\n<\/p>\r\n<p>This tutorial shows how to install Drupal 7.x templates sample data.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=NqJJ1dnlNEo?width=1280&amp;height=720\" rel=\"prettyPhoto\">Drupal 7.x. How to install sample data<\/a><\/p>\r\n\r\n<div class=\"inline-banner\">\r\n<img src=\"\/help\/files\/banners\/zmz\/tmh\/en\/1_3.png\" onclick=\"showChat()\">\r\n<\/div>\r\n\r\n<ol>\r\n<li>\r\n<p>We have activated the theme and uploaded all modules and other files that come with the template package. Make sure that you have followed all the steps from this tutorial:   <a href=\"\/help\/how-to-install-drupal-7-theme.html\" target=\"_blank\">Drupal 7.x. How to install theme<\/a>. You can find the tutorial in our Help Center.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Log into the admin section, open the &quot;<strong>Configuration -&gt; File system<\/strong>&quot; page, set <strong>&quot;Private file system path<\/strong>&quot; to &quot;<strong>sites\/default\/private\/files<\/strong>&quot;.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-1-300x170.jpg\" alt=\"[SCM]actwin,0,0,0,0;\" width=\"300\" height=\"170\" class=\"aligncenter size-medium wp-image-34311\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-1-300x170.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-1-150x85.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-1-1024x581.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-1.jpg 1273w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Go to <strong>Modules<\/strong> and enable the <strong>&quot;Demonstration site&quot;<\/strong> module. Scroll down and save changes.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-2-300x162.jpg\" alt=\"Drupal 7.x._How_to_install_sample_data-2\" width=\"300\" height=\"162\" class=\"aligncenter size-medium wp-image-34312\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-2-300x162.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-2-150x81.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-2-1024x556.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-2.jpg 1265w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Go to the &quot;<strong>Structure -&gt; Snapshots<\/strong>&quot; page, select the &quot;themeXXX&quot; snapshot and click the &quot;<strong>Reset<\/strong>&quot; button.<strong><em> Please note that all content will be replaced with sample content<\/em><\/strong>. The snapshot may not show up in these cases: you have not uploaded all template files, incorrect permissions are set for the <strong><em>&#8220;sites\/default\/private\/files&#8221;<\/em><\/strong> folder or you have not set <strong><em>&quot;Private file system path&quot;<\/em><\/strong> the way we have specified previously.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-3-300x101.jpg\" alt=\"[SCM]actwin,0,0,0,0;\" width=\"300\" height=\"101\" class=\"aligncenter size-medium wp-image-34313\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-3-300x101.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-3-150x50.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-3-1024x345.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-3.jpg 1242w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>We have restored the snapshot. Now we should update the database. Open http:\/\/www.example.com\/update.php (replace www.example.com with your domain name), put the site into maintenance mode and update the database (in our case database update was not required). Your Drupal installation may require a database update. Please follow Drupal instructions and update the database.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-4-300x123.jpg\" alt=\"Drupal 7.x._How_to_install_sample_data-4\" width=\"300\" height=\"123\" class=\"aligncenter size-medium wp-image-34314\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-4-300x123.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-4-150x61.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-4-1024x422.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-4.jpg 1189w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<\/ol>\r\n<ol>\r\n<p class=\"attention\">Please skip the next 3 steps in case Snapshot was installed successfully and your website looks properly. Please note that database import should be performed only in case you experience issues with Snapshot installation!<\/p>\r\n<p class=\"info-box\">In some cases (mostly due to hosting settings) you may experience issues with Snapshots. In this case you can upload sample data directly to Drupal database using a database management tool (for example, PhpMyAdmin ).<\/p>\r\n<li>\r\n<p><a href=\"\/help\/phpmyadmin-how-to-backup-a-database.html\" target=\"_blank\">Back up your database<\/a> and remove all Drupal tables. <em><strong>Please note that your database may have tables for another engines\/installations.<\/strong><\/em> You should remove Drupal tables only. In our case only Drupal is using our database.<\/p>\r\n<\/li>\r\n<li>\r\n<p> Open the <strong>Import <\/strong>tab, click <strong>Browse<\/strong> and import the <strong>&#8220;sites\\default\\private\\files\\demo\\themeXXXX.sql&#8221;<\/strong> file.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-5.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-5-300x167.jpg\" alt=\"Drupal 7.x._How_to_install_sample_data-5\" width=\"300\" height=\"167\" class=\"aligncenter size-medium wp-image-34315\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-5-300x167.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-5-150x83.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-5-1024x573.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-5.jpg 1258w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>You can also check the detailed tutorial on <a target=\"_blank\" href=\"\/help\/phpmyadmin-how-to-import-sample-data-dump-file-phpmyadmin.html\">how to import SQL file using phpMyAdmin tool.<\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p> Refresh your site. It should now look like live demo of the template.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-6.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-6-300x163.jpg\" alt=\"Drupal 7.x._How_to_install_sample_data-6\" width=\"300\" height=\"163\" class=\"aligncenter size-medium wp-image-34316\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-6-300x163.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-6-150x81.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-6-1024x556.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/05\/Drupal-7.x._How_to_install_sample_data-6.jpg 1236w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=NqJJ1dnlNEo?width=1280&amp;height=720\" rel=\"prettyPhoto\">Drupal 7.x. How to install sample data<\/a><\/p>\r\n<\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to install Drupal 7.x templates sample data.<\/p>\n","protected":false},"author":39,"featured_media":34327,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[310,723],"tags":[927,648,769,581,767,766],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8248"}],"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\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=8248"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8248\/revisions"}],"predecessor-version":[{"id":84063,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8248\/revisions\/84063"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/34327"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=8248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=8248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=8248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}