CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Lightbox form for a contact field
Pages: [1]

Author Topic: Lightbox form for a contact field  (Read 1853 times)

dragontree

  • Guest
Lightbox form for a contact field
September 01, 2009, 12:11:57 am
Could it be possible to have a button/link in contact editing/adding form that opens a lightbox form and then after submitting the result go to a text field? I need to link to a file repository (RokDownload in Joomla) and there is a great Joomla plugin which adds a button to Joomla article editing page which does just that. But I have no idea how to add the same button to CiviCRM page.

I hope I made it clear whats the problem, but if not, I could explain some more.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Lightbox form for a contact field
September 01, 2009, 12:27:02 am
You might want to look at the standalone forms for Contribution/memberships/events,
to check how contact is created on-the-fly using the overlay form.

Try out :
http://sandbox.civicrm.org/civicrm/contact/view/contribution?reset=1&action=add&context=standalone

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

dragontree

  • Guest
Re: Lightbox form for a contact field
September 01, 2009, 03:05:01 am
Yep, thats it.
Gonna take a look at it.

EDIT: I'm afraid I cant figure it out. The problem is more of a general understanding of the code because I got stuck at NewContact.tpl at {$form.profiles.html}. Dont know where to go from there. Could someone point me in the right direction.
« Last Edit: September 01, 2009, 04:03:32 am by dragontree »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Lightbox form for a contact field

This forum was archived on 2017-11-26.