Active
Project:
Thickbox
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2009 at 22:53 UTC
Updated:
11 Jan 2010 at 17:23 UTC
Jump to comment: Most recent file
Comments
Comment #1
frjo commentedYou need a link with a thickbox class that points to a page that displays the form. You can have a look in the thickbox.modules file how it's done for the login form.
Comment #2
walker2238 commentedHey frjp thanks for the reply. I did try that before. However the results I got was that thickbox would display the entire page, not just the form.
Comment #3
caponey commentedi'm having the same issue...it displays the entire page, and we would just like the form to be displayed
Comment #4
caponey commentedi think we have to somehow use scripting to only show the fields we want in the thickbox.
hopefully a guru who loves to help the helpless will show us the way =)
Comment #5
walker2238 commentedThe solution or work around I use is just to create a page template. So say for the user profile edit page I'd create a page template and only have the content variable within that template.
Comment #6
frjo commentedYou need to look again how the thickbox.modules does for the login form.
1. Declare a menu item with a suitable path and callback.
2. Declare a menu callback that prints the form and exit.
The adventures can test the attached patch (for 6--1-dev) that adds function for opening arbitrary forms in a Thickbox.
With this patch you can construct links like this:
The above link will open the form with id "user_register".