From: Neil R. <Nei...@rc...> - 2009-01-22 19:58:23
|
Thanks. I've just downloaded <http://drupal.org/project/pathauto> Pathauto , but haven't looked inside yet, but it sounds great for that problem. I was hoping not to have to get into the API. I have enough learning walls on my plate already . . . </mixed metaphor> At 01:09 PM 1/22/2009, Jough Dempsey <jou...@gm...> wrote: >Is this Drupal 5 or 6? The forms API is a little different for each, >but basically you want to look at using "hook_form_alter" to alter the >form you want, or the form API to build a form that can be submitted. > >The Path Auto module will allow you to create the path you want. It's >a pretty common module and we use it in a number of our Drupal >projects. > >-- Jough > >On Thu, Jan 22, 2009 at 11:14 AM, Neil Rest <Nei...@rc...> wrote: > > I'm building a system in drupal in which Vendors submit Bids against > > Tenders. (Vendor, Bid, & Tender are content types.) > > I want to put a button on the bottom of the Tender page "Submit Bid", > > which will take the user to the New Bid page with the Tender as the > > default in the Tender node reference field, and the Vendor associated > > with the user in the Vendor node reference field. > > > > Also, when the new Bid is completed, I want to path it > > /tender/bid/#### finishing the path with the id# created by the user. > > > > (This looks like it'll take some PHP. I'm a lot stronger in PHP than > > in drupal, so that's not intimidating, but I don't want to get > > twisted up in the drupal API any more than I have to.) > > Neil -- Nei...@rc... I wrote a song about dental floss but did anyone's teeth get cleaner? -- Frank Zappa at Senate Hearing on Porn Rock, 1985, in response to Tipper Gore's allegations that music incites people towards deviant behavior, or influences their behavior in general |