Results 1 to 9 of 9

Thread: Custom Module not showing tab names

  1. #1
    jmcalderond is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    Sugar, Hell
    Posts
    113

    Question Custom Module not showing tab names

    Hey everyone,

    I have a simple question here, hope you know why this happens!!!.

    After many isues with the custom modules I've created I decided to build them again from the
    scratch but without creating fields, layouts or search forms, nothing else but the relationship
    to the accounts module just to see if it works the way it is expected to work, but now the issue is
    that after you save the module and deploy it, I come not to see the tab names of my modules,
    well, after the deployment the tab is created but it is empty, it has no name.

    I don't find this normal, why this happens?, anyone knows why??, I hope so!!

    Thanks in advance!!!

    Juan Miguel

  2. #2
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Custom Module not showing tab names

    Hi Juan Miguel,
    this reminds me about another thread of yours, very similar to this, at the end of which you did come to a solution. I'm referring to this thread.
    Have you tried the same things?
    However, take a look at this thread, I think you'll find a solution there.
    What do you think the cookie monster eats ?

  3. #3
    jmcalderond is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    Sugar, Hell
    Posts
    113

    Cool Re: Custom Module not showing tab names

    Hi DragonflyMaster,

    ...Long time no speak!!

    I read what you suggested me to but I think that what's causing the problem now is a
    different thing; I'm working now with version 5.0.0e on a windows platform, I've tried
    creating the modules in sugarCE and pro versions but the problem is always there, even
    when the installation process finishes without problems, so, sugar has to be ok!!!.

    Try the following please, this is what I'm doing now to test the functioning of the custom
    modules I create before building the whole thing, I do it this way because there's always
    something that goes wrong. Ok, I create the module using the module builder and I select
    a basic module and the only thing that I do is to create the relationship between my module
    and the accounts module and change the label name of the field Name, which is the field
    I have to use to see it as a link in the listview rigth!!!, after that I save the module I deploy it,
    everything seems to work fine but the tabnames are not visible.

    What can be causing this issue??, I think that the way I just explain for creating modules
    does not have anything wrong or am I wrong??

    Thanks in advance for your suggestions!!!

    Juan Miguel

  4. #4
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Custom Module not showing tab names

    I tried what you said, and I had the same issue creating a new custom module in italian (ie empty label).
    Creating the custom module and the relationship with accounts in english, the label is created alright and not empty.
    Also, try this: create the custom module and deploy it, check if the label is there, then create the relationship.
    What do you think the cookie monster eats ?

  5. #5
    jmcalderond is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    Sugar, Hell
    Posts
    113

    Unhappy Re: Custom Module not showing tab names

    Quote Originally Posted by DragonflyMaster
    I tried what you said, and I had the same issue creating a new custom module in italian (ie empty label).
    Creating the custom module and the relationship with accounts in english, the label is created alright and not empty.
    Also, try this: create the custom module and deploy it, check if the label is there, then create the relationship.
    Hi,

    I tried what you told me to but the problem is still there, I created the module in spanish language and the label is empty, but if you change the language to english then you can see the label name.

    Any ideas to solve this issue DragonflyMaster??

    Regards!!!

    Juan Miguel

  6. #6
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Custom Module not showing tab names

    Quote Originally Posted by jmcalderond
    Hi,

    I tried what you told me to but the problem is still there, I created the module in spanish language and the label is empty, but if you change the language to english then you can see the label name.

    Any ideas to solve this issue DragonflyMaster??

    Regards!!!

    Juan Miguel
    Maybe I'm repeating myself here, but... create the module in english and deploy, then translate the label in spanish, not viceversa.
    Doing the same with italian worked for me.
    What do you think the cookie monster eats ?

  7. #7
    jmcalderond is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    Sugar, Hell
    Posts
    113

    Unhappy Re: Custom Module not showing tab names

    ...No man!!!,

    That didn't work for me, I created the module in english and deployed it, then translated the label field for the module title "LBL_MODULE_TITLE:" in spanish but the tabname is still empty.

    what could be possibly be happening for this issue to remain there??

    Regards

    Juan Miguel

  8. #8
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Custom Module not showing tab names

    Let's try this:
    open <sugar-root>/custom/include/language/es_es.lang.php (create it if not existing) and add this line:
    PHP Code:
    $app_list_strings['moduleList']['My_module']='My_module_label'
    Change My_module with the name of your module and My_module_label with the label you want in the tab.
    What do you think the cookie monster eats ?

  9. #9
    jmcalderond is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    Sugar, Hell
    Posts
    113

    Smile Re: Custom Module not showing tab names

    Quote Originally Posted by DragonflyMaster
    Let's try this:
    open <sugar-root>/custom/include/language/es_es.lang.php (create it if not existing) and add this line:
    PHP Code:
    $app_list_strings['moduleList']['My_module']='My_module_label'
    Change My_module with the name of your module and My_module_label with the label you want in the tab.
    Hi everyone,

    Pasting that code line above and making of course the appropiate changes didn't work also!!!!

    Thank God!!!, I finally made it work!!!!!, but I have to say that there's some kind of bug that makes this issue
    happen and it happened to me when I created the custom module using a "basic" module in the module builder,
    I don't know why!!!!; this time I created my module using the "Issue" module and everything went fine, am happy
    for that, but there's a little question I have to make about the list that shows in the accounts subpanel, why that
    list ain't taking the label names I wrote for that view and is still showing me the field names of my module??, I've
    changed them a couple of times using the module builder but changes aren't being taken!!!, can anyone tell
    me please what can I do to see the label names I want???

    Regards!!!

    Juan Miguel

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 2008-07-30, 11:29 AM
  2. Replies: 4
    Last Post: 2008-04-17, 01:15 PM
  3. Relate custom module to cases
    By bchard in forum Help
    Replies: 1
    Last Post: 2008-04-04, 02:18 AM
  4. Replies: 0
    Last Post: 2007-11-21, 12:08 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
  •