Results 1 to 3 of 3

Thread: Extending a data field to complete a URL

  1. #1
    sandydomrep is offline Member
    Join Date
    Jan 2011
    Posts
    10

    Default Extending a data field to complete a URL

    My current database just stores the end digits e.g. 545 as the end part of a url e.g. www.mywebsite.com/search/show.php?id=545

    I have updated the accounts tables with these value and entered them in to the website field, but have no idea on how to automatically add the www.mywebsite.com/search/show.php?id= part of it.

    What's the best option? Updating the sql table column fields with the addition? which I have no idea how to do... or update the php file to add this?

    I have been looking at option 2 at the Modules/Accounts area, but can not find anywhere to do this. I am using SugarCRM version Version 6.1.1 (Build 5512).

    Using the search function on here, I found a reference to the detailviewdefs.php file and came across this part of the script,

    array (

    array (
    'name' => 'website',
    'type' => 'link',
    'label' => 'LBL_WEBSITE',
    'displayParams' =>
    array (
    'link_target' => '_blank',
    ),
    ),

    but am not sure if it is the right part of the code to edit or what amendments I should make to it. Any suggestions would be much appreciated. Sandy

  2. #2
    ozz_ is offline Member
    Join Date
    Jan 2011
    Posts
    7

    Smile Re: Extending a data field to complete a URL

    Hi There
    Have you tried the Admin -> Repair -> Expand Colum WIdth?

  3. #3
    sandydomrep is offline Member
    Join Date
    Jan 2011
    Posts
    10

    Default Re: Extending a data field to complete a URL

    Helllo Ozz

    Thanks for replying. I was thinking it would be something simple like a change in the php file somewhere. I had a look at what you suggested, but came up with the following

    'This function is not currently implemented for this configuration.'

    Not really sure what this means...I am using the community version.
    Sandy

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Text Field auto complete
    By kingjatin in forum Help
    Replies: 2
    Last Post: 2010-06-29, 03:17 AM
  2. Auto complete feature of the relate field does not work
    By prajeesh in forum Developer Help
    Replies: 0
    Last Post: 2010-03-19, 12:40 PM
  3. Replies: 0
    Last Post: 2010-01-12, 02:22 PM
  4. data from 1 field updates another field
    By sgilleland in forum Help
    Replies: 1
    Last Post: 2009-09-29, 02:26 PM
  5. Replies: 1
    Last Post: 2008-01-22, 01:47 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
  •