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

Is it possible to Change the distance between the Top Links, and where the page begins?

Hello everyone, I hope this is an easy question, is it possible to change the distance between where the Top Links are and where the page begins? Currently its like half and inch from the Top Links, and where the page begins, and I would like it to be around 1/4 or 1/8 of an inch. If its possible can someone please point me in the right direction. Thanks for the help

Example

Top Links
|
| ( I would like to decrease this distance if possible)
|
Page begins

how to best change node type

I've some book nodes that would prefer to convertet to ordinary story nodes. It's important that the nid does not change so I cannot just create a new node with the same content.

I found this by searching the forums:

http://drupal.org/node/58744

http://drupal.org/node/61083

http://drupal.org/node/48830

Customised news layout

I have installed Drupal 4.7, and I want to turn my site into an online news paper. I was not very impressed with Drupal default layout, which list all stories from different taxonomy's terms in front page. What I want is to group stories by taxonomy's terms, and display teaser only for the newest story, while the others are displayed as title. For example:

Taxonomy term 1:

Newest story with teaser [read more]

+ Story 1
+ Story 2

Taxonomy term 2:

Newest story with teaser [read more]

+ Story 3
+ Story 4

3 to 5 second page loads on zero-traffic server

I am running Drupal 4.7 (though I had the same problem with 4.6) on a dedicated server (at pair.com). Athlon 2100+ CPU, 256MB of RAM, Apahce 1.3.29, PHP 4.3.10, MySQL 4.1.18. The database and web server are the same host. The site has almost zero traffic. My database is extremely small (mysqldump output is 391KB). The CPU is >99% idle. Under these conditions, page loads almost always take 3-5 seconds. I need a 10x improvement.

I installed the devel module and it shows that database queries are general taking <1ms to a few ms, with a couple sometimes taking up to 20ms. Certainly, they do not add up to anywhere near 3-5 seconds. For example: "Executed 119 queries in 81.88 milliseconds. ... Page execution time was 3057.02 ms."

What is going on?

Obviously 256MB of RAM is pretty small and I can increase it to 1GB or more if that is the problem. But if the database was swapping, wouldn't at least some of the queries being taking a substantially larger portion of the execution time?

If I am CPU bound, wouldn't I see an httpd process pegging the CPU while the page was processing? Running top with 1 second refresh, I never see httpd (or mysqld) get above 1-2% of CPU.

One potentially odd thing I noticed: my httpds are niced to -10 but mysqld is niced to +10. pair.com set this up, though they'd probably change it if I asked.

Where should I look?

Thanks,

file uploads but cant be accessed

hi

i have setup drupal 4.7 for my company's website with firefox as browser. I enabled the upload module and as per the post by budda
at http://drupal.org/node/61841 I followed the method of not using the attach button at all and that seemed to upload the attachment. But when I hover over the link of the attached file when I submit it the path shown is relative to the root of the site

for eg.

Fleximax and Drupal 4.7

Did anybody get Fleximax to work with Drupal 4.7 - I get either Flexinod to work or Fleximax but if Felximax works adding fields with flexinode is no working...

Thanks
mediaman

Pages

Subscribe with RSS Subscribe to RSS - Post installation