Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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:
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.
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;
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?
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?