Results 1 to 2 of 2

Thread: Display DetailView

  1. #1
    aksana is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    39

    Red face Display DetailView

    hi,
    I got stuck !!!!
    can anyone know how to display DetailView without having any subpanels?

    Im practicing on adding a new module on sugar v4.2.1.
    since subpanels stuff makes me so confused, I dont want a new module to have any relationship between modules.

    it seems like these three lines at the end of the DetailView.php in any module:

    <module/opportunities/ DetailView.php>
    require_once('include/SubPanel/SubPanelTiles.php');
    $subpanel = new SubPanelTiles($focus, 'Opportunities');
    echo $subpanel->display();

    is used to display DetailView. is it correct?

    when I run the program, I got this message:
    Warning: open_layout_defs(modules/Concerts/layout_defs.php) [function.open-layout-defs]: failed to open stream:

    coz I dont have one. or do I have to make this layout_defs.php anyway?
    tell me someone Please

    thanks,
    aksana

  2. #2
    paikmoses's Avatar
    paikmoses is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    541

    Default Re: Display DetailView

    Hi Aksana,

    If you are using the steps mentioned below, I think it will be more easy to create a new module with the sub-panel view.
    http://sugarcrm.openapp.org/?p=94

    Hope this helps.

    Regards,

Thread Information

Users Browsing this Thread

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

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
  •