If you use a PHP-field, you can then read the other field value like this:
| Code: |
//get value of other field
$database->setQuery("SELECT value "
."FROM #__pi_custom_fields_values "
."WHERE (field_id='29' AND item_id=$item_id) "
."LIMIT 1 "
);
$rows = $database->loadObjectList();
foreach($rows as $row){
$field_value = $row->value;
}
|
change 29 to the id of the other url text field. That will get you the url, you can then work on the value and echo the cleaned url. Use the php-field code in your template and you're set.