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

How to scale down image attachments?

Hello my fellow Drupalers ;)

I recently figoured out how to display an image attached to the article (thanks to this topic: http://drupal.org/node/63114#comment-136051). Yet I'd love to have a function to scale the image down a bit without invoking too much unneeded stuff (in other words - I don't want to play around with image module ;) ). Would anyone be so kind to paste me a piece of code that would create attachments' thumbnails? Is it a lot of work? Maybe there already is such a function?

CCK - Field with too many values

Hello all,

Pretty new with drupal so be patient with me :)
Im trying to create an eshop with inkjet cartridges and so far i am using e-commerce, CCK, views and few more modules.
The problem is that my products have compatibility issues so i need to link each one with a number of items from a huge list.
To be more specif: each ink is compatible with a number of printers.
I am not sure how to implement this.
Using CCK custom field value list seems too much for 500+ printer models.
Creating terms for each model...also dont sound good.

newbie RSS questions

I have RSS enabled, and basically working, but there a few things I need to know.

1) To get the feed to auto-update, I guess I have to do something with cron, but what? I know how to use cron, but what do I put in the cron file to update the RSS? I am using shared hosting (dot5hosting.com).

2) Can I edit the individual links? For example, I have 3 links in a row that reference the same story, can I delete one of them? Also, can I put small comments into a link - like PJ does on groklaw.net? Can I add a link that isn't already there?

Include variable data from child module?

Hi,

I am creating a set of modules around some core framework

module
module -> optionalmodule1
module -> optionalmodule2
module -> optionalmodule3

How can I generate data in the optional modules for example $form['modulename'] and use that data in the core module?

I don't want the "core" module to have to know about the optional ones.

Example.

optionalmodule1_function returns $data[1]
optionalmodule2_function returns $data[2]
optionalmodule3_function returns $data[3]

Ecommerce Workflow

HI,

I am currently working on 4.7.x with the PROTX payment module and I am trying to add some new features, such as re-displaying the credit card input form if the transaction fails. I have created a URL, protx/failed, which executes (I have set my VSPDirect simulator to REJECTED for now) as expected but when I try again it tells me that the transaction ID cannot be used.

Thus my question, after much code trawling...

Which module to use to create a directory listing?

I'd like to create a vendor directory listing, which module(s) would I use to create this?

Pages

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