blocks

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
rpeters's picture

Styling just view blocks

I would like to just style all my view blocks a certain way how can I do that? Any advice

Read more
jcicolani's picture

Troubles with Custom Theme using 960Grids Base Theme

I am trying to build a custom theme for my much discussed photo workshop site using the 960 Grid base theme. I get it running all right, except one small problem. None of my blocks are displaying. In their place I get "1" or "0". The regions seem to work right, properly sized, etc., but the blocks aren't showing.

Here is my theme.info file:


name = Vandivier
description = 960 Grid Subtheme
version = VERSION

core = 6.x
base theme = ninesixty
engine = phptemplate

stylesheets[all][] = reset.css
stylesheets[all][] = 960.css
stylesheets[all][] = styles.css

Read more
davidburns's picture

Building Pages - Blocks vs. Context vs. Panels

** UPDATE: I will be unable to attend DrupalCampNYC 8, but will gladly share my slides and presentation notes if anyone else wishes to present this session. **

** NOTE: This is the same session I did at Drupaldelphia and DrupalCamp Colorado. **

There are ways to organize a page before it gets rendered to the screen. The purpose of this presentation is to show what Drupal does out of the box (blocks/regions) and then show 2 alternatives that provide more flexibility (context & panels). We will identify the strengths and weaknesses of each and provide examples for situations where one is more suited than the other.

Read more
occi64's picture

Front page Blocks, etc. & ckeditor "bug"?

Like others I have trouble figuring out how to get things posted on the frontpage. For instance, the "middle" column is extremely hard to fill with material based on what instruction I can find and have seen.
Well, there is another side problem that has to do with that also. At least on my installation.
In using ckEditor to post what page(s) a block should appear on, I get this problem. I click the editor to "source" and type in, for example, , then I save. Then I look for the block and nothing on the front page or any other.

Read more
ithacaindy's picture

Blocks and Taxonomy

I am using the menu blocks module to display parts of my primary menu items in blocks in the right sidebar. I want to display the blocks in certain sections (an 'Inside Sports' menu block would appear only on the Sports term of the 'Topic' taxonomy. My problem is blocks can only be limited by page (about, front, etc.) and not taxonomy.

How do I limit block visibility based on taxonomy?

Read more
zdoryk's picture

Editing OP. What're wrong with blocks?

Some blocks, which are off in admin, are shown on home page. How I can change this?

Read more
vardas's picture

Need help creating a GMap Block using Views

I am hoping someone will be able to help me create a GMap block using Views.

Essentially what I want to be able to do is to take the Google Map that is shown when you click on the "User Locations" link and put it in a Block that can be added to any page (specifically in my case to the Home Page).

I have tried to use Views to do this but I cannot get the Content : Location option to appear in the Views list of Relationships. I expect there are other gaps in my knowledge but so far this is as far as I can get.

Read more
askibinski's picture

Block caching and node_access: best practices for Drupal 6?

As we all know, block caching is very useful. However, on complex social/web 2.0 sites with a node_access module (like organic groups) block caching is disabled, because core doesn't allow block caching and a node access module running at the same time. While this is a weird architectural issue, I am wondering about best practices to deal with this on a drupal site with many authenticated users and a node_access module.

Take these questions for this situation:

Read more
morisy's picture

Alternatives to "Comment block" for moving comments

I feel like this should be a basic bit, but I cannot for the life of me figure out how to move comments around in a theme.

Comment Block does essentially what I want, but I'd rather due it in the theme and on a per-node-type basis, rather than across the site and via blocks.

Is it in node.tpl.php? Tried Googling around but still couldn't find anything.

Read more
Dracolyte's picture

Views, Blocks, and Performance

Hi. I'm trying to understand a fairly fundamental Drupal architecture aspect. The oversimplified question is: When does a views query run? But the real scenario is this:

  1. I create a view with a block display type -- doesn't matter what it is.
  2. In Admin/Blocks, I enable that view to appear in my left sidebar.

So now the view will be active in some way for any node on my site, as long as that node can display a left sidebar.

3.. In Admin/Blocks, I configure that view to only appear on pages entitled 'whatever'

Read more
Subscribe with RSS Syndicate content