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.
I developed a website on a server and I wanted to export it to my MacBook
I followed all the tips:
1 installed MAMP correctly (i tried to build up in it a new installation of drupal just to try and then i removed it)
2 exported the site's database to my local machine and imported it in MAMP phpmyadmin
3 copied and pasted my drupal site folder into htdocs and changed the file settings.php putting the fields of the just imported database
4 ok it works.... but I just display the HOME PAGE!! how is that possible?
When google search, we have headline link like this.
Drupal - Open Source CMS | drupal.org
Download & Extend Sites Made with Drupal
Modules Getting Started with Drupal
Themes Drupal 7
Documentation Installation Guide
My question is
how to get this organized result with sub links?
I am adding another function to #submit, but I am unsure on how to pull the current user from it. I've tried using user_load, but I am unsure on how to put it into the code.
Sample code:
function module_form_signup_form_alter(&$form) {
$form['#submit'][] = 'module_signup_submit';
}
function module_signup_submit($form, &$form_state) {
$current_count = achievements_storage_get('signup-count', $user->uid) + 1;
I've just downloaded Drupal 7.7 as we thought it was time to start moving onto that. Two hours later and we're no further.
We have a dev server which runs OSX Server (leopard) which we've used for about 2 years with Drupal 6 with no problems.
When trying to install Drupal 7 it always fails to find MySQL and insists that we only have SQL Light available. We've trying various settings in the settings.php file but the install.php seems to ingore them.
We did manage to install a version of 7 a couple of months ago so have no idea why now it's not working.
I'm trying to create tooltips for a Drupal form that was built with the Form API. I'm able to show and hide all of the description fields on the form using the following method