Results 1 to 6 of 6

Thread: Birthdate tabbing problem

  1. #1
    LauraA is offline Junior Member
    Join Date
    Mar 2008
    Posts
    2

    Question Birthdate tabbing problem

    I'm a newbie to Sugar, and my first project has been to add fields and layout the Edit screen for Contacts. My problem is that the Birthdate field, which was there before I was, will not fall into it's "assigned" place. I have the latest version, Community version, it's not on a Windows server, but I have Windows XP, and that's as far as I can tell you. Everything else seems to be OK, just this thing - also, is it possible to get rid of the calendar itself? (That's not as important to answer as the tabbing order question.)

    I've looked in the Wiki, I've looked at several pages of the forum, and have found no other remarks on this. Probably an obvious fix, but it's over my head!

    Thank you for any help!

    Laura

  2. #2
    ptemplin7 is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Puget Sound Washington
    Posts
    380

    Lightbulb Re: Birthdate tabbing problem

    As to the calendar, from the admin page you are allowed to choose which tabs are displayed. Simply edit the list and only show the tabs you want shown.

    What version of sugar are you using?

    Is the birthdate field a type date? If not change it to be type datetime or whatever your database type is. You may need to use myphpadmin or other sql tool to fix your existing database if you have entered a bunch of data not using the datetime. I'm guessing based on your comments that you set up three fields to hold the birthday. If not you can set the tab order in the studio. There is a known bug in Sugar 5 that the tab order is set but not implemented. This is supposed to have been fixed but I haven't tested 5.0b yet.

    Hope this helps, If you can give us a screen shot/more data we can help further. Where do you have the Sugar server set up? Is it on your desktop (hence XP) or is it somewhere else? What DB? etc..

    Good luck,
    Paris

  3. #3
    LauraA is offline Junior Member
    Join Date
    Mar 2008
    Posts
    2

    Question Re: Birthdate tabbing problem

    Hello,

    Thank you, Paris for your response!

    This is Sugar 5.0.0b. I have set the tab order but it still doesn't seem to be working correctly. All other fields are tabbing in the correct order, but this one date field isn't. This is not a field that I created; it's a default field with a calendar attached to it. I do want to use this field, but want it to fall in a certain order - it should be #10 and it persists in falling in as the second stop on the tab train. As I said, I've assigned it #10 in the 'edit field' area, saved it, and it will still tell me it's #10 when I look back, but the HTML says otherwise and it doesn't work on the layout screen or the edit screen. All other fields that I've changed in the 'edit field' area fall into the order I've given them, custom or default alike.

    Looking at the HTML being output in the create contact screen.. it appears as if what I have set in the admin studio for tabbing order is being ignored.

    Do you (or anyone else) know if this actually was resolved in 5.0.0b?

    Thank you so much!
    Laura

  4. #4
    ptemplin7 is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Puget Sound Washington
    Posts
    380

    Default Re: Birthdate tabbing problem

    Yes the tab order is being ignored.

    I submitted a bug for this sometime ago under version 5.0a, supposedly it was fixed or being fixed. Sounds like they still haven't got it working right. Feel free to submit as a bug again. Use the text above and show a copy of you html.

    Maybe it will get fixed for good in 5.1. I'm still on version 5.0a working on some other undocumented bugs trying to get my implementation working fully. If you have problems with reporting the bug let me know and I can do it. This way they get the bug from different people. Might also make sure this is in the feature request thread they have set up!

    Thanks and good luck,
    Paris

    PS If you need more help, let me know, with in reason I am available for help paid or not. Looking to expand my knowledge and business but I can't compete with the pro's who are on this forum already!

  5. #5
    dameat is offline Member
    Join Date
    May 2008
    Posts
    5

    Default Re: Birthdate tabbing problem

    Here's a fix for this problem:
    In the file include/SugarFields/Fields/Datetime/EditView.tpl, go to line 38, or just search for 'tabindex';
    Where it says
    Code:
    tabindex="1"
    replace this with
    Code:
    tabindex="{{$tabindex}}"
    Now it will respect the tab order that you define. Not sure why it was hard coded in the first place - I'm going to update the bug report with the fix.

  6. #6
    hforbess is offline Member
    Join Date
    Jul 2008
    Posts
    13

    Default Re: Birthdate tabbing problem

    thanks.. that solved my problem.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Studio Problem
    By blade in forum Help
    Replies: 1
    Last Post: 2007-05-24, 04:02 PM
  2. Problem with MySQL while installing
    By Yuber in forum General Discussion
    Replies: 3
    Last Post: 2006-02-27, 10:15 AM
  3. Email Attachment Problem
    By George in forum Developer Help
    Replies: 1
    Last Post: 2005-05-18, 05:33 PM
  4. Chart character problem
    By marvel in forum Help
    Replies: 3
    Last Post: 2005-03-25, 05:00 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
  •