I created a new phtml site for customer named subscriptions. I am trying to add a link to dashboard.phtml in customer/account/dashboard.phtml by using a function getBookklubbUrl() that I added to Mage/Customer/Block/Account/Dashboard/Address.php
public function getBookklubbUrl()
In the layout map in customer.xml I added the following block:
<block type="customer/account_dashboard" name="customer_account_dashboard_subscriptions" template="customer/account/dashboard/subscriptions.phtml"/>
I am trying to refer to the site by calling the function getBookklubbUrl() as following:
<a href="<?php echo $this->getBookklubbUrl() ?>"><?php echo $this->__('Dina klubbgrenar') ?></a>
But it doesn’t work, the subscriptions.phtml is not found. Can someone tell me what I am missing and how should I do to get it work.