17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 844 Views |
-
2.2.3: $Top in templates not working - bug in SSViewer

6 December 2008 at 8:54am
hi,
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?
cheers
max
| 844 Views | ||
|
Page:
1
|
Go to Top |

