Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Adding Custom Block to My Account Page
 
CVinson86
Member
 
Avatar
Total Posts:  40
Joined:  2008-06-18
 

Hey,
I’m currently working on a module based on the Points and Rewards module from the PHP Arch book, and I’m having trouble getting the My Account page to show the module info.

I’ve got a box appearing on the page with the correct title, but the contents won’t show.
My layout file is as follows:

<?xml version="1.0"?>
<layout>
    <
customer_account_index>
        <
reference name="customer_account_dashboard">
            <
action method="setTemplate">
                <
template>licensesystem/my_dashboard.phtml</template>
            </
action>
            <
block type="core/template"
            
name="customer_account_licenses"
            
as="licenses"
            
template="licensesystem/dashboard_license.phtml"/>
        </
reference>
    </
customer_account_index>
</
layout>

Where should dashboard_license.phtml be located?  The book is unclear, and I’ve tried every spot I can think of.

Thanks,
-Colin

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top