Results 1 to 7 of 7

Thread: Adding Columns in Detail & Edit views

  1. #1
    newseed is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    11

    Default Adding Columns in Detail & Edit views

    Sugar Suite version 4.5.0c

    I cannot seem to create a second column in Accounts module in the Detailed View or the Edit View.

    Does this need to be configured by hand coding the detailedit.html file or is there a quicker method? Is this the only file to edit?

    Thank you for your time.

  2. #2
    chrisky is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Trondheim, Norway
    Posts
    293

    Cool Re: Adding Columns in Detail & Edit views

    You mean stuff like this [picture below]?

    Manual editing of files is necessary after which time, you are able to use studio.

    I covered in prior post(s) which files, so search for them and read them.
    Attached Images Attached Images  

  3. #3
    newseed is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    11

    Default Re: Adding Columns in Detail & Edit views

    Am I to assume that once this file is edited that it should take effect for all future new customizations in Studio or does it only apply to current customization?

    I did find your other post in this regards. I appreciate it very much.

    Have you done this successfully without errors to any portions of your customization whether current or new inputs?

  4. #4
    chrisky is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Trondheim, Norway
    Posts
    293

    Cool Re: Adding Columns in Detail & Edit views

    Thanks for letting me know that it helped ya, and for that, heres an old and terrifyingly ugly file we made a little while back..

    I tried for sometime, but couldn't get the picture small enough to meet sugarforums size limit, even with 50% compression as a JPG and tar gunzip'd...


  5. #5
    newseed is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    11

    Default Re: Adding Columns in Detail & Edit views

    YUCK!!

    Well, I did have some success in creating a second column in EditView.html and DetailView.html. What I don't understand is why the second column does not show up in the Users view or when previewing the actual Accounts page in action?

  6. #6
    chrisky is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Trondheim, Norway
    Posts
    293

    Default Re: Adding Columns in Detail & Edit views

    Quote Originally Posted by newseed
    YUCK!!

    Well, I did have some success in creating a second column in EditView.html and DetailView.html. What I don't understand is why the second column does not show up in the Users view or when previewing the actual Accounts page in action?
    Your right! yeah, it is yuck!

    I'm just looking at it, with some attention and see errors and areas for alot of improvement.. but ah well... we don't need it anymore, but in the beginning we had to have things on paper in order to keep track of'em and remember'em.. Otherwise you just get so lost and confused..

    As to your question... the bad news is that you must edit each view file individually and for each module.. it's a bit of work..
    I should in all fairness, mention that you'll need to edit that view in studio first, as until the first edit and save by studio....the studio' copy of a particular view for a particular module doesn't exist and isn't located where it would otherwise be..

    So the tip is to first edit/work with it in studio, then you can go manually edit it.. Oh another tip, before editing it manually, add a TON load of rows (done in studio), put in at least 5 if not 8-10 times more rows than you can imagine yourself using. trust me on this..

    The rows insertion, puts in the slot/span tags for studio, afterwards you can then edit the file with your text or html editor and play all day with the <tr> and </tr> (table row) tags; makybe create additional tables and spacing between them, and/or sub tables; and add/or edit the width of table columns (<td> tags).

    In our case, we have what we call master's (DetailView Master, etc.), these files are a view file with many hundreds of field slots, contained in countless tables of different design,. We just find it easier this way..

    So after finished editing in studio, with the view published, we'll manually edit the published file and remove the extra/unused tables. Also, it's at this point that we'll manually move the [data] field into tables of which we don't utilize the field label from sugar.

    For the above situations, when in studio we just place all these fields into a table, with the intention on manually moving them afterwards.. This is because studio obviously, is written to work with both the field and its label (though studio can be modified; we haven't done it yet nor have any intention at this point, just not neccessary for us nor justify our time).

    As for columns in studio, I did work up a design for that and planned on revising studio to work with columns and tables..

    Anyways, have fun with it all...

  7. #7
    newseed is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    11

    Default Re: Adding Columns in Detail & Edit views

    I like your suggestions about adding more rows than you need, organize it into tables and save a master file.

    With this being an freebie (work in progress), I don't have any beef with this software lacking a few things. I know they will come in time. But having the Add Colum feature would be great! I noticed that you have it a few other places but just not in Accounts.

    Here's another one for you: I don't think this is something even being considered or worth doing, but I wanted to know if it's possible to do (or maybe thought about doing in the future) this in CRM:

    I have a client that has 4 workstations and I would like to enter detailed info for each workstation. Typically, I would set up my Accounts info to have 4 set of entries for the workstations. Example:

    Workstation#: 1
    OS: Windows XP
    Type: Dell
    Location: Room 202


    and so forth. However, this may expand up to 20 before the end of next year and so I would have to keep creating new rows and fields for the next 16 new computers.

    Here's what I like to do. I like to have a special custom list that will format sub-entry list. In other words, this special custom list will depend on a user's entry so it can populate a set of sub-entry list ready to data entry. Example:

    Currently, this will be the only thing you will see:

    Number of Workstation:

    Then you will enter the number of workstations:

    Number of Workstation: 4

    Now four (4) sub-entries will automaticaly be created and ready for input:

    Workstation#: 1
    OS:
    Type:l
    Location:


    Workstation#: 2
    OS:
    Type:l
    Location:


    Workstation#: 3
    OS:
    Type:l
    Location:


    Workstation#: 4
    OS:
    Type:l
    Location:


    Of course I don't mind doing it manually but it is something that I do wish for.

    Your thoughts?

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
  •