Next Webinar: Maximizing Magento - Get the Most out of Promotions. Register Today!

Magento

Open Source eCommerce Evolved

Magento Forum

   
Deep Customization
 
Right Click
Sr. Member
 
Avatar
Total Posts:  110
Joined:  2008-04-16
Roma
 

Hy Guys,

someone knows how can i customize the page in the magento/customer/account/edit/ like the
# Account Information
# Address Book
# My Orders
# My Product Reviews
# My Tags
# Newsletter Subscriptions
# My Wishlist

I can’t find the template.

Thanks

 Signature 

Creazione e personalizzazione Ecommerce Magento
_________________________________________________________
http://www.rcsolution.it - Magento Silver Partner

 
Magento Community Magento Community
Magento Community
Magento Community
 
Right Click
Sr. Member
 
Avatar
Total Posts:  110
Joined:  2008-04-16
Roma
 

No one Knows?

Thanks

 Signature 

Creazione e personalizzazione Ecommerce Magento
_________________________________________________________
http://www.rcsolution.it - Magento Silver Partner

 
Magento Community Magento Community
Magento Community
Magento Community
 
chinesedream
Guru
 
Total Posts:  660
Joined:  2007-08-31
San Francisco, CA
 

You can easily find out where a file is located by turning on the Template Path Hints
http://www.magentocommerce.com/boards/viewthread/2925/

I have literally customized every file in the template folder which contains 29 sub-folders and probably over 100 of phtml files, while time consuming and sometimes frustrating, but a great way for me to learn to make Magento template smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
magento-marie
Member
 
Avatar
Total Posts:  33
Joined:  2008-06-02
France
 

Hello Right-Click & Chinese Dream,

In fact, the template path hints about this precise topic tells us to look in customer/account/navigation.phtml…

<div class="box account-nav">
    <
div class="head">
        <
h3><?php echo $this->__('My Account'); ?></h3>
    </
div>
            <
ul>
                
<?php $_links $this->getLinks(); ?>
                <?php $_index 
1?>
                <?php $_count 
count($_links); ?>
                <?php 
foreach ($_links as $_link): ?>
                    <?php $_last 
= ($_index++ >= $_count); ?>
                    <?php 
if ($this->isActive($_link)): ?>
                        
<li class="on<?php echo ($_last ? ' last' : '') ?>"><?php echo $_link->getLabel() ?></li>
                    
<?php else: ?>
                        
<li<?php echo ($_last ' class="last"' ''?>><a href="<?php echo $_link->getUrl() ?>"><?php echo $_link->getLabel() ?></a></li>
                    
<?php endif; ?>
                <?php 
endforeach; ?>
            
</ul>
</
div>

But no precise element for isntance about how the link “Wishlist” is added…
Nothing in customer.xml either.
In my case, I wish to remiove it, and can’t find a way. Every wishlist option or module is deactivated in the backend…

Does someone has an idea ?

 Signature 

http://www.metre-carre.net

 
Magento Community Magento Community
Magento Community
Magento Community
 
dan_w
Sr. Member
 
Total Posts:  230
Joined:  2008-01-04
 

You need to make changes across a number of templates. You should probably first start by looking into the ->template->customer folder. You’ll notice a lot of phtml files such as dashboard.phtml, orders.phtml, wishlist.phtml etc. There are further folders and templates farther down the file structure, as well, but this is a good place to start

Dan

 
Magento Community Magento Community
Magento Community
Magento Community
 
zemigata
Jr. Member
 
Total Posts:  20
Joined:  2008-07-24
Milan
 

yes,but not for orders.phtml, doesn´t work......!!!! 

anyone knows how to edit my orders page and the Recent orders in dashboard?

Thanks

Z

 
Magento Community Magento Community
Magento Community
Magento Community
 
chinesedream
Guru
 
Total Posts:  660
Joined:  2007-08-31
San Francisco, CA
 

This probably isn’t help much, but I hope it does to some people.

This is my ‘customer/account/dashboard.html’ file from one of the themes I was working and have added comments. I have trimmed out divs and classes, and consolidate ‘info’ from two files to one.
<h2><?php echo $this->__('My Dashboard') ?></h2>
<div class="dashboard">
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
<?php echo $this->getChildHtml('hello') ?>
<?php echo $this->getChildHtml('top') ?><!--get recent order - located at sales/order/recent.phtml-->
<h4><?php echo $this->__('Account Information') ?></h4>
<?php echo $this->getChildHtml('info') ?> <!--get customer and newsletter subscription info-->
<?php echo $this->getChildHtml('address') ?><!--get billing and shipping address-->
<?php echo $this->getChildHtml('info1') ?><!--get recent reviews - located at ‘review/customer/recent.phtml’-->
<?php echo $this->getChildHtml('info2') ?> <!--get my recent tags - located at ‘tag/customer/recent.phtml’ -->
</div>

Recent order, recent review, recent tags only show if a customer has these added.
In the ‘review’, ‘tag’, ‘sales’ and ‘wishlist’ folders (not in the customer folder), you will see sub-folder, ‘customer’, everything in it all go to customer dashboard and its subsequent pages.

attached the end result

Image Attachments
dashboard.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
zemigata
Jr. Member
 
Total Posts:  20
Joined:  2008-07-24
Milan
 

Many thanks

sales/order/recent.phtml does the job, same as sales/order/history.phtml ... (which, I think, overrides customer/orders.phtml)

Z

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
41081 users|797 users currently online|87746 forum posts