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

How do I create content for the news aggregator?

If I click on news feeds, I get the news aggregator, but how do I fill it up? how do I create content for it?

How do I change the home page?

ok, maybe a stupid question, but how do I change the content of the home page?

Navigation module -- how to expand parent term?

When using the Navigation module (the third-party one, not the default nav in Drupal) in a regular block context, how do you make a parent term expand to show the children terms? Although I've assigned parent/child term relationships like in the taxonomy module, the parent term doesn't display the children terms when clicked on. Am I missing something? Thanks!

Not Logging out, security problem

I've been running a Drupal site first on 4.2, then after upgrading to 4.4 I noticed this problem: When I go to the URL, sometimes (not every time, I'd say it happens rarely, but happens) I arrive at the front page and am signed in as one of the users...not me...as in no, it's not because I did not log out...I'm actually logged in as someone else who holds an account on the site. This has happened to a few people, and in every case, the people were logged in automatically to the same person's user account. Any ideas what might be the problem?

Making a custom php page to display stories

I have been looking into customizing the way the front page of my site looks. I have played with the summary.module and it seems close to what I want to do, but I'd like a simpler version of it. I am looking for some coding examples of how to use the custom php page. So far I found this working code to display stories in a custom block:

global $user;



if (user_access("access content")) {

  $stories = "";



  $queryResult = db_query_range("SELECT n.uid, u.name, max(n.nid) FROM {node} n INNER JOIN {users} u ON u.uid = n.uid WHERE n.type = 'story' AND n.status = 1 GROUP BY n.uid, u.name ORDER BY 3 DESC", 0, 3);



  while ($node = db_fetch_object($queryResult)) {

    $stories .= l(t("%username", array("%username" => $node->name)), "story/$node->uid", array("title" => t("Read %username's latest story entries.", array("%username" => $node->name))))

      . node_title_list(db_query_range("SELECT n.title, n.nid FROM {node} n WHERE n.type = 'story' AND n.status = 1 AND n.uid = " . $node->uid . " ORDER BY n.nid DESC", 0, 3));

    }



  return $stories

      . "

". l(t("more"), "story", array("title" => t("Read the latest story entries."))) ."

";

}

But if I try and make this as a custom php page it does not work. How could I get this code to work on a custom page that I could use to show the last 10 stories (without the first 200 charaters, just title and submitted by only) on the main page?
I would love to be able to do this in a custom php page without having to use summary.module
Thanks.

Image upload works but gp2 does not produce thumbnail...why?

Image upload works but GD2 does not produce thumbnail...why? I take it that the thumbnail is supposed to be created after the image is uploaded.

I have used GD2 on this server with other Cms and Drupal sees it OK in the image settings dialog. I am using Apache2.

Thanks

Chris

Pages

Subscribe with RSS Subscribe to RSS - Post installation