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

Registration Destination aka Landing Page (other than home page)

I'm trying to get it so that when a user registers, they get taken to someplace other than the home page. This is a temporary thing, so I'm just hacking /includes/form.inc on line 196, just before the return to the drupal_submit_form() function. for now I've jsut hardcoded a

$goto = (empty($goto)) ? "forum" : $goto;

That works fine, but I would prefer to do it without a hack, but I'm just not seeing how to do it. Any suggestions?

Filebrowser Module - useful?

I've been working with Drupal for about a month or so now and have finished up my first module. It's a file browser module I developed for an industry trade site to manage a massive amount of downloadable assets. I have it up an running at http://jamieruderman.com if you'd like to try it or download the code. I just wanted to share and see if anyone thought that it would be suitable for mass consumption? I just applied for a CVS account...

How do I show my custom query results from within my module?

I've built a custom node-type module that works fine. Now I want to have a page that offers a custom search of those nodes with nicely paged results. The API docs are wonderfully written, and have gotten me this far: I know how to create the custom search form page (with a function), make it visible ('hook_menu'), validate the results ('hook_validate'), and even make last-minute adjustments ('hook_submit'). But what happens from there? I know how to write the SQL query based on the form values and handle the query results, but where do I put that code?

Thanks in advance.

Q: Load flexinode variables into flexinode module?

This may be a stupid question but I'm not sure how to do this.

When I edit my node-flexinode-3.tpl.php file I am able to use variables such as $node->flexinode_5 to display data for my flexinode.

For various reasons, I am now calling flexinode functions in my node-flexinode-3.tpl.php and was wondering how I could get these functions to load these same variables so I can use them in the flexinode.module. I hope this makes sense.

I basically want to use $node->flexinode_5 in my flexinode.module file. Is this possible?

Thanks!

How do I modify "sending email notification upon approval or denial of new members"?

I have 2 steps of approval in my web site using Drupal 4.6 on FreeBSD and MySQL. After registration, new applicant should be approved first by global administrator of the site. Then he/she should be approval by the group leader of each OG which he/she has requested membership upon registration.

Multiple Locations for Content Nodes

We are building out functionality to allow multiple locations associated with a content node. The idea is to make location nodes, changing nothing to the location module, but making a new module which will facilitate in the creation of and association between location nodes to their content nodes.

New Geocoder for Drupal: Step2
New Geocoder for Drupal : Step1We plan to allow node publishers to create and relate location nodes during the node creation process, via the location drop down on the node form. The mockups depict a gmap will make it possible to select a location when multiple locations are found based on the user's initial query. The query is done in one single text field to make things simpler. Based on the results of the address query, the latitude and longitude boxes are populated if there is an exact match (using the geocoder API from google) or when a user clicks on a marker from the gmap when there are multiple results.

The user can then click to add the location, then query again, and add as many locations as needed. If a user wants to delete a location, they can do so, then add another location, etc., all without reloading the page.

Pages

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