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

learn more… | top users | synonyms

2
votes
1answer
18 views

Blocks display in the wrong place and can't be turned off

I'm experiencing problems: Some of my blocks are appearing in two blocks at the same time. Some blocks appear when disabled, even if I disable the block is still appears in one of the locations. It's ...
0
votes
2answers
22 views

Display block on two different pages

I'd like to view my block on pages where the content type = booking and where the address is node/add/booking (basically add, edit and view nodes), how can I accomplish this? So far my code only shows ...
-1
votes
1answer
9 views

Callback on Bean save?

Is there any callback hook like hook_node_insert / hook_node_update when saving a bean block?
0
votes
0answers
28 views

Drupal 7 custom Login block

I created one user-login.tpl.php and my own theme. when I logout it shows default drupal log in. after that i placed url like this(drupal/user) my custom login form comes along with my theme. I Don't ...
0
votes
0answers
8 views

Webform condition not working in custom theme as block

I created a webform with conditional, If radio-value X is set then show input field Y. I show the form as block on my theme with this snipplet: $form = module_invoke('webform', 'block_view', ...
0
votes
1answer
9 views

Using Drupal 7 & Omega 3.x - Page Titles + Edit Tabs are not showing up on node content types!

It seems that my page titles and the edit tabs have disappeared. I'm currently using omega 3.x and drupal 7. However the weird thing is that its showing up one content type, but not on others. I even ...
0
votes
2answers
20 views

Site structure - nodes and blocks

I'm new to drupal and I try to understand the structure of it. Let's assume I want to do the following regardless of the existence of a module doing this concrete job – just to understand the ...
0
votes
0answers
11 views

Recruit Distribution job search pages

I am using recruit distribution, I have configured everything but one thing that is giving me headache is how can I change the blocks in the jobs search page, I could not find any way nor any template ...
-3
votes
0answers
28 views

Drupal multi-site, server optimised but cache not working! Detailed description. Apologies! [on hold]

Set up server with PHP 5.5, enabled the Opcache and put in Memcached as well. At the same time, Drupal has been configured to have Boost, Boost Crawler, and Memcached storage. However in every case I ...
0
votes
1answer
22 views

Drupal block overriding with template file does not work

The Drupal verion I'm using is v7.34. I'm using sub-theme created from Bootstrap as base theme. My problem is, I want to override the "User Login Block" and put it in the header region (top bar), so I ...
0
votes
1answer
28 views

Best way to convert PHP block to improve site [duplicate]

I've just taken control over a Drupal site which the old admin used php blocks. I normally work on Joomla sites but from research and advice from others PHP blocks don't help the site in the long run. ...
1
vote
2answers
49 views

How to add a different specific image for each page in a region? [closed]

I want to have a different specific image on every page in the same region for each. I don't want to have to create separate blocks for each one. Is there an easier way? I will be getting the images ...
0
votes
2answers
31 views

Drupal aligning blocks and content next to each other

i have a view page and two blocks which i want to display next to each other. I want view content on left and two blocks on right, with one block on top and other just below it. But i am having ...
0
votes
0answers
13 views

Remove unused views display id

I was making changes to the views display machine names or(ID) and while i create some display it popped up this message (Display id should be unique) which was by this name "power_sector_1_1" and it ...
0
votes
3answers
106 views

Alter weather block behaviour?

In the weather module, if a user has not configured a custom weather block, the block does not display: /** * Implement hook_block_view(). */ function weather_block_view($delta = '') { global ...
0
votes
1answer
28 views

Adding a subtitle to the main title in Druapl 7

My Website name is Subham Soni. I want to add two more lines below it. One as "Developer" and then in another line a quote along with the author. How do I do it?
0
votes
2answers
31 views

Drupal hook_theme() Template Issue

I am creating a block and I cannot get it to render correctly. I need to render a list of links but it is not working and it is showing nothing on the page. I have the hook_theme() function like ...
0
votes
1answer
24 views

Simple Custom Block

So I am trying to create a block to list the cities of the scrapyards in the system and i've followed some tutorial and i'm not even getting the block to show up in the list. I have dir created at: ...
0
votes
0answers
13 views

Why does my module's hook block_list_alter only list a few blocks?

function mymodule_block_list_alter(&$blocks) { foreach ($blocks as $block_id => $block) { debug($block->module); } } the above code debugs only two messages, each time "system". ...
0
votes
1answer
23 views

Unable to print form submission result

The structure of my form is as follows: Form is built here function mymodule_member_search_form The form submission processing happens in the callback function ...
0
votes
1answer
9 views

Faceted Search Block displays values from other facet blocks

I'm using the Faceted Search API (drupal 7) and followed this Tutorial: Part 1 and Part 2 All worked fine but there's a little Problem with the Values each Block displays "Kategorie" and "Serie" ...
-1
votes
0answers
10 views

Print title of block group to allow for collapsible group

Currently I am working on a site where I need groups of blocks which should be collapsible. The blocks are grouped by using block group module. For the collapsible part I am using collapsiblock. By ...
0
votes
1answer
12 views

Block displaying in 'content' region of admin theme?

The below implementation of hook_block_info renders a block in the 'content' region of my theme. Unfortunately, it also appears in the content region of the administrative theme. The documentation ...
0
votes
0answers
26 views

Drupal 7 doesn't show date field in block but it does in page

I have a content type with a datetime iso field and pop-up calendar widget. The field collects an end date too. In the view (page) and table format it shows correctly. In the block in unformatted ...
0
votes
1answer
22 views

User Login block missing

It vanishes suddenly without any notifications today. I am using Drupal 7 with "Mix and Match" theme. I used to working this morning. Website shows no error at all. I have tried the following to get ...
0
votes
1answer
17 views

Problem with change position of Sidebar

I am using the Droupon theme of Drupal. I am facing problem while changing the sidebar from right to left. Using CSS I can change it. But I want to know if I can change the position of the sidebar ...
1
vote
0answers
30 views

Cannot Display Block below content

I have a block for a view that i'd like to display on a certain page, but BELOW that page's content. I have the specific page thing working fine, but no matter how many times I rearrange the block for ...
0
votes
1answer
21 views

In place editor for blocks in Drupal 7

I'm trying to make certain blocks editable for users with a certain role. I'm looking for a module which would provide an in-place editor for blocks. There's a module for this called Block Edit but ...
0
votes
1answer
25 views

Why my theme suddenly gone blue after an update?

After updating the Bartik 960 template on Drupal the homepage highlight each of the blocks on the page in blue. It looks like it's gone into a debugging mode, but I'm not sure how to fix it.
0
votes
1answer
46 views

Display node in multiple context

I'm using Drupal 7, and this problem have been tormenting me these past few days : let's say I'm using the basic content type Article, with basic view mode : full and teaser. Now I'm creating a ...
0
votes
1answer
23 views

Embedding Views block in Body field makes Body field disappear

I have a block that I need to embed in a node's Body field. I've tried module_invoke() + PHP Filter, and I've also tried the Insert Block module. In both cases, whenever I embed a Views block, it ...
0
votes
2answers
29 views

adsense code not working in drupal 7

I have put the following code from adsense in a block with full html filter : <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- newad --> ...
1
vote
1answer
71 views

How to refresh/update a Block or View after a form submit?

I have a View of created entities displayed as a block. On the same page I have a form with which new entities can be created, and this form submits through AJAX because I do not want a page reload ...
0
votes
1answer
21 views

print title and contents on a custom tpl.php template?

im making a custom theme for drupal, and im having a hard time trying to understand how to adapt one of my themes to drupal 7. Right now im having an issue because i need to set some classes on all ...
0
votes
0answers
9 views

Correct use of the context module to overtake the blocks assignments page?

Currently I'm using the regular blocks page to make assignments to the head/footer regions as those are relatively static. But one issue im running into is that I need to assign the "main content" ...
0
votes
2answers
16 views

Printing a form inside a block

I have a specific block that has some form logic, intended for newly registered users. And I am a bit lost on what the logic would look like to render the contents for the form inside a ...
0
votes
2answers
21 views

'path' in array with special characters using imagecache

I have a folder in my sites/default/files directory filled with product jpg's gathered from an external server and back end stock take system. The files look like this... Bread.jpg Bakery.jpg ...
0
votes
1answer
90 views

Can't edit Main menu block in sidebar by clicking on “gear”

Today on one of my websites I encountered something strange. I have my "Main menu" block in my left sidebar, and when I hover over that block, the "gear" to edit it shows up, but clicking on it does ...
0
votes
2answers
27 views

Place images/icons (to twitter, facebook…) in the lower right corner of the header

This is probably a very basic CSS question, but I was unable to figure it out. I have a theme that contains several header blocks. Except the main header block, none of those are used. The header ...
0
votes
2answers
37 views

Block restriction

I have content with URLs in the following pattern: http://example.com/subdirectory/working-site/major-event-2/event/4580/speakers There is a Views generated Block which I am trying to restrict ...
0
votes
1answer
36 views

How to edit and delete drupal 8 custom block content?

I am not getting any option to edit my custom block body content and not able to delete also. Please suggest me. Thanks
0
votes
0answers
3 views

Panel is removing my form tag

I've created a Panel showing a form declared in a module within a block, but when I save it and view it, it removes the <form> tag and does nothing. Any help why this could be happening? My ...
1
vote
1answer
20 views

How do I get rid of <p> tag in manually created block?

I'm trying to remove a <p> tag from a manually created block. This block only contains an image and nothing else. I have kpr() function outputting block variables but am not seeing where, or how ...
0
votes
1answer
19 views

Missing Logo block on a fresh build of Drupal 7 using Omega 3.x theme

I just did a fresh install of Drupal 7 and I'm currently made a sub-theme with omega 3.x and for some reason the blocks page is missing the logo block. I tried also uploading a logo image on the ...
-1
votes
1answer
36 views

Menu will not display - D7

I have an issue where I have created a menu within Drupal, assigned the block created by that menu to a region and set it to display on certain pages, but it's not displaying. It's a Drupal 7 site (v ...
-1
votes
1answer
15 views

is my menu-block not properly inserted?

quite new to drupal and having a small issue i can't seem to solve. it's quite a lot to start to explain so i think it's best to just send you the link and explain the problem. take a look at ...
1
vote
1answer
23 views

Cross domain menus and blocks, but not users and content data

I'm trying to create multiple sites(maybe over 20 sites) using the same menu and some blocks, but not others. I found these modules have very similar features/functions, they are Domain Access, Domain ...
0
votes
1answer
13 views

How to use Content Complete Module?

Tried to read https://www.drupal.org/project/content_complete but that didn't give me much so now I'm stuck. I've set what Content Type + Fields to use and Rebuilt Cache. Then I keep getting this ...
0
votes
1answer
34 views

Text only rotating banner

Is there any module for drupal 6 I can use to create a rotating banner with no images for drupal 6 site Thanks Colin
0
votes
0answers
17 views

I have set points for posting articles and its working but

I have set points for posting articles and its working but I also like to add Cash Credits along with it. Cash credits are just like the points system but it has to show "You have earned 50 Rupees for ...