The Devel module is a suite of modules useful for development.

learn more… | top users | synonyms

-1
votes
0answers
15 views

What are the names of the arrays shown under the 'Devel' tab (Load/Tokens/Render)?

When I click on the devel tab on a page, arrays are shown via Krumo. What are the names of these arrays, for the different sub-tabs (Load/Tokens/Render)? Devel module and Krumo suggests there's a way ...
1
vote
1answer
32 views

How to show all template suggestions for a page without using Devel Themer?

For some reason the Theme developer module doesn't work on my site (whenever i activate it and navigate on my site it just shows a white page with written "Jump to main content"), but all I want to ...
0
votes
1answer
9 views

DPM simpleXMLElement returns just the object but echo returns its value

When I DPM the simpleXMLElementObject it returns (Object) SimpleXMLElement print_r returns the following: SimpleXMLElement Object ( [0] => c1e1c959-c99d-42f0-8a44-2998b ) Although when I ...
2
votes
1answer
15 views

Module not returning echoing or printing variable

I'm writing a module to change a user's shopping cart order ID based on a stored value from their profile, which cannot be edited from the users. In the hook call to commerce_cart_order_id I tried ...
0
votes
1answer
10 views

Theming property non-object when transversing the $node object

I'm getting this error when I run the code below, in reference to $color module: Notice: Trying to get property of non-object in cotyhouse_preprocess_html() function ...
0
votes
2answers
27 views

Differences from dpm and dsm for devel module for debugging objects?

What are the differences of dpm and dsm for the devel module? I mainly use dsm for the devel module. What are some other common debugging functions that are useful in the devel module?
1
vote
1answer
28 views

Difference between function names from Drupal Devel

The devel module in drupal allows us to print variable data using functions like: kpr,krumo,dpm,dsm Can anyone please explain how different is each function from the other
2
votes
4answers
289 views

execute drush command from devel/php drupal

Can any one please tell me how can I execute drush command from devel/php? I can execute PHP codes from devel/php. But I don't know how can I execute drush command from devel/php. (As we know ...
0
votes
1answer
87 views

Add a popup text link to a specific “create content” page

I've looked everywhere and can't find an answer to my problem. I'm trying to do something that seems like it would be relatively simple, but I keep coming up empty: add a pop-up text link to the ...
0
votes
1answer
11 views

WSOD with Devel module

A website I am working on is having a WSOD problem, but only on the permissions page. I narrowed this down to the devel module, because when enable, WSOD permission page, devel module unenabled, clean ...
1
vote
2answers
101 views

Improving Site Speed and Cache for Authenticated Users

I am building an intranet site. I have the site set up with single sign on via the server authentication module meaning there are no anonymous users. This means large parts of the cache are worthless. ...
0
votes
1answer
74 views

alterations in tpl file work, but not dpm();, dsm(); or drupal_set_message();

This question here at DA has a popular suggestion to check page.tpl.php to see if it says print $messages;. I verified this and this is the case. I cleared caches many times, btw after which there ...
0
votes
0answers
43 views

Devel Generate module

I set up an new instance of Drupal 7 using drupal vagrant. After, enabling devel_generate, I attempted to create 12 users as follows: However, after attempting this, the following error was ...
1
vote
2answers
87 views

Weird behaviour when using dsm

I am using Drupal 7 on a CentOS 6.5 box. I am trying to debug some code which produces the following error: User error: ImageMagick error 1: convert: no decode delegate for this image format ...
0
votes
1answer
46 views

link field template syntax / display link field as an image / devel dpm (D7)

My link field is currently displaying as a URL as you can see here (yellow border). I have added dpm($items) to my link field template file. How do I read the dpm output or more specifically how do I ...
0
votes
0answers
12 views

Devel - Set it to create nicer content

I am using Devel to create some dummy content for my site. Is there a way to set it to generate a specific number of words (or a specific phrase) for each field? On the admin page, it allows me to ...
0
votes
1answer
52 views

Krumo output with debug()

When debugging I prefer using the Devel module because of the clickable Krumo output. However when disabling the Devel module on production unremoved calls to e.g. dsm() can cause a WSOD because of ...
2
votes
3answers
178 views

Drupal 8 devel dpm does not expand Drupal\node\Entity\Node

I'm getting a feeling that Devel got pretty much useless with D8. When I try to dump most of the drupal objects I get only (Object) Namespace\Class output. No fields data is printed. print_r is able ...
1
vote
2answers
68 views

Site dead after Devel Module and Library sethtmldom

After installing Devel Module (and Library simplehtmldom), the Drupal7 site is completely dead. Have already set the module to 0 on System table in database, and the module files removed by FTP. But ...
1
vote
1answer
190 views

Rules: how to display the value of variables?

I use the Devel module on Drupal 7 to debug some rules of my site but I can't debug without knowing the value of variables I created. In the case, I have a loop where I sum different values and at ...
0
votes
1answer
74 views

DrupalDatabaseCache::set Devel Module

I seem to be getting slow speeds with DrupalDatabaseCache::set and DrupalDatabaseCache::getMultiple i am using drupal 7 and am on a Virtual Private Server on Dreamhost which is running Fast CGI and ...
1
vote
1answer
44 views

Theme settings doesn't work

When i dpm that $vars, in classes key, there is no r_style class, whyyyy? I tried clear cache through devel module, but still the same, what i am doing wrong? name = JH Template core = 7.x engine = ...
0
votes
1answer
36 views

ob_start() error running Devel on Search API + Search views page

How can I run Devel on search pages? I keep getting an ob_start() error. How can I run debug on these search pages. The error is: Fatal error: Unknown: Cannot use output buffering in output ...
0
votes
1answer
1k views

Calling a field in views-view-fields--view-name.tpl.php -— Error

I am trying to call a field by using the line of code: <?php print $field->handler->view->field['title_1']; ?> But i keep getting this error: I used devel dpm() to look for what ...
1
vote
1answer
180 views

Why kpr() shows different content than var_dump()?

In one vital part of code I started to get "Trying to get a property on a non-object" type of errors. So I wanted to investigate it. var_dump($download); die(); Gives: array(3) { [1]=> ...
0
votes
2answers
51 views

Lots of generated queries

I enabled devel to Display query log UPDATE: this problem only happens for logged users I found that the Frontpage generate 900 queries. **67** of them generated by the **Locale** module and ...
0
votes
0answers
165 views

dsm or dpm not displaying output on screen

I have just run into a wierd problem, the devel model's dpm function isn't outputting to the screen. I have checked the permissions and they are good, the devel module is enabled and all should be ...
3
votes
1answer
98 views

Devel output on hooks called during cron run

I'm implementing a hook that is called if certain conditions are met during a cron run. (Specifically hook_bounce_mails_blocked($mails) from the Bounce module) The hook is triggered, but any output ...
1
vote
1answer
367 views

How to trace Drupal 7 Core Logic Using Netbeans with xdebug?

I'd like to understand how Drupal core works by tracing core logic and how functions unfold. I installed Netbeans with xdebugger and started a new project. The project includes drupal installation run ...
0
votes
2answers
190 views

What is admin_devel module in drupal?

THis module is separate from the devel module that gives ability to dpm() variables etc. What is it?
0
votes
0answers
27 views

Why would the devel_themer toggle not appear on a webform?

The devel_themer toggle shows up on ever other page on my site, but for some reason it won't show up on my contact webform :s I didn't write the origin code for the site and I'm having trouble ...
0
votes
2answers
69 views

Is there any way to view dpm() data other than printing it on page?

I have an issue with dpm() in that it never seems to return data (and before anyone asks: Yes devel is installed Yes I am logged in as admin Yes print $messages is set Yes the permissions are ...
0
votes
0answers
19 views

How can I disable the default PHP error catching in Drupal? [duplicate]

I'm not accustomed to being so limited by a CMS whereby I have to use it's built-in error reporting instead of more specific logging with native PHP error logging. Is it possible to disable the error ...
3
votes
2answers
309 views

Devel dsm() function in Drupal 8 page.html.twig

Is Devel module's dsm() function available in page.html.twig? If it is not available, is there a way to make it available? I am able to use dsm() in .theme file but not in page.html.twig. I am ...
0
votes
1answer
99 views

How do I hide Devel tab from users?

I just noticed that Devel tabs are showing on my Basic Pages, even when the user is not logged in. Anonymous users should not see "View" and "Devel" tabs! I can't find a setting for this in the Devel ...
0
votes
1answer
120 views

Devel query log not showing module enabling queries?

I enabled "display query log" in Devel. However, I've noticed not all queries are logged, for instance when enabling/disabling a module there is no "update system set status = 1.." query shown. Why is ...
0
votes
1answer
42 views

/devel_themer folder is very huge [closed]

/devel_themer folder is about 1GB in my website, is there any problem if I delete this folder ? what should I do to prevent theme_developer module to make such a huge folder ?
1
vote
1answer
62 views

I deleted /devel_themer folder now my website reports an error [closed]

devel_themer folder of my website that was in public_html had about 500MB size so I deleted this folder. now when I log in to administrative account it reports this error : Fatal error: Maximum ...
0
votes
1answer
22 views

custom module in user

I am making a custom module and the link to the path appears on navigation menu by default but I am interested it appears on primary menu when module is enabled. Is it possible in Drupal 7?
1
vote
0answers
24 views

Is the output of the PHP Execute block affected by input filters?

When I place code to execute in the Execute PHP blocks, the output doesn't show. Only an empty shaded box appears in the status area. Is the output being affected by an input filter or some kind of ...
3
votes
1answer
615 views

Validating node creation / edit form

I'm using form_alter to play with the node form for a specific content type. This content type has many different fields and I'm also using Field Collection module to organize all these fields & ...
1
vote
1answer
137 views

How to detect devel user switch

I need to detect if I'm currently browsing the site as a different user, having used the devel user switch module. The LDAP module I have triggers some profile updates on every login, based on some ...
-1
votes
2answers
271 views

Why is the Devel block displaying the Performance, Execute PHP and Switch User blocks?

My Devel block is displaying the Performance, Switch Users and Execute PHP blocks as well in the sidebar, making it very unsightly and bloated as well. I can't see what I could have done to cause ...
1
vote
1answer
88 views

Can the Devel page generation times be placed at the top of the page?

Can the Devel page generation times be placed at the top of the page?. Devel places the page timer and memory usage figures at the bottom of the page making it necessary to scroll down to view them. ...
0
votes
1answer
264 views

kpr() in my form validation and submit function is not being called

In my form validation and submit functions, kpr() is not being called. Is there a better way to check that I'm in those functions? If kpr() isn't ideal to output my $form_state array, then what is ...
5
votes
1answer
151 views

How to know which module is responsible for each database query?

I enable the devel module and set it to Display query log. Then on every page load I get a list of the generated sql queries. You can see an example of that list in the capture I uploaded. So far so ...
1
vote
2answers
234 views

Can I simulate a hook using Devel's PHP execution?

Let's say, for instance, that I want to quickly view the variables sent to HOOK_preprocess_node(), but I'm too lazy (if I'm just being honest) to edit my template.php file just to do that one check. ...
0
votes
0answers
92 views

How do I read the output of the devel module?

This is not asking where to find the output from devel, as I know where to find it. The question is how to read it and make sense of it. I need to find a field from a field collection, and then ...
1
vote
1answer
130 views

Purging session data on devel user switch

If you have used the devel module, you'd probably know about the nifty Switch user tool that is available as a block for use in a site. It allows users with the required permission to switch from the ...
1
vote
1answer
527 views

page.tpl.php override for Panels Pages?

I want to use a specific tpl.php file for all Panels Custom pages. I get some formatting issues if I try to use "Panels Everywhere" module, so would like an alternative.