
Hi,
please have a look at this post.
This should solve the issue.
http://modxcms.com/forums/index.php/topic,16456.msg123881.html#msg123881
:-)
// ---------------------------------------------------
// Function: buildURL
// Build a URL with regard to Ditto ID
// ---------------------------------------------------
function buildURL($args,$id=false,$dittoIdentifier=false) {
global $modx, $dittoID;
$dittoID = ($dittoIdentifier !== false) ? $dittoIdentifier : $dittoID;
$query = array();
foreach ($_GET as $param=>$value) {
if ($param != 'id' && $param != 'q') {
$keyparam =htmlspecialchars($param, ENT_QUOTES);
$keyvalue = (is_array($value)) ? array_walk($value,"ditto::applyHsc") : htmlspecialchars($value, ENT_QUOTES);
$query[$keyparam] = $keyvalue;
}
}
if (!is_array($args)) {
$args = explode("&",$args);
foreach ($args as $arg) {
$arg = explode("=",$arg);
$query[$dittoID.$arg[0]] = urlencode(trim($arg[1]));
}
} else {
foreach ($args as $name=>$value) {
$query[$dittoID.$name] = urlencode(trim($value));
}
}
$queryString = "";
foreach ($query as $param=>$value) {
$queryString .= '&'.$param.'='.(is_array($value) ? implode(",",$value) : $value);
}
$cID = ($id !== false) ? $id : $modx->documentObject['id'];
$url = (isset($modx->documentObject['id'])) ? $modx->makeURL(trim($cID), '', $queryString) : 'index.php?id='.$GLOBALS['modID'].$queryString;
return ($modx->config['xhtml_urls']) ? $url : str_replace("&","&",$url);
}
function applyHsc($var){
$var = htmlspecialchars($var, ENT_QUOTES);
}
Hi,
could you PM me a login/pwd to check your install.
:-)

Install tvEditor
Before using tvEditor, you have to install the required chunks.