Tag: r

53 votes
3 answers
711 views
How are people handling content management system production staging?

I've been dipping my toe into web development technologies for fun (ya, i should get out more), and am a

avatar
Deedee
0 1 0 9
asked 07 September, 2021
53 votes
7 answers
743 views
Drupal Source Control Strategy?

In standard php or source code based projects we easily keep all of the code in SVN and each developer can che

avatar
Sena
0 1 0 9
asked 07 September, 2021
61 votes
9 answers
1.5K views
How to display node/add/sometype form on another page?

The whole problem is following: Lets say we have Items, Items can have Bids, Items can have Questions and Que

avatar
Virgil
0 1 0 9
asked 07 September, 2021
52 votes
5 answers
503 views
Using JQuery in Drupal 7

I'm writing my own Drupal 7 module, and like to use JQuery in it. $('#field').toggle(); But

avatar
Sachiko
0 1 0 9
asked 07 September, 2021
61 votes
3 answers
2.4K views
what is the difference between $_SERVER['REQUEST_URI'] and $_GET['q']?

what is the difference between $_SERVER['REQUEST_URI'] and $_GET['q'] (which is used in Dr

avatar
Margo
0 1 0 9
asked 07 September, 2021
53 votes
10 answers
1.6K views
Adding a class to "body"

How can I modify or pre-process the <body> tag to add the class body? I don't want to create a whol

avatar
Lashawna
0 1 0 9
asked 07 September, 2021
59 votes
5 answers
2.9K views
How to reference a long class name with spaces in CSS?

I'm trying to style some Drupal output. In particular, I'm trying to reference a class with a super

avatar
Robt
0 1 0 9
asked 07 September, 2021
57 votes
4 answers
1.2K views
Can you Create your Own Hook in Drupal?

Is it possible to create your own hook in a Drupal module for other Drupal modules to consume? If not, is the

avatar
Wilber
0 1 0 9
asked 07 September, 2021
60 votes
6 answers
675 views
jQuery issue - #<an Object> has no method

I've tried a veriety of jQuery plugins recently and I keep getting this error … (source: shaunbellis.c

avatar
Sydney
0 1 0 9
asked 07 September, 2021
61 votes
2 answers
1.6K views
How do I use theme preprocessor functions for my own templates?

I have several .tpl.php files for nodes, CCK fields, and Views theming. These template files have a lot of log

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
63 votes
15 answers
1.4K views
How to insert a block into a node or template in Drupal 7?

In Drupal 6, it was easy to insert a block into a template with the following code: $block = module_invoke(&a

avatar
Royal
0 1 0 9
asked 07 September, 2021
58 votes
7 answers
2.2K views
What is the drush command to change a theme in Drupal 7?

What is the drush command to change a theme in Drupal 7? drush theme disable theme_name drush theme enable th

avatar
Boyd
0 1 0 9
asked 07 September, 2021
57 votes
7 answers
2.2K views
How to log error message in drupal

How to log our own error messages(for ex: error due to invalid user date entry) which is generated in php prog

avatar
Daniel
0 1 0 9
asked 07 September, 2021
60 votes
12 answers
1.1K views
How can I tell whether a web app was built using Angular (or other technologies)?

How can I tell whether a (Drupal 7) web app was built using Angular by looking at the page source, and not hav

avatar
Arline
0 1 0 9
asked 07 September, 2021
60 votes
17 answers
3K views
displaying a Drupal view without a page template around it

I would like to display a Drupal view without the page template that normally surrounds it - I want just the p

avatar
Brianne
0 1 0 9
asked 07 September, 2021
65 votes
5 answers
1.5K views
Getting the URL of a node in Drupal 7

Goal: To send an email with a list of URLs generated from nodes. In my custom module I have managed to get th

avatar
Alphonso
0 1 0 9
asked 07 September, 2021
55 votes
3 answers
425 views
Working with version control on a Drupal/CMS project

I was wondering how teams that develop sites using Drupal (or any other CMS) integrate version control, subver

avatar
Basil
0 1 0 9
asked 07 September, 2021
67 votes
12 answers
2.7K views
array_flip():Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load()

I have recently migrated my module to Drupal7 (on PHP Version 5.3.1) and now I am getting following errors:

avatar
Robyn
0 1 0 9
asked 07 September, 2021
55 votes
8 answers
2.2K views
Attaching image files to nodes programmatically in Drupal 7

Is it possible to add an image to a node programmatically?

avatar
Arline
0 1 0 9
asked 07 September, 2021
54 votes
6 answers
1.5K views
How can I check Drupal log files?

How can I check Drupal log files? I'm using Ubuntu 10.10 + Apache2 + PHP 5.33 + MySQL and Drupal 7.

avatar
Sena
0 1 0 9
asked 07 September, 2021