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

Recent (stuff) Blocks display with bullets in phpTemplates?

I switched over to a phpTemplate so I can better modify it. The problem is, I'm using the built in most display blocks: Recent Blogs Entries, New Forum Topics, Recent Comments, My Buddies Topics (not built in), Who's Online, Who's New, etc. They all have the same problem, they don't display with a bulleted list. Looking at the code from Blog.module
Under function blog_block, the relevant code appears to be node_title_list(...):

    if (user_access('access content')) {
      $block['content'] = node_title_list(db_query_range(db_rewrite_sql("SELECT n.nid, n.title, n.created FROM {node} n WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.created DESC"), 0, 10));
      $block['content'] .= '<div class="more-link">'. l(t('more'), 'blog', array('title' => t('Read the latest blog entries.'))) .'</div>';
      $block['subject'] = t('Recent blog posts');
    }
    return $block;

Taking a look at the node_title_list code in the node.module

function node_title_list($result, $title = NULL) {
  while ($node = db_fetch_object($result)) {
    $items[] = l($node->title, 'node/'. $node->nid, $node->comment_count ? array('title' => format_plural($node->comment_count, '1 comment', '%count comments')) : '');
  }

I can't figure out how to get those blocks to display properly. I tried adding -ul- code to the function blog_block, and (together & separetly) using -li- in the node_title_list funciton, but none of that worked.

Event, RSVP and contact management

The event and RSVP modules are lacking, judging from first impressions after install and several posts in the forum.

Apparently a full fledged alternative for event, RSVP and contact management is CiviCRM:

http://downloads.openngo.org/civicrm/

I'd like to install it, but it's unclear which files I need to upload to Drupal module folder and which ones are just developers grocery lists.

Front_Page Question...plz help!

K, I am on the point of releasing my front_page module for my website, so that guests go directly on the front_page instead of going in the default node stuff. But One thing I was wondering, is, how do you make it so that nodes promoted to the front page appear on my front_page, lets say on the bottom, maybe like 2, so that their is always 2 or 3 newly updated nodes, something like newly added images.

Image Assist - TinyMCE default image size is 1 x 1

I expected it to be the size of the thumbnail or picture.

Here is the code it generates and inserts:

<div class="image"><a href="/node/4"><img height="1" alt="test" src="/files/images/rugbytee.thumbnail.jpg" width="1" border="0" /></a> <div class="caption">test</div></div>

I'm new to Drupal, but is this the expected behavior?

Any information appreciated.

running drupal from a local machine w/ no doman (base_url)

Hello everyone,

I'm just getting into drupal, and I was wondering if you guys could help me with a problem I'm having:

I've installed everything on my OS X 10.4 and drupal runs perfectly on my own machine using "localhost/drupal" as specified in the instructions. Now, I want to serve the site off of my own computer using apache, for the purpose of having a few different people login remotely and add content before we take the page live.

Getting my javascript menu to stay put!

Hello again,

Alright. I've figured out how to get my javascript menu on my site by adding it to page.tpl.php. And now I don't know how to make it stay put. I want it on the left hand side at the top before the blocks start. Any suggestions? Here's the site: www.flowerweb.ca/drupal

Pages

Subscribe with RSS Subscribe to RSS - Post installation