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
97 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
179 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
96 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' => ...
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
963 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 ...
2
votes
1answer
784 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
2k 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
291 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
796 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
120 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
87 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
94 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
154 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 ...
1
vote
2answers
862 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
723 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
1answer
539 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
681 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
votes
2answers
586 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
543 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
278 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
245 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
159 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
186 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
359 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
439 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 ...
1
vote
0answers
105 views

Drupal Data Module [closed]

I am currently using the Data module. Has anyone added a datetime data type to it? I am currently running MySQL and I would love for this datatype to be available in this module.
1
vote
0answers
678 views

A custom module is not showing up [closed]

I am trying to do a test custom module. I can see it in the module list and I can activate it. When I go to domain/helloworld I get a file not found. The ".htaccess" file is in place, and it looks ...
2
votes
2answers
120 views

Is drupal appropriate for this type of shopping experience?

I'm working with a non-profit animal rescue group who has no budget for software/development, and a hosting agreement that supports Drupal. I'm relatively new to drupal, having only worked on existing ...
2
votes
1answer
205 views

Any good books/tutorials on Drupal for an advanced PHP developer? [closed]

I am a PHP developer and I have quite lots of experience in working with OOP and MVC. I want a book, which would be dedicated to guys like me. What would you suggest? Thank you very much for your ...
-2
votes
1answer
295 views

upload SWF, FLV banners [closed]

We have a Drupal website, in site we have an ads place but just allowed "jpg, gif, jpeg' so I want to upload Swf and flv file to ads place, I would try to change imagefield extension files, and in ...
2
votes
3answers
883 views

How to trace PHP errors

I am getting the following errors from Googlebot; I am getting about 5 of them per minute, and I want to find out what is causing them. Type php Date Friday, February 3, 2012 - 08:16 User ...
3
votes
1answer
95 views

What is a Content Management Platform?

Currently Drupal defines itself as a "Content Management Platform". My assumption is that they are trying to differentiate themselves from CMS which provide a much more specific goal, such as a wiki ...
0
votes
2answers
56 views

Advertising limitations [closed]

I was wondering if there are any advertising limitations when using a Drupal CMS. Wordpress, until recently only allowed you to place ads after reaching a certain amount of traffic. Also, I am ...
0
votes
1answer
47 views

Why are configuration pages refreshing instead of saving their settings?

I've moved my site to a Debian GNU/Linux server. MySQL is on a different server used specifically for databases. When the site was on Windows, the connection to the MySQL database was not an issue and ...
0
votes
1answer
486 views

How to add a custom display field to a content type in Drupal 6

Hi i am trying to add a custom field to a content type which would be un editable. And view able. A php code to do some database access and prepare a xml file. call a Swf animation will. When user ...
1
vote
3answers
298 views

Module Development: Adding multiple fields of optional input

A user, across different Drupal installs, is generally the same concept. To be more basic, every user has an email address, username, and password. Let's say I write a module that works with users and ...