Results 1 to 4 of 4

Thread: Need help with help screens - problem with renamed tabs

  1. #1
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Need help with help screens - problem with renamed tabs

    I am having trouble with my hep screens for modules where I have renamed the tabs

    The help screens work for listview but not for detail & editview

    This is because it passes the new name not the module name

    e.g.

    I have renamed Accounts to Companies

    When I click on help on the detailscreen the url is:

    Actual
    Code:
    https://dev.sugaraddress.co.uk/dev/index.php?module=Administration&action=SupportPortal&view=documentation&version=5.1.0c&edition=CE&lang=en_us&help_module=Companies&help_action=DetailView&key=
    What it should pass
    Code:
    https://dev.sugaraddress.co.uk/dev/index.php?module=Administration&action=SupportPortal&view=documentation&version=5.1.0c&edition=CE&lang=en_us&help_module=Accounts&help_action=DetailView&key=
    Any idea how I can fix this?
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  2. #2
    hileon's Avatar
    hileon is offline Sugar Team Member
    Join Date
    May 2008
    Location
    Shanghai
    Posts
    187

    Default Re: Need help with help screens - problem with renamed tabs

    Where did you renamed Accounts to Companies?
    Use the "Rename Tabs" function in "Admin panel", and change the labels in Studio.
    Or rename the directory name in sugar instance?

  3. #3
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Need help with help screens - problem with renamed tabs

    Quote Originally Posted by hileon View Post
    Where did you renamed Accounts to Companies?
    Use the "Rename Tabs" function in "Admin panel", and change the labels in Studio.
    Or rename the directory name in sugar instance?
    I used the "Rename Tabs" function in "Admin panel", and changed the labels in Studio.
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  4. #4
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Need help with help screens - problem with renamed tabs

    I have managed to get it working by editing /modules/Administration/SupportPortal.php

    I added

    if ($send_module == 'Companies') $send_module = 'Accounts';
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Renamed a tab, lost the subpanel
    By Danielg42 in forum Developer Help
    Replies: 3
    Last Post: 2007-08-03, 10:47 PM
  2. problem with hidden tabs
    By Fleury in forum Developer Help
    Replies: 2
    Last Post: 2006-10-20, 02:10 PM
  3. Problem removing tabs
    By skeohane in forum Help
    Replies: 4
    Last Post: 2005-01-22, 11:58 PM
  4. Renamed to Help Forum
    By clint in forum Help
    Replies: 0
    Last Post: 2004-07-07, 02:49 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
  •