17487 Posts in 4473 Topics by 1978 members
|Go to End|
6 December 2008 at 8:54am
i just discovered that in version 2.2.3 (a fresh install) the $Top property is not working.
Example code (put in themes\blackcandy\templates\Page.ss):
$Title //returns page title
<% control Menu(1) %>
$Top.Title //returns nothing
<% end_control %>
In SSViewer.php i came across an interesting line (204):
SSViewer::$topLevel = null;
Commenting this line out makes $Top working again, as some lines before that one (148), $topLevel is properly set.
I'm not upgrading from an older version currently, but i can imagine this causing real trouble. Can anyone confirm it's a very bug? Oder did i miss something?
|Go to Top|