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

custom email-variable-replace for different modules

hi,

lots of modules, like the buddylist-module, define texts with variables like %addee_name.
The texts are used for generating emails.

These modules replace the variables before calling the user_mail() function.
This instantly sends out the email by the php-mail() function or smtp...

Help! I need some advice on best approach for writing am eCommerce product for selling Pando packages

Hi, I'm somewhat of a newbie to PHP and drupal, but have so far managed to hack the workflow and publishing modules to do what I want. However, I am now trying to put together an eCommerce product for selling Pando packages and need some direction.

The background and my requirements are as follows:

  • Service: digital photo finishing. Simple enhancements and cropping for all your digital photos (i.e. exposure, red-eye, etc.)
  • Product: possibly hundreds of photos per transaction, at something like 5 cents per photo
  • Privacy/Catalog: I need a private image_gallery for each customer (going to try to implement via image+taxonomy+tac_lite)
    • no publically viewable product "catalog", just private image_galleries (image module)
    • customer can "tag" photos to create a "new" image_gallery,
    • any image_gallery (with a count of photos and a total price) can be added to the shopping cart
    • if "/products" is mapped to "/products/mine" then this is a personal "shopping cart" history of all created products
  • Cart/Checkout: I really want to use Drupal eCommerce to manage checkout and order processing. Big Savings here.
  • "Delivery": I'm expecting file sizes to be 100+Mb hence I plan to use Pando (www.pando.com) to deliver the purchased photos.

Search module, content not being indexed

I am developing a module that adds links to the bottom of the node body. I am using drupal 5.1. The module is very similar to the cck nodereference module, just with a few extra things. I am currently testing the module and I found that my added content was not being indexed.

Looking at the api docs I read this
"update index": The node is being indexed. If you want additional information to be indexed which is not already visible through nodeapi "view", then you should return it here.

Problem with actions-5.x-1.x

I have a problem with this module.

I have created an action and now I wont configure it, but when I click configure link I have this error:

Fatal error: Function name must be a string in /var/www/drupal/modules/actions/actions.module on line 210

I think the problem is the function actions_configure($action = NULL) on line 210:

$form = array_merge($form, $function('form', $edit, $dummy));

but I don't know how solve it.

Please Help.

P.S. Sorry for my english !

Module to schedule nodes to specific positions on specific pages.

I need a node scheduling system a bit more complex than the scheduler module provides.

I want to be able to define arbitrary pages with arbitrary positions in which scheduled nodes can be displayed.
Imagine a magazine style home page or other landing pages with various node blocks on each page, possibly via the panels module. I want to be able to schedule nodes to be displayed into these blocks.

I am thinking that via an admin page you would define these pages, what positions exist on the page and what node types can be displayed in the position. I imagine a NODE_PAGE_SCHEDULER_CONSTRAINTS table (page, position, node_type) which would store this information.

Then from any node edit page for a node type with legally defined page positions site administrators would be able to select scheduling start dates. I imagine in the node edit form a section would render with a select box for available pages, a select box for available positions once you had selected the page and finally a start and end date for which the node would be scheduled to that position. An add schedule button would add another row of select boxes and scheduling dates so that you could define any number of schedules to different page positions at different times for a given node. I imagine a NODE_PAGE_SCHEDULE table (nid, page, pos, start_timestamp, end_timestamp) would store this information.

Track links

When I click the 'Contact us', I just want to display the link from which url the user click the 'Contact us' button.
Which function should I use ? OR which module should I use?
Thanks very much.=)

Pages

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