If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

Drupal 7.x. How to install sample data

This tutorial shows how to install Drupal 7.x templates sample data.

Drupal 7.x. How to install sample data

  1. 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: Drupal 7.x. How to install theme. You can find the tutorial in our Help Center.

  2. Log into the admin section, open the "Configuration -> File system" page, set "Private file system path" to "sites/default/private/files".

  3. Go to Modules and enable the "Demonstration site" module. Scroll down and save changes.

  4. Go to the "Structure -> Snapshots" page, select the "themeXXX" snapshot and click the "Reset" button. Please note that all content will be replaced with sample content. The snapshot may not show up in these cases: you have not uploaded all template files, incorrect permissions are set for the “sites/default/private/files” folder or you have not set "Private file system path" the way we have specified previously.

  5. 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.

    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!

    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 ).

  1. Back up your database and remove all Drupal tables. Please note that your database may have tables for another engines/installations. You should remove Drupal tables only. In our case only Drupal is using our database.

  2. Open the Import tab, click Browse and import the “sites\default\private\files\demo\themeXXXX.sql” file.

    You can also check the detailed tutorial on how to import SQL file using phpMyAdmin tool.

  3. Refresh your site. It should now look like live demo of the template.

Feel free to check the detailed video tutorial below:

Drupal 7.x. How to install sample data

Drupal 7.x. How to install sample data, 5.0 out of 5 based on 2 ratings
  • http://www.facebook.com/bug.over Bug Over

    And if I delete my data, how to install the theme regardless of the SQL?