Edgeio module idea

I'm sure that this will get someone thinking.

In Edgeio and the "Write Once, Publish Everywhere" Web, Bill Burnham writes:

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

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?

Generating page (e.g. phone book) from user profile custom fields

Hi,

I need to generate list (like internal phone book) from custom fields defined for in user profile. Ideal output should look like table:

Name----------- Phone------------Mob Phone
Jan Smith +371-1111111 +371-2222222
......

I wonder weather there is some ready made module for this, or some code samples, how to do this.

Thanks in advance.
Maris
P.S. Drupal 4.7 Beta4

monitor additions to list of modules?

Is there any way to monitor additions to http://drupal.org/project/Modules/4.7 (the list of modules for 4.7)?

template.php problem with php5

I've just upgraded from php4.3 to php5.1.2 on my computer with apache2.047. The template.php file in my theme directory is now not being read correctly, and is causing garbage at the top of the page, before the page is displayed (its functions are not working). If I remove functions from the template.php, everything is fine.

The weird thing is, when I run the site on a webserver with php5, it seems to work fine. What could be wrong with my local install of php5? Everything seems to work fine locally if my template.php file is empty!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x