Blocks are self-contained collections of content and functionality that are displayed within theme regions.

learn more… | top users | synonyms

2
votes
0answers
6 views

Implementing blocks in Drupal 8

Looking for the block hooks in the documentation for Drupal 8, I get the following ones: hook_block_access() controls which users have access to a block hook_block_view_alter() is used to alter how ...
1
vote
0answers
15 views

Block in custom module not registering on a particular site

I'm having issues with a block that is created with a module I wrote. This module works on 2 out of 3 sites, all of which have a similar setup, so I'm not sure why it's being picky on one site. Here ...
-3
votes
1answer
24 views

Is it possible to add a button in custom create block in drupal 7 [on hold]

Is it possible to add a button in custom block in drupal 7. I programatically created a custom block. I don't know how to add a button.
0
votes
1answer
32 views

How to use Block Access with specific Block?

I am using block access module to restrict block administration permission. I want to give permission to a role on specific block to edit that block. When I changed the permission firstly it permits ...
0
votes
2answers
25 views

Extract Admin OG members from basic page with views

I have added a group reference field to basic pages. That is every book page belongs to an OG group. When displaying a basic page, I want to display the list of admin members of the OG group in a ...
0
votes
1answer
21 views

update a module in the front page after adding new content into another page

I want to create a block on the home page which highlights the latest news from the 'news' page. I would like to add new content into the 'news' page frequently. Every time when I add a piece of new ...
0
votes
0answers
10 views

Node block form

Use case: a community feedback form placed on a block region in which the submitted data are used as content types which can be displayed in views on a community page. What I am trying to do: create ...
3
votes
2answers
68 views

How can one add superscript character like TM or Reg on a block title

I was wondering how to add superscript characters like trademark to Drupal block title.
1
vote
1answer
34 views

Phantom template file?

I've inherited a site running a custom Zen sub-theme. It uses standard CCK content types with several "page-node-" and "node-" template files for layout control. The original designer used the .tpl ...
0
votes
0answers
22 views

Wrapping a block in jQuery Accordion

Problem I'm creating a search page for a module. On that page I have an exposed views filter block and I'd like to put it into a jQuery accordion. In case it's relelvant: In the same sidebar below ...
0
votes
2answers
22 views

Display block based on main content type with view

I have created a view in a block, to display some related information to the current content type being displayed into the block. More precisely, I want to display the block only for book pages. What ...
0
votes
0answers
19 views

How to include the same block in two regions? [duplicate]

I created a views block and have included it in the Content region for one of the pages... I would like to call the same block on a different region on the homepage. Is this possible?
1
vote
0answers
23 views

My images are not displayed in block

My images are not displayed in block and attachment page,but displayed in the content i check the views but don`t fixed i do anything with views and check permissions but not fix my problem. Of course ...
1
vote
2answers
112 views

Using drupal 7 block from another website luckily on same server

I have spent several hours searching for my solution. I found some but none of them is working. My problem is I have multi-site setup of drupal. Site A has a drupal views generated block of events ...
0
votes
3answers
42 views

How to add page restrictions for blocks in drupal?

I'm using the drupal administrator menu for the settings there i have a page called /desert/234234 the block should appear only when the url is /desert/(desert_id) how can i restrict that

1 2 3 4 5 57
15 30 50 per page