Drupal is an open-source content-management framework written in PHP used as a back-end framework for websites and is also used for knowledge management and business collaboration. The standard release of Drupal contains basic features common to content management systems, including user account registration and maintenance, menu management, RSS feeds, taxonomy, page layout customization, and system administration. Drupal runs on any computing platform that supports both a Web server capable of running PHP and a database to store content and configuration.

Share tech news, updates, or what's on your mind.

Sign up to Post

How do I convert these integers into human readable format?
Some of my group wants to use a simpler program than Drupal.  I know Drupal can do all of these things out of the box. Can Wordpress do them too?
1. Create content types for several different kinds of content, some with upload pdf files ability and images, and store these files in specific folders
2. Content types will have a few lists of terms and based on what is checked, the content will show on specific pages. Like horses, cows, lions and zebras. If the checkbox for zebras is checked, the content will show on the zebras page. Then in another list of terms, say domestic, wild, zoo, the same thing happens. So there is a way to show all the wild animals on one page.
3. One content type will have member names, date joined, photo, blurb, and this will show on one page, even though members are added one at a time in a content type for this.
4. One page will have the latest blog post plus in the sidebar, a list of the titles of recent articles and press releases.
5. Other pages will have teasers of content from news articles with read more links.

This is all very straightforward and simple in Drupal, but in my experience with Wordpress, which is limited, these tasks are not simple. And if they are possible, please tell me how. Also, if it is possible, doesn't the Wordpress installation become more complicated to use so it's more like using Drupal anyway?

I am creating couple of fields for my City content type, but I don´t know what module should I use to embed images from third party sites.
One of my fields name is City Image for which I would like  http://media-cdn.tripadvisor.com/media/photo-s/04/c1/60/a3/casanovas-hotel-boutique.jpg. But I don't know how to do to display the actual image and not the link.

Could you please help me?


I'm working with a small non-for-profit, we want to build a website to host educational/religous lectures for people to listen to.

The basic requirements we thought of include:
Organize lectures by date, speaker, topic, group (sometimes there are a series of classes on a topic)
Allow admins to upload in common format (mp3, wma, etc)
Allow users to download, listen online, or subscribe as podcast (ideally the system would sync to apple’s podcast system)
Maybe also allow for videos, as occasionally we have a video to show. For this we can even integrate with a vimeo or youtube account.
Also nice would be facebook login integration (rather than creating an acct), subscribe to certain series’ or lecturers, get a weekly or monthly digest of all newly added classes, analytics, social integration/sharing, etc.
There isn’t much of a budget, I was wondering if anyone knows of any pre-built templates or PHP scripts which we can purchase, and then have a web developer personalize the look and feel of, but not build from scratch. I would prefer something in PHP that we can throw up at a Bluehost or similar hosting company.

I would prefer something that i can buy with support, rather than a free open source script with no support.

Business needs to
1. allow logins to view video content,
2. accept monthly payments and
3. pay sales people a commission for providing referrals.
4. print checks to sales people

I would like a content management system that could do all 4.  But this question is to find php that does number:3.

Is there a plugin to wordpress or drupal?
I've got a site using the OpenPublic distro on Drupal 7.

I'm getting flagged that I should update Drupal core.

1) What's the Drush command to update core?

2) Does updating core on a  distro. should have special considerations? Can something break?
This site is running Drupal 6 and recently had the core and all modules updated to the most current versions. CK Editor is in use. Prior to this a user on the forum could click "Quote" to respond to a post and the quote would appear when the post was published. Recently the quoted post no longer appears.

Here's an example... http://www.iainabernethy.co.uk/content/testing-quote-problem

You can see the quote box in the second post reads 'manager wrote' but the text appears outside the quote box. Any idea how I may remedy this?

Also all previous post that appeared correctly prior to the updates being applied now don't show the quoted post at all anding confusion to a reader trying to follow the thread, again, any guidance would be appreciated. An example of such can be seen here. http://iainabernethy.co.uk/content/notes-pinan-yondan-pyong-ahn-sah-dan?page=2#comment-7581

Also see http://iainabernethy.co.uk/content/must-read-quote-function-issues
for further explanation of the problem.


After moving the site a few issues: image captcha doesn't parse, I can't manually run Cron, and unable to do anything on the module interface, like enabling or disabling modules.

Possible causes?

Image Captchacaptcha2.JPG
I have a content type that has a field that will take pdf and .doc/docx files.  I am use the file field.  Here is what I just noticed and have not been able to fix today.  

When say my file testfile.pdf is uploaded and a say the user make an update to the file and uploads it again, instead of the original file testfile.pdf being overwritten, a second file, testfile_1.pdf is created.  

I don't see anything in the file upload gui that allows me to select overwrite instead of add another.  

Does anyone know how to accomplish this?
How to change url_alias partially according to a pattern?

We have site with reports to users.
We continue to update the reports with new content node but the url_alias kept same.
For example,
Users bookmark the pages. So they can get into the reports directly.

Recently we change the path pattern with /docs/ in front:
Now the new content nodes go to these url_alias.

But the users have booked mark the pages.
So we want to make them previous book marks, url_alias, can be redirected into the new path.
For example,
<site>/report/report_a to be redirected into <site>/docs/report/report_a
<site>/report/report_a/subreport_1 to be redirected into <site>/docs/report/report_a/subreport_1

That means to make /report/* paths to be redirectly to /docs/report/* paths
Here * is wildcard.
The following error occurs on my dev environment when I try to bundle using the Drupal features module. It happens with I have the commerce_discount module installed.  I click "Generate Feature" and the following error appears.

EntityMetadataWrapperException: Unknown data property name. in EntityStructureWrapper->getPropertyInfo() (line 339 of /Users/cranby6/Sites/drustore.localhost/sites/all/modules/entity/includes/entity.wrapper.inc).

Does anyone have any idea how I can fix this?  I need to bundle the discounts that I created and move them to our demo server, but I can't get past this error.

Any help, suggestions would be appreciated.
In this colorbox "slideshow", when you click on the image and get the colorbox, the text description is overlaying part of the image, which on a few of the images hides the important part of the image.
If I try to just move the text, it doesn't show at all because it goes outside the pop up window. Is there some way for me to show the text to the right of the image in a separate pop-up window that changes with the image, or maybe at the bottom of the pop up window? Hopefully there is a way to do this with just CSS, or does it need some javascript?
Not sure if there are a lot of drupal experts here, but i'll ask, will give me some sense of accomplishment, maybe.

So I have a commerce site, need to prevent users from adding the same item to their cart.  They should only be able to purchase 1 of any sku type.

Sooo, using rules,  I just want to say:
before adding this item to cart
look in cart
if there is another item with the same sku
if so, do not add this item, display message saying dup prevented
continue shopping experience.

I've tried so many things and read so many comments - but nothing is working.  Most rules examples are really basic and the more complex ones, either don't relate close enough to my need or the instructions are just.....  

I had a rule that would check for quantity after i had added the product to the cart, this was ok, except the added to cart message appears along with the duplicate removed message I created.  Obviously I can get rid of the add to cart msg, so I need to address this before the item is added.

Is anyone out there proficient with Drupal 7 Commerce Rules and have any idea on how to resolve this?
I would like to make an image gallery like the one shown on the top left of this page:
A large image with a row of thumbnails under it, where you can click on the thumbnail to see the larger version above. I think this is done with a View, but I don't know what it is called so I can't even do a search for  a tutorial. It's not a simple slide show.
Also, I would like to have a description somewhere, maybe overlaying the bottom of the image.
Please help!
I have, what I thought was a tiny task. I need to set up Captcha configuration for a drupal 6 site. One of our departments won't switch to Drupal7 [for now anyway] and they won't get rid of a html form that they had built in a content type using php, but they want the spam issue resolved.

I need to add captcha, send it through for validation and then send the field values on to some outside company they use via a url in the action. I have a demo site set up that mimics the departments setup here:

Open in new window

uname/pswd admin/admin. just click on the cGroup link in the nav.

In the edit view of the content type the "post", they are actually posting to an outside company's url and sending the form values to that company.

So where I am stuck, on submit of the form, the processing is sending the data elsewhere, so I need the captcha validation completed and then the normal processing of the form to take place.  How do I do this?

This is obviously a very easy set up, but since this is encapsulated within Drupal6, I can't get it work.
Planning on making what is currently two websites on diff. machines, AB, as a single experience.

So siteB will be DNS as subdomain like http://siteB.siteA.com, but still live as seperate site.

How to handle internal search?

Site A uses Google search.

Site B uses Apache Solr Search module.

My 1st choice is to use Solr on both sites with single experience so a Visitor can conduct a searcn at http://www.siteA.com or http://siteB.siteA.com and returns results from both.

What are the pros and cons of taking what is currently two sites (A and B), and making B a subdomain of A ?

The result being http://b.siteA.com

No single point of failure for B in case A goes offline?

More management overhead, maintaining two diff. sites?
Two Drupal sites, siteA.com and siteB.com,  Both currently on seperate hardware, running on a LAMP stack.

We control front end, back end, and DNS on both.

If the goal is to transfer siteB to the same hardware as siteA, and make siteB a subdomain of siteA, like http://siteB.siteAcom, and make the User experience seamless, what's the best approach?

siteB can continue to function as a separate site, with some CSS modification to give it the look and feel of siteA.

I'm in the initial planning phase, so I'm wondering how to treat modules, libraries, core files, Apache Solr search, etc.  Do they need special consideration?

What's a good practice approach?
I've inherited a Drupal website and all seems fine.

I can login to the admin user and administer everything I want to. No problems.

My customer, using the same URL, with the same admin user credentials can see some parts of the Drupal admin system, but others keep on asking him to re-enter the username and password.

This happens on the Drupal Admin Dashboard and Content pages.
Client just gets a popup dialog asking for the admin username and password.
We renter the correct details and the dialog just keeps on popping up.

Can anyone help us to determine what is different on my clients computer / browser from that of ours?

We've tried in Firefox / Internet Explorer and Chrome.

Is this IP address related ?
Only difference we can see is that he is on Windows XP whilst we are on Windows 7 - surely that cannot make a difference?
The criteria is:

1) All content editors may create/edit a Basic Page.

2) The cont. editors may not Publish the page. It goes in draft/preview mode.

3) A manager gets e-mail alert. Reviews and publishes the page.

What's the easiest approach to get this?
I have done a fairly simple Drupal website, with a slideshow on the home page. I have set up dynamic display block with a bunch of images,  I use this module all the times, but it just doesn't show up. I have set the permissions, the images are in the correct spot, I can see them in Firebug.  I cannot figure out what is wrong.
Until I get this working, I have the slide show set up on a test page, as this is now a live site:
You can see the big empty space where it should be. The weird thing is that this is a sister site to:
and I am using the SAME theme (litejazz) and the same webhost, so I don't think it is a configuration issue. They have the same modules and functionality.
I have never used Firebug for stepping through the Javascript to see if there is an error somewhere that impacts this slide show. I don't knoiw how to do that. Maybe there is a conflict with something else.
Ok, I'm putting together a plan to implement Git for the first time in our environment for Drupal development.

We will have a Dev, Staging and Prod. on separate physical boxes.

Can't use a public/commercial Git server, so we will have to stand up a Git server ourselves.

Attached is the initial draft of the network/workflow:

1) All coding done on dev (drupal.ourwebsite.com)
2) Pushed to Staging
3) Finally, pushed to Production

1) Am I on the right track?

2) Do content authors edit and create content directly in Production? Or does their edit have to go through Git version control?

3) Installing/activating modules part of the version control ? Or would we be installing/activating across all three boxes when a module is approved?

On my drupal register form, I allowed users to set their own time zone. For some reason, that locale settings is appearing right in the middle of my form. Do you know a Drupal way to move it to the bottom of the form? I went to admin/config/people/accounts/fields but I can´t see that field being added there. So where is it? how can I change its position?

I would greatly appreciate any help on this,


I am trying to add a placeholder to the date field by using hook_element_info_alter(). There are really few examples of how to do this to add a placeholder, but for some reason it is not working. This is what I am doing:

 * Implementation of hook_element_info_alter().
function customize_register_form_element_info_alter(&$type) {
  if (isset($type['text'])) {
    $type['text']['#process'][] = 'customize_register_form_text';

 * Function for editing label.
function customize_register_form_process_text($element) {
  if ($_GET['q'] == 'user/register') {
    if ($element['#array_parents'][0] == 'account') {
      $element['user_user_form_group_user_birth']['#attributes']['placeholder'] = t('00/00/0000');
  return $element;

Could you please help me?

Thanks in advance,


I'm trying to get an idea on Drupal development. How long should it take for a good Drupal developer to style a page like the attached? Start to finish with content?



Drupal is an open-source content-management framework written in PHP used as a back-end framework for websites and is also used for knowledge management and business collaboration. The standard release of Drupal contains basic features common to content management systems, including user account registration and maintenance, menu management, RSS feeds, taxonomy, page layout customization, and system administration. Drupal runs on any computing platform that supports both a Web server capable of running PHP and a database to store content and configuration.

Top Experts In