Fetching module data using the base class functions, like get() or getApproved(), will use the internal function replaceInternalPageLinks() to make sure these variables are replaced with the actual URL set in the config.php file. If you're writing a new function in a custom module, it's best to run each item through the module's get() function:public function getTeamMembers() {
$team = array();
$q = sqlquery("SELECT ...");
while ($f = sqlfetch($q)) {
$team[] = $this->get($f);
}
return $team;
}
]]>