YoNinja.com is a online travel and user review website built using Drupal 6 and several drupal.org modules as well as some custom modules. We are a social travel website with our members contributing most of the content in the form of listings, user reviews, travel guides, and other travel resources. We would definitely like to get on to D7 or D8, but we have had issue migrating, so we are thinking to move to D8 when it comes out by simply migrating the data as opposed to the entire site.
So I want to grab the URL and based on specific words in the URL, it will display a targeted piece of content (such as an ad, or event happening in that country, etc.)
Which method is preferred? Which uses less memory and processing time? Is there a better method to do this?
Note: This code is placed in a block as PHP code...
Basically, I have a drupal website which I would like to limit the options in one dropdown menu based on what option is selected in another. I already use conditional fields, which is a great module, but it doesn't work for this scenario. So what I have is this:
I have a dropdown called region, which consists of values of US, Europe, Asia, Middle East.
I have a Drupal 6 site that is working fine so far, but now I want to add content. When I add an article, fill title and text body, all looks fine. As soon as I store the article (or even preview it) the body is lost. Only the title is displayed. What do I do wrong?
I have a challenge of a bunch of nodes, all with a dozen or two images in an imagefield. I'd like a way to dynamically request and generate a double page spread of two of these images (in one jpg) for social sharing purposes. I'm not really sure where to start.
Should I try to extend image cache to splice two images together? I'm not new to drupal, but am new to module development.
Ideally I'd like to save these images in folders that use tokens to sort them easily.