Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.547.262 Times

Custom (Form) destination 6.x-1.6

  Date Added: September 09, 2013  |  Visits: 290

Custom (Form) destination

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)



Custom (Form) destination provides a way to define where a form should redirect the user upon submission.When you submit a form, Drupal deals with your input (saving your node, sending an email, storing a setting, etc..) and then redirect you to a page. You usually are sent back to the page originating the request (for example when you enable a module) or to a different page (for example after you succesfully submit a new node, it will be displayed to you).There may be some cases in which you want to override the default behaviour, that is you want to be redirected to a different page (see the Examples section below).This is where Custom (Form) destination comes in handy, giving you the ability to define the page a form redirects to upon submission.Ok. How do I use it?To set a new destination page for a form you need 2 things (drumrolls): a destination page and a form.A destination page is any valid Drupal path. Examples are "node/58", "mylandingpage", "admin/settings". Anything after ?q= or, if Clean URLs are enabled, anything after your Drupal root in the URL (e.g.: http://www.example.org/blog/2008/07 or, for sub-dir installations, http://www.example.org/sub/dir/drupal/blog/2008/07).You will also need to identify the form finding out what we call a Form ID. It can be easily found by viewing the source of the page containing the form and navigating to find out the field with name "form_id". The value of the value= attribute of that field is the Form ID you are looking for.If source code is not your thing you can install form inspect module, which will reveal the Form ID for you.Once you have collected these two important info, you can navigate to Administer d-deDo Site configuration d-deDo Custom destination, click on the "Add custom destination" tab and input them in the corresponding field, hit the button and test that everything works!ExampleCore contact.module redirects to "node/". You can use Custom destination to override this behaviour: using its simple interface define a new destination (any valid Drupal path) for the "Form ID" 'contact_mail_page' and you are all set!Future possible improvements (feedback is welcome)User/Admin interface * print a notice on forms affected by the module current module configuration * integration with Token moduleDeveloper (mostly notes to myself) * add some AHAH juice * include testsAcknowledgementsDevelopment of this module has been kindly sponsored by John_Kenney.Thanks to dipen Dojo wiki article from which I borrowed help text about Form ID.Thanks to the core Path module from which I took a "great bit" of inspiration and code.

Requirements: No special requirements
Platforms: PHP
Keyword: Behaviour Configuration Custom Define Destination Drupal Examples Field Interface Module Override Redirect Redirects Source Submit Valid
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


CUSTOM (FORM) DESTINATION RELATED
Modules  -  GMOD Drupal Bioinformatic Server Framework 6.x-1.x-de
GMOD-DBSF is an Application Programming Interface module for the Drupal CMS which simplifies programming bioinformatic Drupal modules. It is responsible for i) importing a subset of the Chado tables to Drupal, ii) creates new tables in Drupal...
51.2 KB  
Modules  -  Field converter 7.x-1.0-alpha1
A framework for non-CCK modules to use to convert their Drupal 6 custom data to Drupal 7 FieldAPI fields.Modules should define a conversion plan that defines: * node types to convert from hook_node_info-based to user-controlled * new FieldAPI...
10 KB  
Modules  -  Field Thief 1.0
This works good for content types that have fields for which the value changes frequently, like a price field.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules....
 
Modules  -  URL Content Field 7.x-1.0-beta1
URL Content Field is a Drupal 7 field type that pulls in content from a given URL on a given frequency. By itself, it's useful for applying Drupal search to non-Drupal sites or keeping an archive of a specific URL over time (as node revisions)....
10 KB  
Modules  -  Views Tabs 6.x-1.0-beta1
Enables the presentation of views through tabs.Requires Views and the Tabs module, which in Drupal 5 is part of javascript Tools and a separate project for Drupal 6+.Adds three new View Type options to page and block views. All three display each...
10 KB  
Modules  -  Drupal 7 driver for SQL Server 7.x-1.0-alpha1
A Drupal 7 driver for Microsoft SQL Server (version 2008 and later).Installation instructions * Set up your IIS server in the configuration recommended by Drupal (using the URLRewrite module). Drupal 7 now ships with a web.config file, which...
20.48 KB  
Video Editors  -  Viscom Store SubTitle Creator 1.02
Free SubTitle Creator, Add subtitle to video from subtitle file (srt file) in batch. It can input VOB, AVI, WMV, ASF, MPEG2, MPEG, MP4, DAT, MOV, FLV, F4V, 3GP, 3G2 files. Support custom define font size, font, font style, font color and adjust...
15.16 MB  
Modules  -  Custom Search Box 6.x-1.1
Custom Search Box is a simple little module that gives a user with Administer search privileges an easy way to change the appearance of the search box used by many themes. This is done by additional settings added to the '?q=admin/settings/search'...
10 KB  
Modules  -  Inventory field Taxonomy Query Language 5.x-1.x-de
The taxonomy query language module, tql, implements a plugin for the search (Drupal core) and views module. It provides a new tab Taxonomy in the Drupal search and a new Views filter.If you have the tql module and the search module enabled, a...
30.72 KB  
Graphics Editors  -  Free GIF 3D Cube Webcam for Window 1.0
Add 3D Cube Effect with your webcam and export to animated GIF file. Custom define animated background effect. Custom define sense of rotation. Support export to Animated GIF. Support resize the GIF and frame rate.Support upload your photos to...
8.1 MB  
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB