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

How can I force certain vocabulary terms to certain node types?

I have a vocabulary and I have a few flexinodes.
When someone is posting a new content of a certain flexinode, I need the form to let him choose from a selection of vocabulary terms and not the whole vocabulary.
Any help on this?
Thanks in advance.
L

clickable thumb in bookpage - link to image gallary

Hi, I'm quite new to drupal and I am working on 'filling' a drupal-site. That means I haven't direct acces to the Install-system, which is installed on an external server. I have a question about the image module on drupal 4.5 (not sure which image.module version it is).
I want to have clickable thumbs in different pages/bookpages. When I click on the thumb, I want to link to its original image or its image-galery.

Publishing issues

I've copied the node_example.module and attempted to mutate it into my evil ways.
So far, everything is good except for I can not get it to auto-publish.
I've been to content and told it to automagically publish them and even when creating a new article (of this new node type) it doesn't publish it to front page (even though the publish checkbox is checked).
I can goto content and force it to be published but that's not the ideal way I want it.
I don't even have any idea where to start looking for this issue.

How to translate profile fields

I use the profile module to add "personal informations" like given name.
The "given name" does not appear as translateable string, so how can I translate that?

Thx for help

Writing an e-Comerce / Subscription-enabled song module?

I'm a musician, and I'm a long-time programmer, electronica and Perl being my respective poisons of choice. I've built a large application-based site from scratch in PHP before, and I've dealt with a lot of OO-programming in Perl... so though I haven't delved into the codebase yet the design decisions in the handbooks I've read seem to make a lot of sense.

I've been trying to come up with a good system for paid and subscription download of my music, without reinventing the wheel, and without sacrificing the user experience by using too many disperate tools at the same time. Regular shopping cart software fails, subscription software and services fail, and there isn't even a good paid product that meets this need (Not that I'd pay, I'm a good ol' OSS cheapskate!). Oh yeah, and I'd like to sell tangible goods and music downloads at the same time!

I want to get my hands dirty making a Drupal module, and I have a need for a song module for Drupal that meets the following requirements:

  1. Free low-quality sample previews of all songs
  2. Paid or Unpaid (settable per-song) download of the full high-quality version of the song (purchased by adding to the existing e-commerce module's shopping cart). I understand that this probably means I will have to create a product AND a song seperately.
  3. Users with a certain level of paid subscription are allowed access high-quality versions of flagged songs
  4. Cover art with each song, a thumbnail on the song page with the ability to click to view the full version. This will default to a global image if none has been set for the song
  5. Ability to add lyrics, copyright, links and other misc text for a song
  6. Story-like ability to have a succint version of the song in a song list, and the more verbose version as a result of clicking a "read more" style link
  7. Comments

Bonus options I may go for:

How to pass the node id value in module_block() function??

Hello Drupalers,

I have begun my first module development, one that displays a block for a node showing a link to a translation website (that translates that particular node).

So, I am actually having trouble understanding how Drupal modules know what node id is being displayed. For example, if "mysite.com/node/143" is being displayed, I want "function mymodule_block()" to know that the node id is "143". How do I pass that information to mymodule_block()???

Thanks! A very simple example would really help!

Pages

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