Theresa Arzadon-Labajo | ||||
Menu:
Powered by Website Baker |
In my views theme, I parse out the href with: $lnk = preg_replace('/<a href=\"(.*?)\">(.*?)<\/a>/', "\\1", $field->content); Then I construct the URL with: print $base_url.$lnk Another way to do this is to use Node:Nid instead of Node:Link. Then, in the theme file, use drupal_get_path_alias to return the alias (if you don't want the URL to be "node/XX". print $base_url."/".drupal_get_path_alias("node/".$field->content); Last changed: Feb 27 2020 at 4:12 PM Back |
|||