- Drupal - Announcements
- Drupal - Site Upgrade
- Drupal - Site Backup
- Drupal - Optimization
- Drupal - User Management
- Drupal - Comments
- Drupal - Taxonomies
- Drupal - Menu Management
- Drupal - Publish Content
- Drupal - Delete Content
- Drupal - Modify Content
- Drupal - Create Content
- Drupal - Create Pages
- Drupal - Create Articles
- Drupal - Create Blog
- Drupal - Static Pages
- Drupal - Front Page
- Drupal - Themes & Layouts
- Drupal - Blocks & Regions
- Drupal - Main Menu
- Drupal - Architecture
- Drupal - Installation
- Drupal - Overview
- Drupal - Home
Drupal Advanced
- Drupal - Site Security
- Drupal - Poll Module
- Drupal - Form Module
- Drupal - Contact Module
- Drupal - Aggregator Module
- Drupal - Book Module
- Drupal - Pane Module
- Drupal - Default Modules
- Drupal - Extensions
- Drupal - Internationalization
- Drupal - Social Networking
- Drupal - Triggers & Actions
- Drupal - Multilingual Content
- Drupal - Error Handling
- Drupal - Site Search
- Drupal - URL Alias
Drupal E-Commerce
- Drupal - Order History
- Drupal - Email Notifications
- Drupal - Invoice Generation
- Drupal - Setup Payments
- Drupal - Setup Shipping
- Drupal - Receive Donations
- Drupal - Setup Discounts
- Drupal - Setup Taxes
- Drupal - Create Categories
- Drupal - Create Products
- Drupal - Setup Shopping Cart
Drupal Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Drupal - Blocks & Regions
In this chapter, we will study about Drupal Blocks & Regions. Blocks are container objects that are used to organize your content of your website. It can be displayed in the regions on your page.
Following are the simple steps for creating Drupal Blocks.
Step 1 − Cpck Structure in Drupal as shown in the following screen.
Step 2 − Then, cpck Blocks.
Step 3 − Blocks page gets displayed. Cpck Add block.
Step 4 − A block page will gets displayed to create a new custom block as shown in the following screen.
The following fields appear on the Blocks page.
Block Settings
Block title − Enter the title for your block.
Block description − Enter the description about block.
Block body − Enter the content of the block.
Text format − Select the format for your text i.e. Filtered HTML, Full HTML, and Plain text.
Region Settings
Bartik (default theme) − Select the region to display block in the theme.
Seven (administration theme) − Select the region to display block in the administration theme.
Visibipty Setting
Page − Allows displaying blocks on all or specific pages.
Content Types − Allows to display the blocks in specific content, i.e. Article or Basic Page.
Roles − Allows displaying the blocks for specific types of users, i.e. anonymous user, authenticated user, or administrator user.
Users − Allows each user to customize the visibipty of block in their settings.
Now, cpck the Save block after filpng all the fields.
Step 5 − You can view the created block as shown in the following screen.
Advertisements