Results 1 to 10 of 10

Thread: Follow up on the Idiot tale.

  1. #1
    elvispresley99 is offline Sugar Community Member
    Join Date
    Aug 2004
    Posts
    54

    Exclamation Follow up on the Idiot tale.

    Ok, I have had a chance to look at it now. I am still not happy, but I am hoping someone can point me in the right direction. Apparently the developer / expert (both terms which I use lightly) was trying to add a field to the Opportunities page. In the process of doing so, he removed the Opportunity name field (required field) and then saved the form. When he tried to replace the Opportunity Name, it now shows the correct name of the opportunity, but it is no longer clickable to drill down on. The data shows up, but is not "linked" to the rest of the information.

    HOW DO YOU FIX THIS?? Please help!

    Thanks in advance!

  2. #2
    elvispresley99 is offline Sugar Community Member
    Join Date
    Aug 2004
    Posts
    54

    Default Re: Follow up on the Idiot tale.

    Ok, just to further clarify on this point. The Opportunity List View is what I am trying to fix. When I go to Opportunities, the list view currently shows the correct opportunity list. However, the link ability has been removed. Searching through some similar posts, it looks as though this is something that might be corrected with a small snippet of code. I am not a programmer, but I am comfortable with making this fix, if someone can point me in the right direction. I know that the individual that made this mistake will never figure it out, and now the company that deployed Sugar is up in arms about the possibility that they will lose all the hard work and data entered. Thank you so much for your kind and quick responses.

  3. #3
    pinetree is offline Sugar Community Member
    Join Date
    Nov 2005
    Posts
    34

    Default Re: Follow up on the Idiot tale.

    Have you tried simply replacing the appropriate files from the Official Sugar Package?

    Pine

  4. #4
    dtokeefe's Avatar
    dtokeefe is offline Sugar Community Member
    Join Date
    Mar 2005
    Location
    Sao Paulo, Brasil
    Posts
    671

    Default Re: Follow up on the Idiot tale.

    It's pretty easy to screw things up with the Field Layout tools. Almost always, your best bet is to copy the original EditView.html, DetailView.html or ListView.html filed to appropriate module folder (in this case, sugar/modules/Opportunities. That will get you back to the square one. From there you can play with your custom fields again.

    Cheers.

    David
    David O'Keefe
    Lampada Global Services
    SugarCRM Gold Partner
    USA: +1 908 998-2278
    BR: +55 11 3237-3110
    Skype: dtokeefe
    Email: equipe@lampadaglobal.com
    www.lampadaglobal.com

    Lampada Global delivers enterprise software and offshore programming services to customers around the world.

  5. #5
    elvispresley99 is offline Sugar Community Member
    Join Date
    Aug 2004
    Posts
    54

    Default Re: Follow up on the Idiot tale.

    To answer both of the above. No, I haven't replaced any files yet. I can try to do that later tonight. My fear is redesigning the Create Opportunity form. It is pretty MASSIVE!

    But it sounds like the only one that I would have to replace is the Opportunity List View module? Is that correct? The other pages seem to be untouched, and the drill downs still work from Accounts and Leads and so on. But there is currently no way to drill down from the opportunity page in the List View.

    Thanks again!

    Elvis

  6. #6
    stevec is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,100

    Default Re: Follow up on the Idiot tale.

    Sounds about right - if you have backups from the interviening period - see if you can pick out the appropriate ListView.html file from those. If he hasn't actually deleted field definitions, it should just frop straight into place.

  7. #7
    elvispresley99 is offline Sugar Community Member
    Join Date
    Aug 2004
    Posts
    54

    Default Re: Follow up on the Idiot tale.

    Are you talking about a backup of the Sugar directory? Or the back up from the admin page?

    thanks

    Elvis

  8. #8
    tholcomb is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Memphis
    Posts
    62

    Default Re: Follow up on the Idiot tale.

    I have a similar issue on my accounts List View - I used the rpath VMware sugarCRM appliance and it seems that the fella who rolled that product up didn't include any FTP client or server software. I can't even telnet into the box by default... So before I can replace files I'll need to learn how to install a package using conary, or learn how to mount a cd-rom drive (I'm pretty much a linux noob) and do it that way...

    What I'm really good at is using vi to edit ascii files. If I knew what code disappeared on me, I could put it back.

    My plan is to compare my current accounts list view file with the original install - only I don't know what files I'm looking for - can anyone point me towards the files one would need to look at to compare one's current module list view code with the original install list view code? If this information already exist in documentation - I'll be happy to read that - I just haven't been too lucky with tracking down documentation that thorough.
    Last edited by tholcomb; 2006-04-20 at 05:50 PM.

  9. #9
    stevec is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,100

    Default Re: Follow up on the Idiot tale.

    Quote Originally Posted by elvispresley99
    Are you talking about a backup of the Sugar directory? Or the back up from the admin page?

    thanks

    Elvis
    Either - they both backup the php and html pages only.

  10. #10
    stevec is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,100

    Default Re: Follow up on the Idiot tale.

    Quote Originally Posted by tholcomb

    My plan is to compare my current accounts list view file with the original install - only I don't know what files I'm looking for - can anyone point me towards the files one would need to look at to compare one's current module list view code with the original install list view code? If this information already exist in documentation - I'll be happy to read that - I just haven't been too lucky with tracking down documentation that thorough.
    Genially, look in the modules directory sub-directories exist for each module - eg

    modules/Accounts

    in there, there are generally two files for each main screen - a php file for the code, and an html file for the templating. It's the html file that you rearrange with the studio and which you can edit by hand - and it sounds like you need resetting.

    For each module there is generally three such pairs: ListView.html/php, DetailView.html/php and EditView.html/php

    So it seems you want to replace your current sugarcrm/modules/Accounts/ListView.html file with that supplied in the install package.

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
  •