Configure 'Hide Submit' module to only apply to 2 specified paths

Completed Posted Mar 5, 2014 Paid on delivery
Completed Paid on delivery

I need the functionality of the Hide Submit module ([url removed, login to view]), but I need it to only affect forms for creating 2 specified content types.

The module supports including/excluding paths, but there is no user interface and I lack the PHP know-how to configure this. The code snippet included reads:

// Disable the module for my special form page.

if (arg(0) == 'my-special-form') {

$altered_settings['hide_submit']['hide_submit_status'] = FALSE;

}

I want to exclude ALL forms, except those at the paths:

/#overlay=node/add/driver-review?variable=variable&variable&etc

/#overlay=node/add/van-review?variable=variable&variable&etc

I also need to know where this code snippet should be placed. A custom module? A sub module of Hide Submit?

Drupal PHP

Project ID: #5518601

About the project

3 proposals Remote project Active Mar 5, 2014

Awarded to:

vgulshan

Hi There, I saw your query, i would suggesr you should place this code in custom module and use the hook_form_alter. If you have any query, please let me know. Thanks, Gulshan

$25 USD in 1 day
(3 Reviews)
1.8

3 freelancers are bidding on average $31 for this job

ngocleanh

This is my job. I can do it. I ready begin now. ======= = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = =

$34 USD in 0 days
(164 Reviews)
6.8