Configure 'Hide Submit' module to only apply to 2 specified paths
$10-30 USD
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?
Project ID: #5518601
About the project
Awarded to:
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
3 freelancers are bidding on average $31 for this job
This is my job. I can do it. I ready begin now. ======= = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = = ======== = =