Results 1 to 3 of 3

Thread: Quick create forms - New modules

  1. #1
    nikidinsey is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    22

    Default Quick create forms - New modules

    hi again,

    another quick question.

    I've created this module called orders, lots of custom fields ect. however I based this on the "Issues" module

    Now I've deployed it I see that the quick create form in the shortcuts bar is using some fields I've removed/hidden + I'm interested in adding some more fields into the form.

    Now I can manipulate this form in the following file: ...cache/modules/orders/form_SideQuickCreate_iMIS1_Orders.tpl

    but the bit I'm worried about is the "cache" part of the path.

    Question 1:

    Is there a proper place I should be editing the makeup of this form which then generates this cache tpl file?

    Question 2:

    Say I just wanted to get rid of the form altogether, if I blank the cache tpl it disappears but leaves the header "New Orders". Is there somewhere I can easily just remove the form including the header?

    thanks in advance, I'm using 5.1 RC1

    niks

  2. #2
    nikidinsey is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    22

    Default Re: Quick create forms - New modules

    I thought I could answer question 1: how to manipulate the form for quick create:

    I found that the quick create form is now available in the studio (once the module is deployed). Problem is I've edited that layout and deployed but the quick create form in the shortcut menu remains unchanged :/

    Any help appreciated!!

    niks
    Last edited by nikidinsey; 2008-08-27 at 12:52 PM.

  3. #3
    nikidinsey is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    22

    Default Re: Quick create forms - New modules

    I can now answer question 1: to manipulate the quickcreate forms you have to edit the code in the following file:

    ../modules/<mod name>/metadata/sidecreateviewdefs.php

    Then once you've edited the file to match your required fields, delete the following cache file so it can be regenerated:

    ../cache/modules/<mod name>/form_SideQuickCreate_<mod name>.tpl

    then it should work fine.

    I'm surprised that the quickcreate layout options in Studio don't seem to work, perhaps this is for something else I haven't seen yet. I also still don't know the correct way to remove the quick create form from my module (guessing you just blank the sidecreateviewdefs.php file..) but since I have it working I'm not going to pursue.

    solved

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Email Quick Create Case Forms
    By dgoldwine in forum Help
    Replies: 0
    Last Post: 2008-05-15, 05:13 PM
  2. email box view "Relate to" Quick Create
    By russellau in forum Help
    Replies: 1
    Last Post: 2007-07-18, 11:13 PM
  3. Replies: 0
    Last Post: 2007-05-28, 10:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •