summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-06-13 20:10:17 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-06-13 20:10:17 +0000
commitf3234366d63fc2789dcccd22308240e681b552c9 (patch)
tree26a51b5ffb63d8820b5bac0efe1d343f04c6879a
parent4a3b1c212259282f0175703279dc7dfce6af266e (diff)
downloadnexus-f3234366d63fc2789dcccd22308240e681b552c9.tar.gz
nexus-f3234366d63fc2789dcccd22308240e681b552c9.tar.bz2
nexus-f3234366d63fc2789dcccd22308240e681b552c9.zip
fix nexus menus for now - need to fully load() every object that we can getDisplayLink() as it's not standardised throughout. this should be amended some time soon.
-rw-r--r--Nexus.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/Nexus.php b/Nexus.php
index 1a1dc7b..a05c54a 100644
--- a/Nexus.php
+++ b/Nexus.php
@@ -4,7 +4,7 @@
*
* @abstract
* @author xing <xing@synapse.plus.com>
-* @version $Revision: 1.22 $
+* @version $Revision: 1.23 $
* @package nexus
*/
@@ -345,13 +345,16 @@ class Nexus extends NexusSystem {
$type['content_object'] = new $type['handler_class']();
}
- $ret = $type['content_object']->getDisplayUrl( NULL, $row );
+ $type['content_object']->mContentId = $row['content_id'];
+ $type['content_object']->load();
+ $ret = $type['content_object']->getDisplayUrl();
break;
case 'structure_id':
$ret .= BIT_ROOT_URL.'index.php?structure_id='.$pItemHash['rsrc'];
break;
}
}
+ vd($ret);
return $ret;
}