Menu
Welcome, Guest
Username: Password: Remember me

TOPIC: Adding Create button in popup window

Adding Create button in popup window 2 months 1 week ago #85797

  • SMD19
  • SMD19's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Karma: 0
After I I related a field in a page to Bugs. An arrow appears on the side of field When clicked it shows a popup where we can search the created bugs. How can I put a create button in that popup like in customer popup?

The administrator has disabled public write access.

Adding Create button in popup window 2 months 1 week ago #85801

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 10664
  • Thank you received: 1603
  • Karma: 363
Are you a developer?

For some reason, it is missing a "create" element in the array here

github.com/salesagility/SuiteCRM/blob/ma...tadata/popupdefs.php

You can see an example here

github.com/salesagility/SuiteCRM/blob/ma...tadata/popupdefs.php

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Adding Create button in popup window 2 months 1 week ago #85829

  • SMD19
  • SMD19's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Karma: 0
I am developer, Can you guide me which files to edit and what code to add?
The administrator has disabled public write access.

Adding Create button in popup window 2 months 1 week ago #85845

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 10664
  • Thank you received: 1603
  • Karma: 363
Yes, edit the first file linked above (well, make a custom copy of it)

and add code similar to the second file linked above ("create" element) - but you will have to find out the specific values to use there, I don't know them exactly...

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
Time to create page: 0.104 seconds
Powered by Kunena Forum