Results 1 to 3 of 3

Thread: link to custom page module in listview

  1. #1
    rakeshray is offline Sugar Community Member
    Join Date
    Jun 2010
    Location
    Hyderabad (India)
    Posts
    313

    Default link to custom page module in listview

    Hi,

    Using process logic hook i am populating data in a column in list view.
    This data is coming from different module than module of list view.
    Now i want to give link on this columns values, just like we see link on name field in Accounts module's list view.
    I want to redirect on a custom php page when clicking on any value of this column
    Please any body give me some idea to resolve this issue !

    Thanks

  2. #2
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: link to custom page module in listview

    For this column try to use 'customCode' on your listviewdefs.php. Then into customCode you can add field values using {$fields.field_name.value}
    Then you can render your own link customCode => "<a href=...>...</a>."
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  3. #3
    rakeshray is offline Sugar Community Member
    Join Date
    Jun 2010
    Location
    Hyderabad (India)
    Posts
    313

    Default Re: link to custom page module in listview

    Quote Originally Posted by rafael.q.g@hotmail.com View Post
    For this column try to use 'customCode' on your listviewdefs.php. Then into customCode you can add field values using {$fields.field_name.value}
    Then you can render your own link customCode => "<a href=...>...</a>."

    thanks for responding !

    Heare i have two problems , when i will remove this field from studio and once again when i will enable this field , custom code will be removed .
    Another thing is that i want to put here some url which on clicking will redirect to some other module ,where some specific data will be displayed. Means some specified
    data in url will be displayed.
    Is it possible through view.list.php file !!

    please give me any idea !

    Thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. add link to related module in listview
    By Aroddo in forum Developer Help
    Replies: 2
    Last Post: 2011-10-26, 09:14 PM
  2. Replies: 6
    Last Post: 2009-08-10, 09:38 AM
  3. Create link on custom fields in listview in 5.2.0CE
    By santiagomunez82 in forum Help
    Replies: 0
    Last Post: 2009-06-24, 11:03 AM
  4. Replies: 0
    Last Post: 2008-11-20, 02:10 PM
  5. Replies: 0
    Last Post: 2005-10-19, 02:49 AM

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
  •