NorrCompetition | NorrNext Documentation
DocumentationNorrCompetition
  • 🚀Getting started
    • Technical Requirements
    • Installation and Updates
  • 🛠️Configuration
    • Component Options
    • General
    • Contests
    • Contest
    • Entries
    • Entry
    • Categories
    • Category
    • Images
    • Comments
    • Contest Form
    • Permissions
  • 🖼️Contests
    • Managing Contests
    • Creating Contest
    • Contest Layout Options
    • Closing Contest
  • 🏆Entries
    • Managing Entries
    • Adding Entry
    • Approving Entry
    • Entry Data Comparison
    • Entry Layout Options
    • Submitting Entry Form
    • Contestant's Profile
    • Votes Log
  • 📂Categories
    • General Information
    • Managing Categories
    • Creating Category
    • Category Layout Options
  • 🧩Fields
    • General Information
    • Managing Fields
    • Field Types
    • Creating Field
  • 🔋Modules
    • NorrCompetition Entries
    • NorrCompetition Contests
    • NorrCompetition Grid
  • 🔌Plugins
    • NorrCompetition Notifications
    • NorrCompetition Smart Search
    • NorrCompetition Search
    • NorrCompetition Sitemap
    • NorrCompetition Profile Link
    • Application for EasySocial
    • NorrCompetition Application for JomSocial
    • AUP plugin for NorrCompetition
    • NorrCompetition Image Moderation
      • Sightengine Setup
      • Plugin Configuration
  • 💬Comments
    • Integration with Facebook
    • Integration with JComments
    • Integration with Komento
    • Integration with Disqus
    • Integration with VK.com
  • ☁️Remote Storage
    • General Information
    • AWS S3
  • 🖥️Customisation
    • Template Overriding
    • Using content plugins on entry page
    • Link to contestant
    • Events
      • Content
      • Contest
      • Entry
      • Entry Form
      • Field
      • Vote
      • Other
  • ✍️Localisation
    • Language pack installation
    • How to take a part in NorrCompetition localisation
  • 📜Best Practices
    • Recommendations on image sizes
    • Use on multilingual sites
    • Tutorial: How to Create Photo/Video Voting Contest on Joomla
    • Tutorial: Monetize Voting Contests via Membership
    • Tutorial: Monetize Voting Contests via Points
    • Embedding HTML snippets on example of music contest
  • 💡FAQ
    • How the protection from unfair voting is implemented?
    • What notifications does the component send?
    • Create and edit contests on front-end
    • Submitting Entries by Unregistered Users
    • How to install sample data
    • How to change the order of tabs with comments
    • Using navigation module (breadcrumbs)
    • NorrCompetition and YOOtheme Pro
  • 🔍Troubleshooting
    • I do not get notifications from NorrCompetition
    • I get an error or white screen on photo upload
    • No images appear after submitting entries
    • Submit button is not working
  • User is not able to vote. Errors in the console
Powered by GitBook
On this page
  • 1. Where to download it?
  • 2. The Administrator Panel module
  • 3. Installing the plugin
  • 4. Install the Sample Data via the module
  • 5. Removing the Sample Data plugin
  • 6. Potential issues
  1. FAQ

How to install sample data

PreviousSubmitting Entries by Unregistered UsersNextHow to change the order of tabs with comments

Last updated 2 months ago

NorrCompetition has a nice Sample Data allowing you to get 5 contests of different types and test how it works locally. To do that, you need to install a Sample Data plugin.

1. Where to download it?

Please log in to NorrNext site under your user account and go to download area (you need a valid subscription on NorrCompetition product). There you will find plg_sampledata_nc.zip plugin. Just download it.

Note: The minimal system requirements: Joomla 3.9 and NorrCompetition 1.8.1.

2. The Administrator Panel module

Since Joomla 3.8 it is possible to manage sample data inside of the site dashboard and the new feature has 2 parts:

  1. You need a plugin that contains the sample data.

  2. You need an administrator module to display the sample data installation options.

If your site already has the administrator module published, you will see an option like on the screenshot below:

3. Installing the plugin

4. Install the Sample Data via the module

Well, we have installed the plugin and now it is time to install the Sample Data via the module. In the Administrator Panel you will see the following data:

Now just click on "NorrCompetition Sample data" and Joomla will install the sample data for you:

Note: The Sample Data requires NorrCompetition to have no contests, categories, entries, and fields. If you have already added something - please remove it including clearing the trashing can.

The NorrCompetition Sample Data adds 3 additional menu items to NorrCompetition Menu:

  • Entry

  • Category

  • Contest

Now you can see 5 excellent sample contests: The First Look. Contest type: photo Show Me Your Smile!. Contest type: photo Tune Up!. Contest type: photo Beautiful Earth. Contest type: video Love Poetry. Contest type: simple

Here you go to test how it works. Good luck!

5. Removing the Sample Data plugin

When the Sample Data is installed and you no longer need it, we recommend uninstalling the plugin to optimize the site size. (-31 MB). It can be done via Extensions Manager.

Go to Extensions > Manage > Manage

Enter Sample Data - NorrCompetition in the search filter. Check it and click on "Uninstall".

6. Potential issues

6.1. No data or error during the file uploading

When you install the plugin, there might be the following potential issues:

  • The plugin installs too quickly (bear in mind 31mb file needs time for upload and unpacking).

  • You get 500 Internal Server Error or something like that.

It means there are limits on your server on file size and execution time and, when they're exceeded, you get the issue described above. To solve it, you need to increase the limits. It can be done via hosting panel, php.ini or .htaccess.

An example of limits change via the .htaccess file:

   php_value post_max_size 128M
   php_value upload_max_filesize 64M
   php_value memory_limit 128M
   php_value max_execution_time 259200

6.2. Unable to install the Sample Data again

You have installed the Sample Data, tested the component and changed the data. Now you want to undo changes and install the Sample Data again. However, the module gives you an error message on one of the installation steps. To solve this problem, you should remove all data associated with NorrCompetition:

  • Entries

  • Contests

  • Categories

  • Fields

  • 3 menu items in NorrCompetition Menu (Entry, Category, and Contest)

Make sure the trash is empty too. As soon as it's done, you can install the Sample Data without a problem.

6.3. I've removed Sample Data module after Joomla installation

If you have removed that module or uninstalled core sample data after the installation of your Joomla, now you need to add the module again. Just go to Extensions > Modules > select Administrator side.

Then click on Create, select Sample Data module and set the position to cpanel and access to Special. Now, this module will appear in the Administrator Panel.

Note: If you do not see the Sample Data module on the dashboard of your Administrator Panel, it means the module was not added or has been removed. Read

Now it's time to install the Sample Data plugin. Just do it via Extensions manager as it comes with the standard Joomla extension. .

The size of the installation file is 31 MB, so please make sure your hosting params handles such size. Read more about .

Now it will appear in Administrator Panel and you can proceed to the .

💡
Read the tutorial
how to add it.
Potential issues
Sample Data installation
Core Sample Data
NorrCompetition Sample Data
Installing the NorrCompetition's Sample Data
Add the module in Administrator Panel
The Sample Data module in Administrator Panel
NorrCompetition Sample Data
The Sample Data was successully installed
Add the module in Administrator Panel
The Sample Data module in Administrator Panel