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

filter and sort helps with views module

i have developed a custom node module to allow a client of mine to post job lsitings in a similar manner to hotjobs.com. i am using the views module to output lists of these jobs by taxonomy term. the module i have developed uses many new fields and i would like to be able to sort and filter content based on them.

many hours have been spent pouring over the documentation and forums to gain a better understanding of the filtering system, but i would love to have someone give me some down and dirty suggestions on how to accomplish the following tasks:

1) is there a way (using the views module) for users to switch the sort order from descending to ascending? i would like this to be a link instead of having to make the change via the views administration.

2) how do i create filters based on the custom fields in my new module? as an example, i would like users to be able to filter the job listings based on whether the position is full-time or part-time.

3) instead of using form inputs for the exposed filters, i would like to use text links. is this possible? following is an example of the links:

Oldest to Newest >>
Full-Time Only   >>
Part-Time Only   >>
Show All         >>

4) is this the best way to accomplish filtering or is there a php, mysql or drupal hack better suited. i'm also open to other modules.

thanks in advance for helping me with such a specific project.

user warning: Duplicate entry

Haven't heard a response about this issue I'm having dealing with categories so I decided to re-post:

user warning: Duplicate entry '102-67' for key 1 query: INSERT INTO category_hierarchy (cid, parent) VALUES (102, 67) in /home/.frasier/databasename/mysite.org/includes/database.mysql.inc on line 120.

Can anyone offer some advice on how to clear this up?

Thanks!

Ecommerce Recurring Subscriptions & Worldpay Module integration questions

Hi,

I need to implement the following purchase process for recurring advertising payments
and I plan to use ecommerce and WorldPay plugin

The process has some offset time for creating and placing the ads,
which means I first need to authorize the payment and recurring subscription (like authorize the card)

As soon as the advertising is placed (i.e. intangible product shipped),
the payment shall be charged - this can be 3-5 days later placement process shall start

This is the process I'm looking to implement

1- ad ordered by client

The Card shall be authorized, subscription pre-setup (in my or worldpay's system)

2- ad written by writer
3- ad placed by publisher

AT THIS POINT the recurring payment will have it's effective start data
so this is where the charge shall happen

From this point on the customer shall be charged in fixed intervals - i.e. MONTHLY, QUARTERLY, etc...

4- ad cancelled or suspended

here an IPN notification of a cancel shall be received and managed if we or the client cancels the subscription
OR
here the subscription shall be cancelled from out system to Worldpay if it is initiated in our GUI,
the user shall not be required to log into worldpay to cancel (like it's required in PayPal eg)

I think that "Future Pay" with the remote futurepay option as defined in
http://support.worldpay.com/kb/reference/faqs/remote_futurepay.html

Drawer site - ecommerce with uploading of samples for the drawings

hello,

i want to make a site for my wife where she can offer drawing of babies from their digital portraits, uploaded to the site.

i want to use ecommerce since she will later sell some of her artworks.

is this possible to do the following use-case with drupal+ecommerce:

How to define page title elsewhere than in hook_menu?

When I create a page in a module, I usually define the page title in hook_menu like this:

$items[] = array(
'path' => 'contact/address/add',
'title' => 'add an address',
'callback' => 'address_add',
'type' => MENU_CALLBACK);

However, is there a way to define the page title somewhere else?

Let's say I have this:

how to access profile from a module ?

Hello all.
I want to know how a module ca interact with the core profile module : need to creat custom fields, ability to display some other fields for a user. thanks.

Pages

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