Results 1 to 3 of 3

Thread: Creating Custom layout

  1. #1
    prajeesh is offline Senior Member
    Join Date
    Jun 2009
    Posts
    64

    Default Creating Custom layout

    Hi

    I would like to change the layout of the edit view for one of my custom modules. For example the layout should look similar to the 'Fill Matrix TimeSheet' in Timesheet module. Please guide me.


    Thanks,
    Prajeesh

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Creating Custom layout

    You should read the Administrator manual ... especially the Studio section

  3. #3
    mvngti is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    South Africa
    Posts
    510

    Default Re: Creating Custom layout

    To do a layout other than the standard two columns of fields you will need to create a custom EditView.

    You have to create either a custom view.edit.php (preferred) or EditView.php for your module to display the bean using a custom template.

    Create a smarty template that displays the view the way you want it and then the custom view has to simply populate and display the template.

    Have a look at the EditView.php of the timesheet module you mention as an example.

    M
    --


    Marnus van Niekerk

    There are only 10 types of people in the world
    those who can read binary and those who don't

    Modules:
    CE Teams - Upgrade safe teams module for Community Edition
    FieldACL - Field Level Access Control for Community Edition
    EditLogicHooks - Create and edit Logic Hooks from the Admin GUI
    FlexibleChartDashlet - Display any data in a Dashlet Chart
    DocumentThumbnails - Thumbnails for Documents module

    Many questions can be answered by reading the Developers Manual

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 2010-03-12, 08:37 PM
  2. Creating Custom layout
    By prajeesh in forum Help
    Replies: 0
    Last Post: 2009-08-14, 12:11 PM
  3. How to change custom module pop-up layout?
    By sugar7478 in forum Developer Help
    Replies: 1
    Last Post: 2009-02-27, 03:59 PM
  4. Problems With layout and Custom Fileds
    By mntrdadmin in forum Developer Help
    Replies: 1
    Last Post: 2007-11-30, 09:34 AM
  5. Custom field/layout question
    By signaljim in forum Help
    Replies: 1
    Last Post: 2006-02-04, 03:33 PM

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
  •