CORPORATE Documentation

Business Responsive Drupal 9 Theme

Introduction

Corporate is the best business theme for beginners as well as large companies. With three different versions of templates will help you create the desired website for your business.

Setup and implementation

CORPORATE is a Drupal 9 distribution, provide features and functions for Business, Marketing, Finance, Consulting, Startup, Corporate, Broker, Agencies & Portfolio websites.

With many contributed modules, theme, and pre-defined configuration. It make it possible to quickly set up your new website in fewer steps than if installing and configuring elements individually. Following steps will guide you through the installation process.

1. Extract the downloaded file [product-corporate.zip], you will find four files:

  • corporate.zip
  • corporate1.sql.gz
  • corporate2.sql.gz
  • corporate3.sql.gz

2. Extract the file [corporate.zip], it contains all drupal files.

3. You need to set the correct name of your public data directory, this depends on the kind of server you're using. I mention some examples here it may be:

  • In case you're using a local XAMP on Windows, the server root folder is C:\xampp\htdocs\ ;your public data directory is [htdocs]
  • In case you're using a local AppServ on Windows, the server root folder is C:\Appserv\www\ ;your public data directory is [www]
  • In case you're using a local MAMP on OSX, the server root folder is Aplications/MAMP/htdocs/ ;your public data directory is [htdocs]
  • In case you're using a remote/local WebServer on Linux, the server root folder usually is /home/user/public_html/ ;your public data directory is [public_html]

if your public data directory is [public_html] move to step 4, if not you have to:
A- Edit /composer.json file and find extra section:

          
            "extra": {
              "installer-paths": {
                "public_html/core": ["type:drupal-core"],
                "public_html/libraries/{$name}": ["type:drupal-library"],
                "public_html/modules/contrib/{$name}": ["type:drupal-module"],
                "public_html/profiles/contrib/{$name}": ["type:drupal-profile"],
                "public_html/themes/contrib/{$name}": ["type:drupal-theme"],
                "drush/Commands/{$name}": ["type:drupal-drush"]
              },
              "drupal-scaffold": {
                "locations": {
                  "web-root": "public_html/"
                  }
                }
              }
          
          
        

B- Change public_html, to your public data directory, for example htdocs. So /composer.json become:

        
          "extra": {
            "installer-paths": {
              "htdocs/core": ["type:drupal-core"],
              "htdocs/libraries/{$name}": ["type:drupal-library"],
              "htdocs/modules/contrib/{$name}": ["type:drupal-module"],
              "htdocs/profiles/contrib/{$name}": ["type:drupal-profile"],
              "htdocs/themes/contrib/{$name}": ["type:drupal-theme"],
              "drush/Commands/{$name}": ["type:drupal-drush"]
            },
            "drupal-scaffold": {
              "locations": {
                "web-root": "htdocs/"
                }
              }
            }
        
        
      

C- You need to regenerate autoload declarations, for that you need composer installed on your machie you can get it from https://getcomposer.org/. To refresh autoloading from composer, run command:

          
          composer dump-autoload
        
      

D- Rename /public_html to /htdocs.

4. Import the database to your server:
Now it’s time to import the database. First, make a new MySQL database on your server in order to import the database. Take a note of the “database,” “username,” “password,” and “host” — you'll need soon.
To make the import, open your new database, click "Import" at the top, click "Choose file," select one of the files:

  • [corporate1.sql.gz] for corporate1 the first variation
  • [corporate2.sql.gz] for corporate2 the second variation
  • [corporate3.sql.gz] for corporate3 the third variation
and hit “Go.”

5. Configure the settings.php
Now go to the [your public data directory]/sites/
you will find these three folders:

  • /corporate1
  • /corporate2
  • /corporate3
change the name of the folder with the variation name you choose to [default], you can delete the two other folders.
Now go to [your public data directory]/sites/default/ folder and open the [settings.php] file. Find the lines for the “database,” “username,” “password,” and “host” and write the new ones there.

6. Import the files to the server
Now it’s time to upload your site’s files to your server. This can be done via an FTP client. Connect there and upload the files to your server. please respect the directory structures.

7. Now you can visit your new website. You can login with the admin account [username: admin / Password: admin]

8. Is it too complicated for you, contact us and we will assist you with pleasure.

Customize appearance

To customize your website, you should visit the theme configuration page: /admin/appearance/settings/corporate1 [2 or 3]

Change Site Logo

This is one of the first things you'll want to do when you have CORPORATE installed. Here I show you how:

1. Browse to /admin/appearance/settings/corporate1 [2 or 3]
Scroll down to the section named "Override Global Settings" then "Logo image" tab.

2. Browse for your logo file locally. Once you find it, select it, and click “Save Configuration” at the bottom of the page. It will be uploaded to your webserver and will replace the default one.

It's done.

Managing Content

Drupal is a powerful cms, so Managing content must be very easy:

Add a new Category/Tag

CORPORATE use Category/Tag as taxonomies, to add/edit/delete a Category or Tag:
1. Brows to /admin/structure/taxonomy
2. Click on "list terms"
3. add/edit/delete a category or tag.

Add a new Node

1. Brows to:

  • /node/add/slideshow to add a new slideshow
  • /node/add/service to add a new service
  • /node/add/product to add a new product
  • /node/add/article to add a new article
  • /node/add/partner to add a new partner
  • /node/add/testimonial to add a new testimonial
2. Fill in the form by the node informations.
3. Click save.

Edit About page

1. Brows to About page from the main menu or by clicking on [READ MORE] from the front page
2. Click on Edit tab
3. Fill in the form by the node informations.
4. Click save.
This is the same method to edit all the node in Drupal.

Edit Contact page

1. Brows to /node/40
2. Click on Edit tab
3. Fill in the form by your contact informations.
4. Click save.

Best Photo Dimensions

The website will automatically try to resize specific images for you, however it’s always good to have the image the way you want it before uploading.

Slideshow: 1920px X 1280px
Blog image: 1200px X 675px
Service image: 960px X 640px
Partner image: 270px X 120px