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.
There has been much discussion regarding the system resources consumption by drupal with a
combination of various modules which affects the *shared hosting customers*
in various ways so that they either shift back to static site or face intermittent closure of
Hey everyone, one of my Drupal 4.7 sites has now been running for a couple of years and the database is getting rather large. I'm just wondering what methods I can use to keep it as small as possible, without restricting user activity of course. There are a few thousand user accounts, but less than a hundred active users.
I'm guessing things like some log settings could be changed or switched off to limit database bloat?
Any ideas (or common knowledge) on how to keep Drupal mysql database size under control?
Hi. Is there a way to make a variable/value available to the template from inside a module?
I know you can create variable with _phptemplate_variables() like in this article: http://drupal.org/node/16383
I did search Drupal web site for this, but after a hour, unable to sort this out.
Given a Drupal path (or alias, but I can use drupal_lookup_path() to go between them), how can I get the title of that path?
For example, given node/99 or forum/47, is there a way to get the title?
Probably menu_get_item()?
menu_get_item(NULL, 'node/99') returned empty array, so not sure if there is some other issue in the way I am calling it, or if this is not the way to do it.
Any pointers appreciated.
I am new to Drupal and recently installed the program in a test environment. I am using Version: 4.7.0 and you can see it here http://dev1.daywalkerweb.com. The problem i am having is that when i add new content and go to the "add attachment" section, it browses my local computer, finds the file, i hit submit...but it doesn't work. I am specifically trying to upload a .pdf and .xls file.
This maybe difficut to explain. Whenever users/visitors attempt to read content (read more) website time out. Is this a database issue. Hopefully I explain this correctly