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

Pagina Wishlist
 
kfcsas
Jr. Member
 
Total Posts:  10
Joined:  2012-04-16
 

Ho un problema con la pagina wishlist,

mi da il seguente errore:Fatal error: Call to a member function toHtml() on a non-object in C:\xampp\htdocs\magento\app\design\frontend\default\mapple2\template\wishlist\view.phtml on line 50

Mentre il codice della pagina increminata è il seguente ( in grassetto la linea 50):

<form id="wishlist-view-form" action="<?php echo $this->getUrl('*/*/update', array('wishlist_id' => $this->getWishlistInstance()->getId())) ?>" method="post">
            
<?php echo $this->getChildHtml('top'); ?>
            
<fieldset>
                
<?php if ($this->hasWishlistItems()): ?>
                        <?php 
echo $this->getBlockHtml('formkey');?>
                        <?php $this
->getChild('items')->setItems($this->getWishlistItems()); ?>
                        <?php 
echo $this->getChildHtml('items');?>
                        
<script type="text/javascript">decorateTable('wishlist-table')</script>
                <?php 
else: ?>
                    
<class="wishlist-empty"><?php echo $this->__('You have no items in your wishlist.'?></p>
                
<?php endif ?>
                
<div class="buttons-set buttons-set2">
LINEA 50 -------->   <?php echo $this->getChild('control_buttons')->toHtml();?>
                
</div>
            </
fieldset>
        </
form>

Praticamente la pagina mi viene così visualizzata:

Image Attachments
Pagina lista desideri.jpgPagina lista desideri.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
kfcsas
Jr. Member
 
Total Posts:  10
Joined:  2012-04-16
 

Ho già risolto!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Black Cat
Moderator
 
Avatar
Total Posts:  3481
Joined:  2008-02-14
Assemini / Cagliari (Italy)
 

è buona educazione in un forum postare la soluzione del problema a beneficio di tutta la comunità rasberry

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