Closed (duplicate)
Project:
Feedback Simple
Version:
7.x-1.2
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2011 at 14:25 UTC
Updated:
3 Nov 2012 at 02:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
seandunaway commentedTo add the required classes just do something similar to:
If you write it in a custom module please contribute it back here.
A similar thread (for working with modal module) is: #1245908: how to use with automodal class?
Comment #2
Babalu commentedwhere i have to put the code ?
Comment #3
seandunaway commentedIt goes into a custom module...
Here I put it in a module for you... just download and unzip to your modules directory and enable.
Comment #4
Babalu commentedperfect, thank you rump
Comment #6
utneon commentedI created a custom module using the module example code with admin settings and some extra features. What do you think about contributing back my custom module as a sandbox project for Feedback Simple Modal Forms?
Comment #7
seandunaway commentedSounds good :)
I'm not opposed to including integration with these other modules (modal forms, automodal, etc) as submodules in this project!
Comment #8
utneon commenteddo you have a project and git repository already created for this project? I can't find the project page
Comment #9
utneon commentedsorry rump, my bad, only noticed now that you're the maintainer and creator of feedback simple. Yeah creating submodules por feedback simple makes sense. I have a suggestion, add this modal forms integration as well choosing the path of the feedback simple button in the admin settings.
Comment #10
seandunaway commentedCan you verify the above module/code is still working properly? If so, I will commit it.
We already have another issue for admin settings.
Comment #11
seandunaway commentedActually, now that I think about it.... All we need to do is add a classes field in the admin settings where people can type in ctools-use-modal.
I'll include this functionality in the other issue: #1407784: Add admin settings to change the image and destination URL
Comment #12
utneon commentedrump yes it is =) add a checkbox that adds that class automatically so people don't need to enter that specific class manually and add another field for custom classes. Add some php regex validation for security:)
Comment #13
mfoda commentedHave been trying to get this to work with modal_forms V7.1 for the past couple of hours with no luck. Installed and enabled the patch in #3, enabled modal forms for contact page, and I'm still getting and HTTP Ajax error. How did you guys get it to work?
Comment #14
basik.drupal commentedI'm also getting this error
Comment #15
kbrinnerThere is a similar conversation about this error happening at http://drupal.org/node/1651226
Comment #16
seandunaway commentedThe attached module in #3 used to work but is depreciated now.
Now that we had the admin settings with a class field, you can just input whichever classes are required for whichever modal module you're using.
For example:
Also I think its probably important to acknowledge the Support Forums on the Automodal page:
Supported forms
Log in (modal_forms/nojs/login)
Request new password (modal_forms/nojs/password)
Create new account (modal_forms/nojs/register)
Contact (modal_forms/nojs/contact)
THE GIST:
The module in #3 is depreciated.
In Feedback Simple admin settings, try setting the class field to:
feedback_simple ctools-use-modal ctools-modal-modal-popup-mediumand the link field tomodal_forms/nojs/contact