This is a special tag that is designed to be used only by the system for questions that have had all of their other tags removed. Do not add this tag to existing questions, it is reserved for use by the system to identify posts with no valid tags.

learn more… | top users | synonyms

0
votes
1answer
158 views

MegaDrupal MD.Foto: Module dependency displaying incompatibility status

I've downloaded the MegaDrupal MD.Foto theme. The feature module for MD.Foto has a few dependencies. One of the dependancies is on Chaos Tools, which I loaded. After doing so, I noticed that the ...
0
votes
1answer
13 views

Do I need to place the contributed modules inside “sites/all/modules” folder for drupal version upgradation from 6 to 7?

In drupal 6, I have placed my contributed modules inside root modules/ folder (not in sites/all/modules). I need to upgrade my website's drupal version from 6 to 7. Do I need to place the contributed ...
0
votes
1answer
92 views

Drupal7! Create new type element to form API?

Drupal form API (https://api.drupal.org/api/drupal/developer!topics!forms_api_reference.html/7) provide some built in type of element to build a form. But i want to create other type such as: ...
0
votes
1answer
155 views

How to get body value (drupal 7)

I would access to the description of node in body value, so i try this : // ---------------------------- // Acesseur de la descrition d'un noeud // --------------------------- function ...
2
votes
2answers
95 views

Create link libraries

Is there a way around to build link library repository on a drupal site, so that there can be one place to edit the links and changes will reflect in the instances used else where(like body field of a ...
0
votes
2answers
88 views

Save Node Title By database query

I am trying to update a node title by database query as $num_updated = db_update('node') // Table name no longer needs {} ->fields(array( 'title' => "custom_title", 'status' => ...
0
votes
1answer
328 views

Trying to install Drupal modules and themes: keep getting error “does not contain any .info.yml files.”

I am new to Drupal. I am running Drupal 8. I have tried to install three different themes and modules, and keep getting the error: "does not contain any .info.yml files" -- including with the Beale ...
1
vote
0answers
47 views

FBOAuth Module Drupal 7 to 6 Convertion

I've been trying out this codes from this blog, and tried a couple of snippets and my trials on the codes but have no luck at the moment. This blog has ...
1
vote
1answer
936 views

SuHosin configuration for Drupal 7

My web hosting provider decided to use the suhosin php extension to protect my websites. For some Drupal 7 sites, I am now getting tons of errors and can't login: Warning: ini_set() has been ...
0
votes
1answer
59 views

I am learning drupal7 and want to know the way to learn modules [closed]

I am learning drupal7. I have read the docs about modules. but still want to know the correct way to learn modules eg. how to use it, how to install extended modules etc.
1
vote
1answer
168 views

How to use the Drupal flashcard module?

I am not very familiar with Drupal modules. I am using Drupal 7, and installed the flashcard module. I enabled it, the flashcard-cycle module, and the libraries module; I also added the jquery ...
4
votes
3answers
804 views

Is Drupal following W3C standards?

I tested two of my sites in w3c validator. One site passed the test and other site gave me lot of error. Site2 was having the following doctype -//W3C//DTD HTML+RDFa 1.1//EN instead of HTML5. But ...
1
vote
0answers
54 views

Why is there not a Drupal Version of Drupal Answers (stackexchange) [duplicate]

Why has not someone create a site like this in Drupal CMS?
2
votes
1answer
764 views

Where can I find my front page in a localhost?

I just installed Drupal 7.2 on my localhost using xampp, made some pages, and installed a theme, I'm also modifying the CSS of the theme to my own convenience. My front page has (at the end of the ...
0
votes
3answers
2k views

“syntax error, unexpected end of file” Upon enabling modules

I'm getting a syntax error when enabling modules. This is happening intermittently and it isn't specific to any module in particular, which is making it impossible for me to track down. Here is the ...
0
votes
2answers
1k views

DRUPAL_ROOT undefined on module installation

I am tring to install the live_agent module. When I go to enable the module, I get the following errors: Notice: Use of undefined constant DRUPAL_ROOT - assumed 'DRUPAL_ROOT' in ...
0
votes
3answers
274 views

Custom module not being recognised

I am trying to create a simple module by following the instructions in http://websmiths.co/blog/very-introduction-drupals-hookformalter. I've created the following two files along with the content in ...
1
vote
2answers
773 views

enabling “entity translation” disables term translation in Drupal (name and description)

i want to translate taxonomy terms and their description text. When i enable the module "entity-translation" and check "Taxnomie-terms" in admin/config/regional/entity_translation, the terms and ...
0
votes
1answer
117 views

how to call function by reference

i want to call uc_stock module by reference in my custom module. Actually i want to add and delete stocks. I have done this first using node_presave and it works successfully, here is the code: ...
-3
votes
1answer
86 views

Custom Module Variables How To [closed]

I am creating a custom module and I want to use a couple variables as counters, here is an example: $variable1 = 0; $variable2 = 0; function1(){ $variable1++; } function2(){ ...
2
votes
1answer
91 views

Undefined offset: 1 in gcm_action_send_message()

I am using Google Cloud Messaging for one of my projects. I think I have configured everything correctly. I am getting the following error when I tried to send some message. Notice: Undefined ...
0
votes
3answers
148 views

How should a custom module install a reference data dictionary?

I'm about to write a custom module dealing with chemical hazards symbols. It's basically a 300-item dictionary of simple objects: a symbol, its description (around 100 chars) and in some cases a ...
0
votes
0answers
89 views

Module is deactivating itself

For some reason, when testing my module (displays a form), the module seems to "disable" itself. I reload the page, and the block isn't displayed anymore. If I go in the "Module" menu, my module is ...
1
vote
2answers
842 views

Alternate solution for Etherpad

I am using Etherpad collaborative tool, and I have installed the Etherpad Lite module. To install Etherpad, we have to use it using node.js, and run a shell script. I am using the shared hosting plan ...
0
votes
1answer
701 views

Fatal error: Call to undefined function lock_initialize()

I am getting this error on a Drupal 7 site on Ubuntu 12.10. I downgraded PHP from 5.4 to 5.3, but am still getting it. Does anyone recognize this error? Fatal error: Call to undefined function ...
0
votes
1answer
1k views

getting the profile2 user fields

i am writing a simple multistep form using ctools on drupal 7. Everything seems to work but i have a one last problem before i finish the task. How can i access the custom user fields (or fieldset i ...
0
votes
2answers
42 views

php syntax unexpected T_BOOLEAN_OR [closed]

I need help with php code that is not working - most likely due to wrong syntax. <?php global $user; if (user_access('access administration pages')){ return FALSE; } else { return TRUE; } ?> ...
3
votes
2answers
236 views

Can custom module function names contain characters between 7F and FF?

PHP defines valid function names as [a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*. I have already been bitten by Drupal name conflicts when using hook_form_alter clashing with my module name when it ...
-3
votes
1answer
530 views

File upload broken on node form [closed]

I have the same problem described in I get image field upload errors with a custom node_add() form. How do I add these lines to the menu item array? 'file path' => drupal_get_path('module', ...
2
votes
1answer
675 views

drupal_attributes() must be an array, string given, /drupal-7.15/includes/theme.inc on line 2070 [closed]

Hi I am new to Drupal and working my way through the book Drupal 7 Module Development The book has the following code function first_block_view($block_name = '') { if ($block_name == ...
0
votes
1answer
51 views

Can PHP pages be ported into Drupal “easily”?

If I have a php page, just a regular webpage that php retrieves database information from, dumps it out in tables, css, divs, all that. Is it extremely difficult to port to Drupal? I ask because if ...
1
vote
3answers
90 views

How can I quickly and surely tell if a site is a Drupal site or not?

For example, I put in the URL address bar somebodys-site.com/user or somebodys-site.com/user/password. If the site is an ordinal Drupal site it normally has the login page and password recovery page ...
1
vote
1answer
152 views

How to test a sandbox module

I found a sandbox module I want to test. How should I go about implementing it on my site?
-1
votes
2answers
564 views

Block Module jQuery Slider for Homepage

I have a simple jquery slider for the homepage of a website, which works in my static HTML/CSS layouts. I want to incorporate this front-end mark-up into a block module that will allow an admin to ...
1
vote
2answers
73 views

Update Drupal Module Code

I am updating code for an installed module. For example, I commented out a few lines of PHP in the php file (modulename.module). But, my updates are not being reflected. I have tried clearing the ...
0
votes
1answer
46 views

Drupal6 reference URL date in views filter?

I apologize if this is already explained somewhere, I haven't found it. I have a view in drupal6 based on the date browser example. I want to show all items having a date greater or equal than the ...
0
votes
1answer
1k views

Call to undefined function user_access

I have installed Drupal 6.26 using git. When I am trying to open http://myhost.com/user/1 I get the following error: [Tue Jul 31 11:48:01 2012] [error] [client 111.222.333.444] PHP Fatal error: ...
0
votes
1answer
361 views

“Undefined index: preview_image_style” [closed]

I have this error message, which I know is related to the multiupload_filefield_widget module. If I disable this module the message disappear. I found this issue which mention this message but ...
0
votes
2answers
529 views

Steps to Create a copy of a Drupal 7 website using cpanel?

I want to create an exact copy of an existing drupal 7 website in a subdomain. What steps should I take to do this using just cpanel?
0
votes
1answer
46 views

Insert into List(Text) Field

I have a Drupal content type that includes Zip Codes (Postal Codes). An unlimited number of Zip Codes is allowed, and the Zip Codes are defined in the "Allowed Values List" in the field definition. ...
0
votes
2answers
275 views

store an associative array in a file

I am coding a module for drupal. In that I have a large associative array which has key as 'string' and values as 'floats' . eg. $array = array('hello' => 122.23, 'name' => 334.3 ....) I was ...
2
votes
1answer
78 views

Explanation of libraries for Apache Solr

I'm trying to understand some basics about Apache Solr server, and particularly how its entities and libraries are organized. I've tried to read the documentation but it is hard to understand it ...
0
votes
1answer
63 views

Porting Dictionary from D6 to D7

I just jump't in to some Drupal developing and working on porting the module Dictionary from 6.x to 7.x So far things are going good, just need a lite helping hand if anyone doesn't mind. The API for ...
1
vote
3answers
243 views

How to delete a module from the Modules menu? [closed]

I have installed a few modules that I don't use at all. I can't find any option to uninstall them. How do I do it? Is there a separate module to do it?
1
vote
1answer
158 views

subnavigation doesn't show in drupal 7.14 (Bartik)

I would like to have a menu point in my main naavigation with sub menu points. I created a main point +Services with two points underneath it where I assigned the respective "Parent link". The ...
2
votes
1answer
181 views

How can we render graphviz diagrams in drupal pages?

I'd like to be able to allow users to insert Graphviz images in Drupal comments and Wiki pages. What's involved it doing this? The benefit is that users could enter something like the following ...
0
votes
0answers
174 views

Drupal 7 Admin page creation

I am new to drupal 7, and am trying to figure out how to create a custom Admin page. I want to provide some extra functionality to admins, and cannot figure out how to create a page that comes up with ...
3
votes
2answers
2k views

How to handle GET parameters in the proper Drupal way

I am working on a module that will handle the email subscription functions for our newsletters. Email newsletters are sent out to subscribers with a link on them for them to unsubscribe. This link is ...
1
vote
2answers
339 views

What is the best source for learning module programming? [closed]

I want to start learning module programming in Drupal but I have some questions. In your idea, is it better to start module programming with Drupal 6 or you suggest I start with Drupal 7? Are there ...
3
votes
0answers
438 views

Should I clear Boost caches during cron tasks, or when saving nodes? [closed]

edit I deactivated the boost module and the saving performance was 'boosted' I have a site powered by Drupal 6 and the Boost module. I'm using the triad CCK, Views and Panels as well. The ...