Magento Forum

   
My wishlist, link to a home page
 
antrax13
Member
 
Total Posts:  46
Joined:  2008-08-26
 

Hi,

Upgrade 1.4.1 to 1.4.2 and i solved My wishlist error changed theme/layout/wishlist.xml to 1.4.2 version and all work fine, but the link on the top page don´t work, this sent me to the home page (http://www.domain com/ue_en/) instead (http://www.domain.com/ue_en/wishlist/)

how I can fix this bug?

Thanks!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
vinnc
Jr. Member
 
Avatar
Total Posts:  27
Joined:  2010-07-23
 

Hello. Is it worth it in your config Auto-redirect to Base URL? Are you sure you checked your wishlist.xml?  If you need a working example wishlist.xml in my blog.

 
Magento Community Magento Community
Magento Community
Magento Community
 
antrax13
Member
 
Total Posts:  46
Joined:  2008-08-26
 

Hi,

Auto-redirect to Base URL, it´s OK, Now it´s (yes 302 found)

I use a new wishlist.xml to a downloaded magento 1.4.2:

<?xml version="1.0"?>
<!--
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category design
* @package base_default
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/

-->
<layout version="0.1.0">

<!--
Default layout, loads most of the pages
-->

<default>

<reference name="top.links">
<block type="wishlist/links" name="wishlist_link"/>
<action method="addLinkBlock"><blockName>wishlist_link</blockName></action>
</reference>

<!-- Mage_Wishlist -->
<reference name="right">
<block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" after="cart_sidebar" template="wishlist/sidebar.phtml"/>
</reference>

</default>

<!--
Customer account pages, rendered for all tabs in dashboard
-->

<customer_account>
<!-- Mage_Wishlist -->
<reference name="customer_account_navigation">
<action method="addLink" translate="label" module="wishlist" ifconfig="wishlist/general/active"><name>wishlist</name><path>wishlist/</path><label>My Wishlist</label></action>
</reference>
</customer_account>

<!--
Customer account home dashboard layout
-->

<customer_account_index>

<reference name="right">
<action method="unsetChild"><name>wishlist</name></action>
</reference>
</customer_account_index>

<!--
Wishlist pages
-->

<wishlist_index_index translate="label">
<label>Customer My Account My Wishlist</label>
<!-- Mage_Wishlist -->
<update handle="customer_account"/>
<reference name="my.account.wrapper">
<block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml"/>
</reference>
<reference name="right">
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
</reference>
</wishlist_index_index>

<wishlist_index_share translate="label">
<label>Customer My Account Wishlist Sharing Form</label>
<!-- Mage_Wishlist -->
<update handle="customer_account"/>
<reference name="my.account.wrapper">
<block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml"/>
</reference>
<reference name="right">
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
</reference>
</wishlist_index_share>

<wishlist_shared_index translate="label">
<label>Customer Shared Wishlist View</label>
<!-- Mage_Wishlist -->
<reference name="content">
<block type="wishlist/share_wishlist" name="customer.wishlist" template="wishlist/shared.phtml"/>
</reference>
</wishlist_shared_index>
</layout>

Attached previous wishlist.xml, i don´t know see if ok or need change something.

can you see this files, thanks!!!

File Attachments
wishlist_.xml  (File Size: 4KB - Downloads: 142)
 
Magento Community Magento Community
Magento Community
Magento Community
 
vinnc
Jr. Member
 
Avatar
Total Posts:  27
Joined:  2010-07-23
 

Hi....Сhange this one block in your file

<reference name="top.links">
            <
block type="wishlist/links" name="wishlist_link">
                <
action method="addWishlistLink"></action>
            </
block>
        </
reference>
on this one
<reference name="top.links">
            <
block type="wishlist/links" name="wishlist_link"/>
            <
action method="addLinkBlock"><blockName>wishlist_link</blockName></action>
        </
reference>

 
Magento Community Magento Community
Magento Community
Magento Community
 
antrax13
Member
 
Total Posts:  46
Joined:  2008-08-26
 

Hi,

I try you solution but not solve this problem, all work fine but wishlist link in top menu go to http://www.domain com/ue_en/ instead of http://www.domain com/ue_en/wishlist/.

It´s posble change this link?

thanks!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
RevolutionPoet
Jr. Member
 
Total Posts:  9
Joined:  2009-04-03
 

It’s probably your phtml page ( it’s using older code ).

YOUR/DESIGN/template/page/template/links.phtml

refer to:

base/default/template/page/template/links.phtml

- This has updated code, copy it.

 
Magento Community Magento Community
Magento Community
Magento Community
 
thefaust
Jr. Member
 
Total Posts:  3
Joined:  2011-02-14
 

Hi there,

I have got the same problem and can’t find a solution and don’t understand the last post. Thanks for your help!

 
Magento Community Magento Community
Magento Community
Magento Community
 
cheeseandrice
Sr. Member
 
Avatar
Total Posts:  120
Joined:  2009-01-05
 

Legends fix worked. I had this problem updating from 1.4.2 to 1.5.0.1.

Allso check to make sure your wishlist link works in the customer account page. If not then read this:

http://www.desv.us/invalid-method-mage_wishlist_model_itemcanconfigure-magento-1-5.html

Google Food: Wishlist link goes to index page, wishlist link does nothing, wishlist link broken

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sowmya M N
Jr. Member
 
Total Posts:  16
Joined:  2009-06-03
 

I tried all the above way, but still my wishlist link is going to home page.

 
Magento Community Magento Community
Magento Community
Magento Community
 
garv
Jr. Member
 
Total Posts:  1
Joined:  2011-11-21
 

<reference name="top.links">
<action method="addLink" translate="label title” module="wishlist"><label>My Wishlist</label><url helper="wishlist/getListUrl"/><title>My Wishlist</title><prepare/><urlParams/><position>10</position></action>
</reference>

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