Pages

Friday, March 1, 2013

Using Drupal Taxonomy to Post Content


Now that we have created the vocabulary and we have added terms to it, we can use it when posting content on the web site. 
tags
Note that the tags option auto completes the vocabulary field with one of the terms we have created before.

If you choose terms from the vocabulary they will be displayed as tags on the page you have posted them as shown below:
tags
Note that the terms presented do not indicate their underlying structure to the reader. The vocabulary just displays all terms for this content item.

The Drupal taxonomy provides a great way to manage the content sorting of your web site. Those are just basic examples and you can achieve amazing results extending the taxonomy vocabularies and terms for your web site.

Managing an Existing Vocabulary


There are 3 actions you can take with an existing vocabulary.
  • Edit Vocabulary -  This refers to changing the settings you have chosen upon creating the vocabulary.
edit vocabulary
  • List Terms - It will display a list of all terms currently added to this vocabulary.
list terms
  • Add Terms -  This will allow you to add a new term to an already created vocabulary.
add terms
By default the terms list for a newly created vocabulary will be empty. You will need to create terms for the vocabulary via theAdd terms functionality:
Tags
We have added several terms in our vocabulary and here is how the list looks now:
Terms
You can now edit each of the terms you have added by clicking the corresponding button. Drupal allows you to adjust the terms order. You can do so by holding down the left mouse button on the cross icon at the left and dragging the term to the desired position in the list.

Note that when creating or editing a term you have relations you can set for it.
add terms
Those settings will provide you with four different options.
1. You will be able to define an already existing term as parent term for the new one. Note that if you hold down Ctrl you will be able to set more than one term as parent for the new one. Note that setting multiple parents for a single item will disable the drag and drop list functionality. It will be re-enabled if you reduce the parents for each term to one.
parent terms
2. You can set the weight for each term. The same as with vocabularies this resembles the order in which the terms will be listed in the vocabulary.
weight
Once you have made the desired changes click the save button.

How to change the default Drupal theme?


The default Drupal installation comes with several themes which can be changed from your administration area. Log in as an administrator, click on Administer -> Appearance and choose which theme you want to use for your website.
Appearance

How to install new Drupal themes?

Drupal keeps its skins in the themes subfolder. To install additional themes, you can get the theme from the Drupal official theme resource. Extract the files under the themes subfolder. This can be done through cPanel -> File Manager.
If you don't have cPanel or you prefer using an FTP client, you can extract the archived theme to your computer and then upload the theme's files to the themes folder in your Drupal installation directory.
You should now be able to see the theme at your Drupal Administration Area -> Appearance. Enable it and set it as default.
enable theme
The Update tab allows to view the outdated themes and get the new versions.
Appearance Update
In the Settings section you can manage the global visualization settings for your web site. You can also overwrite them per each theme.
Drupal Appearance

How to install/enable Drupal modules?


You can enable/disable Drupal Modules from the Drupal Administration area -> Modules section.
Drupal Modules
The default installation of Drupal has many useful modules, and there is a brief description of what each one of the modules does. If you need more modules, you can freely download them from the Drupal Modules official website.
On your site, Drupal modules are stored in the modules subfolder within the Drupal installation directory. You can install additional modules by simply unzipping them in that folder. Alternatively, you can use the Install new module functionality.

How to install/enable the Nice Menus module?

We will demonstrate the module installation process in Drupal by installing the Nice Menus module.
Visit Drupal Modules website and find the Nice Menus module. Download the corresponding version to your local hard-drive. Then upload the archive in the modules folder of your Drupal installation and extract it.
Make sure its dependencies are enabled. Then enable the Nice Menus module and save the new configuration.
Enabled module
You can also check for the modules that need update in the Update tab.
Modules Update
The Uninstall section lists the disabled external modules that can be uninstalled from your system.
Modules uninstall