This tag is used by the system when there is a tag that has only been used on one question for six months. The system deletes the tag and replaces it with this one.
3
votes
2answers
159 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 ...
0
votes
0answers
40 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?
0
votes
0answers
20 views
Drupal Site - Content Entry Form - Journal Article Template(s)
Articles on our site have a standard format: Authors, Publication Name, Overview, Section1, Section2, Summary etc --> section1, section2, etc. are different sections and each article can have 1 or ...
2
votes
1answer
41 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
1answer
23 views
Slow loading of modules page [closed]
Whenever I enable or disable a module, the page is taking like forever to load.
What could cause the page to load so slowly?
-1
votes
2answers
77 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
53 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
55 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 ...
0
votes
1answer
44 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
49 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:
...
-1
votes
1answer
19 views
How to get new orders? [closed]
I am new at Drupal and need to integrate with a fulfillment house. Can someone offer some help on how I can use the Drupal API to do the following tasks?
Get New Orders with order details
Update an ...
0
votes
0answers
21 views
Programming in drupal for begginers [closed]
Is there link or resource for begginers to understand the oops concepts in drupal and also working example of hooks?
-4
votes
1answer
51 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(){
...
-1
votes
2answers
53 views
What is the best way to handle post data in drupal? [closed]
What function I need to implement to handle simple post data when I submit a form?
0
votes
3answers
51 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
45 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
0answers
105 views
Print module tcpdf library print pdf kannada contents
I am using PRINT module with TCPDF library in Drupal 7. PRINT module has PDF download option which is exactly what i am looking for, but the problem is that I am not able to download content (from ...
0
votes
0answers
79 views
a pdf field open in a new window of drupal
i add a field which type is pdf, now i want to click the pdf file, then open in a new window.(target="_blank"). how to add target="_blank" to the a label.
0
votes
0answers
37 views
What is the mostly used “Related content” Drupal module? [closed]
What is the mostly used "Related content" Drupal module?
0
votes
1answer
148 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
215 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 ...
3
votes
4answers
183 views
Safely enter PHP code in block to prevent site crash?
When I enter a php snippet into a block (or story or page), it can crash the site.
Two questions:
1) How can the chances of this be reduced? For example, I just crashed a fresh installation because ...
0
votes
1answer
310 views
The website encountered an unexpected error. Please try again later. while installing custom module [closed]
I installed my custom module on my drupal site. It installs well, runs my_module.install well, but when I try to activate it, the site goes off. My code is below.
/**
* @file
* Simple source for ...
0
votes
0answers
50 views
Function spliti() is deprecated and makes eval() fail [closed]
I updated the version of the php in the server and it seems that some issues came up.
On of them is Function spliti() is deprecated in .../includes/common.inc(1547) : eval()'d code on line 4. I ...
0
votes
2answers
35 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
68 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
156 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
180 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
46 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
72 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
56 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
245 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 ...
0
votes
0answers
45 views
Drupal 6: Shared public:// for uploaded files but site-specific public:// for aggregated css/js-files. Possible?
I have a multi-site installation of Drupal 6 where domains have their own database but uses the same Drupal (6) installation.
Background and the problem explained
Until some time ago, the bandwidth ...
1
vote
2answers
57 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 ...
1
vote
0answers
62 views
Authorization of a drupal user using a client cert against ldap to log into Drupal-7
I am running drupal-7 on SSL-enable apache2 which is configured to authenticate the user's client certificate such as a SmartCard to display the site. The LDAP module is installed in drupal, but it ...
0
votes
1answer
39 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
398 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
155 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
214 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
40 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
117 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 ...
0
votes
0answers
18 views
parallel drupal installation on same server uses wrong module [closed]
Edit
The problem doesn't appear anymore, but I don't know what solved it
Original
I've got this weird (in my eyes) bahaviour with two drupal installations on the same server and I don't know were ...
2
votes
1answer
48 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
49 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
110 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?
0
votes
0answers
66 views
Quicktab not working on the argument of view and block
I used to make a view shows a page of a project in the url:
projects/[node:author]/[node:nid]
this view works well.
Now I want to display this view in the quicktab, but the problem is I can't view ...
1
vote
1answer
114 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 ...
1
vote
1answer
91 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
89 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 ...
1
vote
3answers
2k views
Drupal 7- Show Webform Confirmation message in popup window
In my drupal7 site i have buit a contact form using Webform.
I like to do two things.
I want to show webform confirmation message in popup window.I have searched net found some popup module but the ...
