The following configuration changes have to hide a block for empty views in Drupal 7: Open the view that has been created. Open the Advanced options by clicking the 'Advance' link on the right side of the block view. We have to add a contextual filter for the block by clicking on the 'Add' link near the 'contextual Filters'.

## Objective Create a module and a new block that will call an ajax function to show some info dynamically ## Summary * Step 1: create your module * Step 2: call hooks 'block_info' and 'block_view' for a new block * Step 3: create function for block content * Step 4: create javascript file with the ajax call inside your module * Step 5: add hook menu for ajax call * Step 6: create function for ## Objective Create a module and a new block that will call an ajax function to show some info dynamically ## Summary * Step 1: create your module * Step 2: call hooks 'block_info' and 'block_view' for a new block * Step 3: create function for block content * Step 4: create javascript file with the ajax call inside your module * Step 5: add hook menu for ajax call * Step 6: create function for Oct 25, 2016 · Using to Create Drupal 7 Empty Menu Link Titles First of all, you must start by using the snippet provided below and will need to enter as the link title in order to render it empty. To accomplish this, in your theme’s template.php file add: Mar 15, 2013 · Menu block. The first thing you need to do after installing this module is go to Structure -> Blocks and add a new Menu block. Give it a title (or not) and select which menu you want this block to display. Then, you select the hierarchical level it starts from and how deep in it it should go. The rest is normal.

Part of my task is to add a year filter to the press releases page. On the mock-up design, there appears a list of years on a left sidebar menu to serve as the filter value. I was able to create this feature by creating a new menu. The press release page is a /press-releases, so for my menu link, each year is a query parameter, like so:

Either an empty array so the block will not be shown or an array containing the following elements: subject: The default localized title of the block. If the block does not have a default title, this should be set to NULL. content: The content of the block's body. This may be a renderable array (preferable) or a string containing rendered HTML ## Objective Create a module and a new block that will call an ajax function to show some info dynamically ## Summary * Step 1: create your module * Step 2: call hooks 'block_info' and 'block_view' for a new block * Step 3: create function for block content * Step 4: create javascript file with the ajax call inside your module * Step 5: add hook menu for ajax call * Step 6: create function for ## Objective Create a module and a new block that will call an ajax function to show some info dynamically ## Summary * Step 1: create your module * Step 2: call hooks 'block_info' and 'block_view' for a new block * Step 3: create function for block content * Step 4: create javascript file with the ajax call inside your module * Step 5: add hook menu for ajax call * Step 6: create function for

Jul 17, 2012

block_admin_display: Menu callback for admin/build/block. block_admin_display_form: Generate main blocks administration form. block_admin_display_form_submit: Process main blocks administration form submission. block_box_delete: Menu callback; confirm deletion of custom blocks. block_box_delete_submit: Deletion of custom blocks. How to hide the site name in Drupal 8 - YouTube Aug 08, 2016 Drupal 7 Tutorial Part 6: Understanding Drupal 7 Block