AnsweredAssumed Answered

replace a long link

Question asked by raliuk2012@gmail.com raliuk2012@gmail.com on May 13, 2015
Latest reply on May 13, 2015 by raliuk2012@gmail.com raliuk2012@gmail.com
MERGED
This conversation has been merged. Please reference the main conversation:
I've a url field in the list view and I don't want to show the entire directory, I just want to show the word download. how I can do that?

I have had the word 'download' but it redirecting me to the homepage

listviewdefs

'MOSTRARURL_C' =>   array (
    'type' => 'url',
    'default' => true,
    'label' => 'LBL_MOSTRARURL',
    'width' => '10%',
    'customCode' => '<a href="{$fields.url.value}">download</a>', 
  ),

url field



list view

Outcomes