Hello all
i have copied a site settings and pointed it to publish to a different location for testing, all publishes out fine however the urls in the navigation are all missing from the published files. In the body, the urls work fine ad when i switch site ids the urls work ok
if anyone has any suggestions it would be most appreciated
Thanks
Nicholas
resolved, edited the expression in the context publishing tab from
$contentType = $sys.item.definition.internalName;
if ($sys.crossSiteLink)
$prefix = $sys.site.url;
else
$prefix = ‘’;
$filename = $sys.template.prefix + ‘item’ +
$sys.item.getProperty(‘rx:sys_contentid’).String;
if ($contentType == ‘GPcnt_Generic’) {
if ($sys.item.getProperty(‘rx:filename’).String.length() > 0) {
$filename = $sys.item.getProperty(‘rx:filename’).String.trim();
}
}
$prefix + $sys.pub_path + $filename +
$rx.location.getFirstDefined($sys.item,‘rx:activeimg_ext,rx:sys_suffix’, ‘.html’);
to:-
$contentType = $sys.item.definition.internalName;
$prefix = ‘’;
$filename = $sys.template.prefix + ‘item’ +
$sys.item.getProperty(‘rx:sys_contentid’).String;
if ($contentType == ‘GPcnt_Generic’) {
if ($sys.item.getProperty(‘rx:filename’).String.length() > 0) {
$filename = $sys.item.getProperty(‘rx:filename’).String.trim();
}
}
$prefix + $sys.pub_path + $filename +
$rx.location.getFirstDefined($sys.item,‘rx:activeimg_ext,rx:sys_suffix’, ‘.html’);