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

Help I bust my SQL!

OK I was trying to get my video module running and I mistakenly added an xhtml file instead of the video.mysql in MySQL! Now the thing is stuck at the top of my pages! The real site is down at the bottom. Check it out:

http://www.demolitiondave.com/drupal/

I really have no idea what to do now. I didn't notice an undo button in MySQL hahaha.

Help!!!

Make primary pages like The Onion

I'm confused about how to make primary pages like the Onion has for each of its sections.

When I try to do it, I get tabs for view, edit, track. I get submitted by. I get a lot of things I don't want for my primary sections. The answer is probably an easy solution based on something I don't understand about drupal, yet.

Thanks!

the messages are not getting cleared

I ran into a strange problem: When I do some actions (eg, saving settings) the status message lines get appended. That is, if I save settings twice - I get two lines of "Your settings were saved successfully"). I looked through the code a little, and I see that drupal_set_message appends the new message to the array of existing messages:
$_SESSION['messages'][$type][] = $message;

Bring in the numbers...total posts, total blog entries etc...

I'd like to display some information within the top (very top) region of my website...I basically want to spit out the total number of blog entries within the last week (or day) and the total number of new comments in the last week (or day).

Anyone know how this can be accomplished? Does drupal keep count somewhere?

Thanks,
-=Vince

Modifying Date display within $submitted...

I'd like to trim down my teaser date format a little bit shorter than the choices available within Settings>Date & Time options.

Where would I be able to adjust this?

Thanks,
-=Vince

Print today's date on my language

I'm trying to print today's date at a block on one of my sites. I added the following:

<div align="center"><?php
$charset = "iso-8859-1";
setlocale(LC_TIME,"es_ES");
echo strftime("%A, %e de %B de %Y." ,time()); 
?></div>

But when accents come into place, they look weird. I tried changing charset from utf8 to iso-8859-1 and they look ok, but then every other accent on my site looks weird. Does anyone know a clean solution to this? Am I doing something wrong?

Pages

Subscribe with RSS Subscribe to RSS - Post installation