This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

How to get the correct Node ID Every Time

I'm working on a project that requires me to get the correct node id in order to determine the group id.

In searching the forums, I found this:

if (arg(0) == 'node' && is_numeric(arg(1)) && is_null(arg(2))) {
  $nodeID = (int)arg(1);
}

But this only works if 'node' is in the url. It doesn't work if the url is something like this:

Blogging with Drupal

I need to configured my site with drupal, now I am Blogging with Drupal but I use WORDPRESS. How I can interlace tables (drupal-users and wordpress-user).

Variables disappearing -- maybe I'm doing this wrong?

Okay, I've just now gotten around to messing around with 4.7... and I've been doing a lot of work in 4.6 the past few months so I'm still trying to get used to this new form api.

I have a report generator that has a form at the top of the page, and the results show up below... (basically like administer->content) When the form gets submitted, it generates the report and returns it. In 4.6 I just did:

return form($form,'post').$report_output;

Alternative Advanced Search

Hello All,

Currently I am in the works of creating an extensive video library of athletic drills in Drupal 4.7.3.

To do this I am using:
video.module
views.module
taxonomy_menu.module

I am experimenting with several different modules in order to create a somewhat alternative advanced search exclusively for the video libaray. Here is what I am trying to achieve:

  • Seperate dropdown lists for each vocabulary
  • Choose EITHER a search phrase, or use the drop down lists (taxonomy vocab > terms). Where if you specify a search phrase, search ignores any values in the drop down lists.
  • Offer each term in a vocabulary drop down as well as an "all terms" option which will search all vocab terms.
  • First the search looks for the term in the exercise title in the library
  • Second the search looks for the words or term in any of the 3 search criteria we have for the exercise library, that is muscle group, training modality and exercise equipment

To help illustrate what I am talking about here is an image

I have been experimenting with:
refine_by_taxo
taxonomy_browser
taxonomy_ezfilter

and I was not able to get any of those to perform exactly like what I am looking for.

If anyone has any ideas as to how to do this please let me know. I'd be open to using existing modules or a paid development of a module (if paid please email me quotes via my personal contact form)

How to add custom fields in shopping cart

We are building an ecommerce site using Drupal 4.7, and need to add custom fields during the checkout process. We require that the 'buyer' add special info to be integrated into the product.

Does anybody know how we can accomplish this?

How to add custom fields in shopping cart

We are building an ecommerce site using Drupal 4.7, and need to add custom fields during the checkout process. We require that the 'buyer' add special info, four seperate fields, so that info can be integrated into the product.

Does anybody know how we can accomplish this?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions