Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've got a .install file where I describe my database table schema. The table in question has a dozen or so pre-defined records in it that track key values, etc. I'd like to be able to insert those records in the .install file rather than check whether to insert or update the record in the module that uses them. Is there a method that would allow me to do that? I attempted to describe a function in the .install file that does all of the inserts. But I got error messages that the database table didn't exist.
im currently working on a site on a 1and1 server. when activating location module, it said "out of memory" ... i changed the settings.php (memory limit to 512) and it works. then i wanted to activate gmap module and again: out of memory!
phpinfo says i have 80M, drupal status says 512M like i told in the settings.php
so i would like to change the server and my question is:
how much memory do i need for a complex site?
how much is enough to install all available modules? :)
I used the example for drupal 7.x form API and having some issues.
I am not finding a way to modify the tab labels like you see on this page which is a working version of the installed examples.. http://d7.drupalexamples.info/examples/form_example/tutorial
I tried changing any of the labels and not having any luck.
Ideally I would like to be able to change the tab names to read something like
/ basic info / medical history/ opportunity information /
As I try and wrap my head around views, I'm hoping someone can steer me toward what I'm missing when I try to set up the following scenario.
I'm trying to build functionality similar to what one would see on IMDB.
I have a node content type for films, and a node content type for talent. Talent could be writers, actors, producers, etc.
I've added a field on the films content type where you can add talent, pulled by node reference from the talent content type. Obviously everything works fine when viewing a movie.