Drupal 7 - CTools Plugins without Panels, step by step

CTools plugins and Panels are great and play together very well. It's almost as if they were made for each other--weren't they? However, I recently worked on a project where CTools plugins were an excellent solution for some of our needs, but Panels were verboten. I didn't find much documentation on that, so this page provides a detailed how-to for incorporating a CTools plugin in a regular Drupal block. It also shows how to pass arguments to a plugin render callback.

Individual Sidebar Content on each page

Hi Community,
I'm despairing with a drupal problem. I've got a client who was Typo3-user before and already hat experiences with that system. He wants to add different and individual sidebar content from page to page like he did in Typo3.
I don't have an idea how to realise that. Does anyone have an idea?


Taxonomy upgrade extras: 

Guidance on Block

So I have used blocks in the past for basic functionality but I am trying to make so that if a block is apply to a sidebar the main content allows for it to float right. I am using Bootstrap framework layout. So what I am really looking for, I believe, is a conditional statement saying "if the sidebar block is not null then change the content layout to 'div class="col-md-8" ' and display the sidebar as "div class="col-md-3" " and if null leave content div as col-md-12.

Taxonomy upgrade extras: 

Managing custom blocks

The Custom Block module allows you to create blocks of content, which can be placed in regions throughout the website. Custom blocks can have fields. Once created, custom blocks can be placed like blocks provided by other modules

Creating and managing custom block types

Users with the Administer blocks permission can create different custom block types, each with different fields and display settings, from the Custom block types page. The Custom block types page lists all of your created custom block types, and allows you to edit and manage them.

Create a simple block view

Views allows you to create listings of data on your site as blocks which can be placed in regions on your site.


  1. Navigate to admin/structure/views.
  2. Click Add New View. This brings you to a Views creation wizard to ensure you have the correct basic settings for your view.
  3. In the View Name field enter a name for the view.
  4. Click Description and enter a description.
  5. Under View settings > Show, select one of the following options:
    • Comments Sort options can be specified.
    • Log entries Sort options can be specified.
    • Files Sort options can be specified.
    • Content Content type, tags and sorting options can be specified.
    • Content Revisions Sort options can be specified.
    • Taxonomy Terms Tag type and sorting options can be specified.
    • Users Sort options can be specified.

Link block titles

How to use Block Title Link:

  1. Install the Block Title Link module the usual way at admin/build/modules.
  2. Navigate to the block configuration page of the block requiring a link in the title.
  3. Within the block title link settings fieldset enter at least the 'Title Path' for a link to be created. Ensure the 'Display Link' checkbox is checked to render the link.

How to alter panel block titles:

Place the following in your template.php


Subscribe with RSS Subscribe to RSS - blocks