Questions tagged [drupal-5]

Drupal 5 is the Drupal version released on January 15, 2007. Drupal 5 is no longer officially supported. Consider asking Drupal questions on Drupal Answers: https://drupal.stackexchange.com.

Drupal 5 is the Drupal version released on January 15, 2007. Drupal 5 is no longer supported.

Related tags:

54 questions
1
vote
5 answers

$content variable in node.tpl.php (Drupal 5)

The print $content statement in node.tpl.php is causing my whole layout to break probably due to incorrect nesting of DIVs. I want to check and fix that but I can't figure out what/where is the source of the $content variable in node.tpl.php…
eozzy
  • 66,048
  • 104
  • 272
  • 428
1
vote
0 answers

In Drupal, inserting "files/" directory under "sites/default/" breaks the theme/css

I have a Drupal site that I upgraded from Drupal 5 to Drupal 6. The users' profile pictures no longer display because they were contained under sites/default/files, and there is now no "files" folder under sites/default. I wanted to make sure the…
James Dunn
  • 8,064
  • 13
  • 53
  • 87
1
vote
3 answers

Expand Drupal menu by default

For the menu system, is there a way to set one of the menu items to be expanded by default? I can't get my home menu item to be expanded on the homepage (at the least), and I'd like it to be expanded whenever one of the other ones isn't. I'm using…
Dan G
  • 1,090
  • 1
  • 11
  • 20
1
vote
1 answer

drush fails to clear cache: Fatal error: Call to undefined function lock_acquire()

I have installed Drush 5.6 on my ubuntu machine, and I am now working on a Drupal theme, so I need to clear the cache frequently, but I cannot seem to do it with drush... When I run the drush cc all inside my drupal site folder, I get the message…
Jason Blade
  • 373
  • 2
  • 4
  • 17
0
votes
1 answer

Can I use one single exposed filter to filter multiple block views on a different page?

I have four block views on a page (call it "info" page) that are filtered by proximity to give me four pieces of information relating to one particular filtered location. I would like to be able to create an intro page with an exposed proximity…
jdm843
0
votes
1 answer

Deleting a post in Drupal forum messes up the numbering

I am subscribed to a Drupal 5 site with the Advanced Forum module. When a user decides to delete her post, the post dissappears and the following posts are moved up. So if #2 is deleted the existing #3 will become #2 and so forth. The problem with…
marlar
  • 3,858
  • 6
  • 37
  • 60
0
votes
1 answer

Can I have a random block and a sorted page?

I keep running into the same problem, and I feel like I'm solving it the clunky way. Do you have a better solution? I have a site that with the content type "Staff Bios". I've created a view page that lists all the bios in alphabetical order. I…
Eileen
0
votes
1 answer

Show more nodes when administering content

In my Drupal 5 administrative interface, when I am administering content (Administer -> Content Management -> Content), I can only view 50 nodes per page. I have 350 PAGES of nodes which takes a long time to go through when I have to edit or delete…
Ruben
  • 8,956
  • 14
  • 63
  • 102
0
votes
2 answers

Can't create nodes after DB-Import (Duplicate Entries)

i exported a bunch of tables and prefixed them with "ch_" and imported them again. All using phpmyadmin. It all works fine… until I want to create something. It fails with this message: user warning: Duplicate entry '4-4' for key 'PRIMARY' query:…
nocksock
  • 5,369
  • 6
  • 38
  • 63
0
votes
1 answer

What happens if Drupal's user_save() fails?

I'm on Drupal 5.x and I'm trying to add new users to the site using a script that calls drupal_bootstrap(). After generating the username, email, password, and role array, I create the new user like so: $newuser = array( 'name' => $username, 'mail'…
Reynolds
  • 404
  • 2
  • 11
0
votes
1 answer

Drupal 5 and node?destination=node

I've had a drupal 5 site for over 2 years. For some reason my browser dropdown URL retains www.xxx.co.uk/node?destination=node for the site url. This has work until now - when I get The page isn't redirecting properly Firefox has detected that the…
0
votes
2 answers

Can you call one Drupal views template for multiple views?

I've used the Views Theming Wizard to output a template and it gave me the following chunk of code to go in template.php. I'd prefer to just maintain the one template, so all my functions will be calling the same one, and rather than writing…
Steve Perks
  • 5,490
  • 3
  • 28
  • 41
0
votes
1 answer

Have trouble creating an hello-world module in drupal 5

Here're the steps I did to create an mudule: create a directory groups under sites/all/modules in the above directory groups, create two files groups.module and groups.info The content of groups.info: ; $Id: groups.info,v 1.3 2006/11/21 20:55:36…
wamp
  • 5,789
  • 17
  • 52
  • 82
0
votes
1 answer

Drupal 5.x site shows > 550 MB memory consumption of every page. How to speed up Drupal 5.x site

I developed a site in Drupal 5.x and now its done and working fine, but its very slow. Working fast some time, but for imp modules it takes time. When I see the performance logs, its consuming my memory for 150 MB per page MINIMUM. This is the…
ganu
  • 41
  • 2
0
votes
1 answer

How do I deal with drupal hook_views_tables?

For the title field,I want to return node.title,but what I tried is not working: return array('og' => array('name' => 'og', 'join' => array('left' => array('table' => 'node', 'field' => 'nid' ), …
wamp
  • 5,789
  • 17
  • 52
  • 82