Is there a reason why you called getCurrentItem() after another ?
if(($item = $this->getCurrentItem()))
{
if ($this->getCurrentItem()->canView())
{
otherwise you could just use if ($item->canView())
i found this because i am trying to make a cms , where you can add a DOAP in 9 languages at once.
So i need to change a lot. When i got it working i will upload a screenshot :)
Is there a reason why you called getCurrentItem() after another ?
if(($item = $this->getCurrentItem())) { if ($this->getCurrentItem()->canView()) {
otherwise you could just use if ($item->canView())
i found this because i am trying to make a cms , where you can add a DOAP in 9 languages at once. So i need to change a lot. When i got it working i will upload a screenshot :)
thanks for sharing this module !