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'm trying to get a list of all available values in a field created via the Field API. Well, actually I'm trying to fetch a subset of the values - WHERE values LIKE '%X%' - but fetching all the values would be a start.
My initial attempt is to use a EntityFieldQuery object to search field values:
I am currently developing a drupal site and have an issue with one of the blocks. I am using the Marinelli theme and the user login box is aesthetically disparaging to me eyes!!! Were the input boxes are, they appear to be too big for the block and are going out side the block. I realise this is probably quite a simple issue but I do not know how to sort it!!
So I'm OK with site development, and now I'm trying to learn theming.
I created a Zen sub-theme. I have done nothing to it other than the simple basic steps to create a sub-theme, as described on the Zen theme site. I have repeated the sub-theme creation process several times, and even downloaded the Zen theme a second time.
I thought it might be helpful to post this as I spent a few hours trying to get this to work before I figured it out and I didn't see any similar posts. Hopefully I can save someone some time and a headache. If you want to import your site from a hosting server to your local machine to save some developement time here are the steps that worked for me. I use GoDaddy hosting and Acquia developement desktop:
1. Download drupal folder and export database from hosting server.
2. Comment out "CREATE DATABASE" and "USE" lines from the database file that you exported (if they exist).
3. Perform the import using the Acquia control panel (not going to go into how to do that here).
4. Replace .htaccess file in Drupal root folder with a generic one (you can get a generic one from the Drupal Core archive).
5. Delete settings.php file from "sites\default" folder.
6. Modify settings.php file in the folder where your site is located (sites\[your_site_name]) as follows:
A. Remove everything between the () under $databases = array (); in line 180 so that the line reads only $databases = array ();
B. Remove everything between the two hyphens ' under $drupal_hash_salt = ''; in line 212 so that the line reads only $drupal_hash_salt = '';
when I give permission to user roles to edit and delete terms, he will have access dined page until I give him the administer voc and terms permission.
The idea is simple I want the user to edit delete add terms but without permission to edit my vocabulary.
Any idea?
Hi,
I'm a rookie drupal explorer and trying to get a hang of it by video tutorials. Everything works fine untill i want to install/upload a them or module.
I guess this question has been asked before but i couldn't find the answer to my problem.
Here is the complete Message:
Failed to connect to the server. The server reports the following message:
Cannot connect to FTP Server, check settings