Displaying Comments in a different region

So I'm working with a interesting design which separates the comments in a separate region that the main content area that houses the article. I created a custom page.tpl file for the content type, and tried dropping

print render($content['comments']);

However, it didnt work. Any suggestions as to what I can do?

Edit: So just to be clear, I would require the comments to be available on a page level, but still stay related to the specific node being displayed on that page.

HELP! #2 - Creating multiple User registration - How To

Hi,
3 weeks on, I'm still running round in circles, pulling my hear out trying to get the process working to enable numerous registration types working, D7 is not having any of it and I'm begging for some help now.
Further to my previous post, [http://drupal.org/node/1150210].
I would be extremely grateful if anyone could tell me how the hell I get AutoAssignRole and Profile2 to function to enable say "Student" (Free) "Teacher" (paid via UC Subscriptions) with Roles to work.

comments count - as a link to article

Hi. I added new view (block) with FIELDS type. I added Content: Comment count to see the comments number and in Rewrite results I have click to Output this field as a link and I add token: [comment_count] == Content: Comment count as a link.

But this link dosen't work...

When i add different token - links still sont work (like - [body] == Content: Body or [title] == Content: Title).

Am I doing something wrong ?

Good iPhone etc Mobile Theme for Drupal 7?

Does anyone know of a good -- actually just of *any* -- mobile theme for Drupal 7?

I've looked all over and found a few, but they ALL stop at Drupal 6. We'd really like to make our site look good on the iPhone, but we were not planning to do custom theme development to do so. Anything mobile screen compatible, but optimized to look right on the iPhone and/or iPad would be great.

Rules module and node expire

Hi!

I would like to expire specified node types after 1 month (delete them permanently). I know there were some modules to do this (Node Expire) but there's nothing available for Drupal 7. I've heard that this is possible with Rules module but how? Could someone describe me what to do and how. Is there some tutorial for this (nothing in the rules docs and handbook) ?

Thanks for any help

MU instalation - sharing tables

Hi. I would like to know if my tables (variables) will be upgraded 2x when Im gona upgrade drupal and my sites.

I have 1 codebase - 1 drupal installation and few sites in drupal/sites/ directory. All sites has it's own subdomains and domains and all have their own databases. But I have some tables i share: USERS, ROLE, AUTHMAP, SESSIONS.

So when I upgrade drupal it will upgrade one database, ok. Now i run update.php on second site when i share some tables in databse - the question is, will USERS, ROLE, AUTHMAP, SESSIONS be upgraded again ?

EXAMPLE:

1 base (drupal.sql)

$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'drupal',
'username' => 'root',
'password' => 'pass',
'host' => '127.0.0.1',
'port' => '',
'driver' => 'mysql',
'db_prefix' => '',
),
),
);

2 baza (drupal2.sql)

$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'drupal2',
'username' => 'root',
'password' => 'pass',
'host' => '127.0.0.1',
'port' => '',
'driver' => 'mysql',
'db_prefix' => array(
'default' => '',
'users' => 'drupal.',
'sessions' => 'drupal.',
'role' => 'drupal.',
'authmap' => 'drupal.',
),
),
),
);

3 base (drupal3.sql)

$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'drupal3',

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x