Drupal is up and running but how do I ...?

Making styled boxes around user comments.

I'm interested in making some styled boxes about comment just like the Drupal.org theme does. I've got the correct CSS, but can't find where to insert the

Does anyone know where, or have another suggestion how to style comments? (You'll see the style around your comment, not this initial post)

How do I define a type of content that is displayed 'raw'?

How do I define a type of content that is displayed 'raw'?

Basically I have several logical 'areas' in the site where I want to display content as 'raw' html, without the right-hand sidebar.
Do I need to create a new module to handle this?
It seems like I can in theory hack the page.tpl.php file but I don't know how I would recognize the type of content to 'switch' on. How can I tell in the page.tpl.php context whether the content type being displayed is of the 'raw' 'type'?

I'm having some difficulty wrapping my head around templates, modules and content.

Survey totals for users - Need code help

I'm wanting to allow users see the results of their input on a survey. I'm having them insert volunteer hours and am getting complaints that they are unable to keep track of the hours.

I need help modifying what I think is the code that would allow users to be able to do this. The code is as follows:

function survey_responses() {
  // I cut out a bunch of code here
  $header = array(t('Submitted by'), t('Date'), '');
    $res = pager_query("SELECT u.uid, u.name, r.created, r.rid FROM {users} u INNER JOIN {survey_responses} r ON r.uid=u.uid WHERE r.nid=%d ORDER BY created DESC", 50, NULL, NULL, $survey->nid);
    while ($response = db_fetch_object($res)) {
      $rows[] = array(format_name($response), format_date($response->created),
                      l(t('view'), 'node/'.$survey->nid.'/responses/'.$response->rid));
    }
    if ($pager = theme('pager', NULL, 50, 0, tablesort_pager())) {
      $rows[] = array(array('data' => $pager, 'colspan' => 3));
    }
    $content = theme('table', $header, $rows);
  }
  print theme('page', $content);
}

So, basically, I want to hack this code and put it in the user profile page so it shows the total number of volunteer hours when a user views their profile. Or even better, could I use this to create a block or add it to the navigation block so it shows next to or under their user name.

Unfortunately I am more of a dreamer than a coder. Someone please help if you can.

is there a snip code for dislaying a single node with teaser?

HI,
I was wondering if is there a snip. code that display a specific node with teaser(specific # of words) and thumb. image?
can someone show me how?

something like u see on cnn.com a image with teaser.

i would like to impliment it into my dashboard. :)

thanks

How do I subscribe to all comments?

Hello,

I maintain a network of Drupal based sites and I'd like to get an email notification when a comment is left. I have the subscription module installed.

This would be for comments left on nodes that I didn't create. Is there a way to do this?

Thanks.

how do i make this automated?

I'm having trouble with URL aliases
I noticed my blog aliases didn't done correctly.

instead adding this: blog/user1
it did this: personal_blog1, personal_blog2

which is very hard to track who is the author of these blogs..

did anyone experienced the same thing? thanks

Pages

Subscribe with RSS Subscribe to RSS - Post installation