Changing URL of Wishlist without change to core codeHow to override config.xmlEdit wishlist configurable item has wrong URLAdd automatically a product to wishlist after order is donemagento existing method rewrite with moduleset default router if method not specifiedRewriting app/code/core/Mage/Adminhtml/contollers/Catalog/ProductController.phphow to override a Core Customer Model in a local module in magento 1.9.2Adding product to wishlist without redirect to wishlist page stay on same pageHow to edit “This Shipping method is currently unavailable” messageError while creating module fatal error: Class 'Mage_Cart_Insuranceupsell_Helper_Data' not found in src/app/Mage.php on line 555

Why do we need common sense in AI?

If your plane is out-of-control, why does military training instruct releasing the joystick to neutralize controls?

Print the last, middle and first character of your code

What specific instant in time in the MCU has been depicted the most times?

The tensor product of two monoidal categories

Is "I do not want you to go nowhere" a case of "DOUBLE-NEGATIVES" as claimed by Grammarly?

Shortest hex dumping program

Using `PlotLegends` with a `ColorFunction`

Graduate student with abysmal English writing skills, how to help

Is there any word for "disobedience to God"?

Should disabled buttons give feedback when clicked?

Would dual wielding daggers be a viable choice for a covert bodyguard?

Why is the ladder of the LM always in the dark side of the LM?

Why doesn't sea level show seasonality?

Is a request to book a business flight ticket for a graduate student an unreasonable one?

Swapping "Good" and "Bad"

Why did Harry Potter get a bedroom?

How do we handle pauses in a dialogue?

Why didn't Thanos kill all the Dwarves on Nidavellir?

Is there any reason why MCU changed the Snap to Blip

How can a dictatorship government be beneficial to a dictator in a post-scarcity society?

Is "De qui parles-tu" (for example) as formal as it is in English, or is it normal for the French to casually say that

Single word for "refusing to move to next activity unless present one is completed."

Why was hardware diversification an asset for the IBM PC ecosystem?



Changing URL of Wishlist without change to core code


How to override config.xmlEdit wishlist configurable item has wrong URLAdd automatically a product to wishlist after order is donemagento existing method rewrite with moduleset default router if method not specifiedRewriting app/code/core/Mage/Adminhtml/contollers/Catalog/ProductController.phphow to override a Core Customer Model in a local module in magento 1.9.2Adding product to wishlist without redirect to wishlist page stay on same pageHow to edit “This Shipping method is currently unavailable” messageError while creating module fatal error: Class 'Mage_Cart_Insuranceupsell_Helper_Data' not found in src/app/Mage.php on line 555






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I'm working on Magento CE 1.9.2.2 site and want to change the URL to the Wishlist that comes with Magento.



I tried to copy app/code/core/Mage/Wishlist/etc/config.xml to app/code/local/Mage/Wishlist/etc/config.xml and change the following:



<routers>
<wishlist>
<use>standard</use>
<args>
<module>Mage_Wishlist</module>
<frontName>moodboard</frontName>
</args>
</wishlist>
</routers>


The intention is to change the URL to /moodboard as opposed to /wishlist.



This doesn't work. However if I edit the core version of the file (in app/code/core/) it works.



I've disabled the cache, reindexed, etc etc and it doesn't work.



Obviously I don't want to edit core code so am trying to make my changes in app/code/local. Why doesn't it work?










share|improve this question
























  • This is a solution which worked: stackoverflow.com/questions/10047194/…

    – Andy F
    Apr 14 '16 at 13:40

















1















I'm working on Magento CE 1.9.2.2 site and want to change the URL to the Wishlist that comes with Magento.



I tried to copy app/code/core/Mage/Wishlist/etc/config.xml to app/code/local/Mage/Wishlist/etc/config.xml and change the following:



<routers>
<wishlist>
<use>standard</use>
<args>
<module>Mage_Wishlist</module>
<frontName>moodboard</frontName>
</args>
</wishlist>
</routers>


The intention is to change the URL to /moodboard as opposed to /wishlist.



This doesn't work. However if I edit the core version of the file (in app/code/core/) it works.



I've disabled the cache, reindexed, etc etc and it doesn't work.



Obviously I don't want to edit core code so am trying to make my changes in app/code/local. Why doesn't it work?










share|improve this question
























  • This is a solution which worked: stackoverflow.com/questions/10047194/…

    – Andy F
    Apr 14 '16 at 13:40













1












1








1








I'm working on Magento CE 1.9.2.2 site and want to change the URL to the Wishlist that comes with Magento.



I tried to copy app/code/core/Mage/Wishlist/etc/config.xml to app/code/local/Mage/Wishlist/etc/config.xml and change the following:



<routers>
<wishlist>
<use>standard</use>
<args>
<module>Mage_Wishlist</module>
<frontName>moodboard</frontName>
</args>
</wishlist>
</routers>


The intention is to change the URL to /moodboard as opposed to /wishlist.



This doesn't work. However if I edit the core version of the file (in app/code/core/) it works.



I've disabled the cache, reindexed, etc etc and it doesn't work.



Obviously I don't want to edit core code so am trying to make my changes in app/code/local. Why doesn't it work?










share|improve this question
















I'm working on Magento CE 1.9.2.2 site and want to change the URL to the Wishlist that comes with Magento.



I tried to copy app/code/core/Mage/Wishlist/etc/config.xml to app/code/local/Mage/Wishlist/etc/config.xml and change the following:



<routers>
<wishlist>
<use>standard</use>
<args>
<module>Mage_Wishlist</module>
<frontName>moodboard</frontName>
</args>
</wishlist>
</routers>


The intention is to change the URL to /moodboard as opposed to /wishlist.



This doesn't work. However if I edit the core version of the file (in app/code/core/) it works.



I've disabled the cache, reindexed, etc etc and it doesn't work.



Obviously I don't want to edit core code so am trying to make my changes in app/code/local. Why doesn't it work?







magento-1.9 url-rewrite wishlist ce-1.9.2.2 router






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 14 '16 at 11:14









Siarhey Uchukhlebau

10.6k9 gold badges31 silver badges60 bronze badges




10.6k9 gold badges31 silver badges60 bronze badges










asked Apr 14 '16 at 11:09









Andy FAndy F

261 silver badge4 bronze badges




261 silver badge4 bronze badges












  • This is a solution which worked: stackoverflow.com/questions/10047194/…

    – Andy F
    Apr 14 '16 at 13:40

















  • This is a solution which worked: stackoverflow.com/questions/10047194/…

    – Andy F
    Apr 14 '16 at 13:40
















This is a solution which worked: stackoverflow.com/questions/10047194/…

– Andy F
Apr 14 '16 at 13:40





This is a solution which worked: stackoverflow.com/questions/10047194/…

– Andy F
Apr 14 '16 at 13:40










1 Answer
1






active

oldest

votes


















0














I’ll give this a stab.



Copying files from core -> local will work for files that are autoloaded. The modules config.xml is not autoloaded it is instead defined the the app/etc/modules/Whatever_Whatever.xml file which specifies the code pool from which to load the module from.



If you simply want to overwrite the xml you could do the following steps



  1. Create a new module called Namespace_Wishlist

  2. Make that module depend on Mage_Wishlist in the app/etc/modules/Namespace_Wishlist.xml file. This is so that it is loaded after Mage_Wishlist.

  3. Define the same xml that you have above in your new modules app/code/local/Namespace/Wishlist/etc/config.xml.

When magento merges the global config, your modules should overwrite the core values.






share|improve this answer























  • I tried this and it didn't work. Making a new module, just to change the URL used by another module, seems a little backward to me.

    – Andy F
    Apr 14 '16 at 12:51











  • It is a little backwards but you have to leverage how XML is merged if you want to avoid touching core files. Are you sure your custom module is installed correctly? Don't forget you will have to clear the config cache.

    – Luke Rodgers
    Apr 14 '16 at 14:06






  • 1





    Sorry, to complicate matters further there was actually a third party wishlist extension installed and I believe this is configured to use the URL /wishlist. That possibly explains why my initial modification didn't work - as it wasn't using the standard Magento functionality. I'm not sure if I set things up correctly according to your instructions, but I managed to override the URL in app/etc/local.xml (see Answer as a comment on my question). Thanks for your advice though.

    – Andy F
    Apr 14 '16 at 15:02











  • Cool. Yeah that answer does a similar thing under the hood. I just try to keep my local.xml clean and only to define how the site is connecting to databases and where to store sessions etc. I usually try and store changes like this in the app/code structure so that it can easily be shared and discovered by developers.

    – Luke Rodgers
    Apr 14 '16 at 15:07













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f110894%2fchanging-url-of-wishlist-without-change-to-core-code%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I’ll give this a stab.



Copying files from core -> local will work for files that are autoloaded. The modules config.xml is not autoloaded it is instead defined the the app/etc/modules/Whatever_Whatever.xml file which specifies the code pool from which to load the module from.



If you simply want to overwrite the xml you could do the following steps



  1. Create a new module called Namespace_Wishlist

  2. Make that module depend on Mage_Wishlist in the app/etc/modules/Namespace_Wishlist.xml file. This is so that it is loaded after Mage_Wishlist.

  3. Define the same xml that you have above in your new modules app/code/local/Namespace/Wishlist/etc/config.xml.

When magento merges the global config, your modules should overwrite the core values.






share|improve this answer























  • I tried this and it didn't work. Making a new module, just to change the URL used by another module, seems a little backward to me.

    – Andy F
    Apr 14 '16 at 12:51











  • It is a little backwards but you have to leverage how XML is merged if you want to avoid touching core files. Are you sure your custom module is installed correctly? Don't forget you will have to clear the config cache.

    – Luke Rodgers
    Apr 14 '16 at 14:06






  • 1





    Sorry, to complicate matters further there was actually a third party wishlist extension installed and I believe this is configured to use the URL /wishlist. That possibly explains why my initial modification didn't work - as it wasn't using the standard Magento functionality. I'm not sure if I set things up correctly according to your instructions, but I managed to override the URL in app/etc/local.xml (see Answer as a comment on my question). Thanks for your advice though.

    – Andy F
    Apr 14 '16 at 15:02











  • Cool. Yeah that answer does a similar thing under the hood. I just try to keep my local.xml clean and only to define how the site is connecting to databases and where to store sessions etc. I usually try and store changes like this in the app/code structure so that it can easily be shared and discovered by developers.

    – Luke Rodgers
    Apr 14 '16 at 15:07















0














I’ll give this a stab.



Copying files from core -> local will work for files that are autoloaded. The modules config.xml is not autoloaded it is instead defined the the app/etc/modules/Whatever_Whatever.xml file which specifies the code pool from which to load the module from.



If you simply want to overwrite the xml you could do the following steps



  1. Create a new module called Namespace_Wishlist

  2. Make that module depend on Mage_Wishlist in the app/etc/modules/Namespace_Wishlist.xml file. This is so that it is loaded after Mage_Wishlist.

  3. Define the same xml that you have above in your new modules app/code/local/Namespace/Wishlist/etc/config.xml.

When magento merges the global config, your modules should overwrite the core values.






share|improve this answer























  • I tried this and it didn't work. Making a new module, just to change the URL used by another module, seems a little backward to me.

    – Andy F
    Apr 14 '16 at 12:51











  • It is a little backwards but you have to leverage how XML is merged if you want to avoid touching core files. Are you sure your custom module is installed correctly? Don't forget you will have to clear the config cache.

    – Luke Rodgers
    Apr 14 '16 at 14:06






  • 1





    Sorry, to complicate matters further there was actually a third party wishlist extension installed and I believe this is configured to use the URL /wishlist. That possibly explains why my initial modification didn't work - as it wasn't using the standard Magento functionality. I'm not sure if I set things up correctly according to your instructions, but I managed to override the URL in app/etc/local.xml (see Answer as a comment on my question). Thanks for your advice though.

    – Andy F
    Apr 14 '16 at 15:02











  • Cool. Yeah that answer does a similar thing under the hood. I just try to keep my local.xml clean and only to define how the site is connecting to databases and where to store sessions etc. I usually try and store changes like this in the app/code structure so that it can easily be shared and discovered by developers.

    – Luke Rodgers
    Apr 14 '16 at 15:07













0












0








0







I’ll give this a stab.



Copying files from core -> local will work for files that are autoloaded. The modules config.xml is not autoloaded it is instead defined the the app/etc/modules/Whatever_Whatever.xml file which specifies the code pool from which to load the module from.



If you simply want to overwrite the xml you could do the following steps



  1. Create a new module called Namespace_Wishlist

  2. Make that module depend on Mage_Wishlist in the app/etc/modules/Namespace_Wishlist.xml file. This is so that it is loaded after Mage_Wishlist.

  3. Define the same xml that you have above in your new modules app/code/local/Namespace/Wishlist/etc/config.xml.

When magento merges the global config, your modules should overwrite the core values.






share|improve this answer













I’ll give this a stab.



Copying files from core -> local will work for files that are autoloaded. The modules config.xml is not autoloaded it is instead defined the the app/etc/modules/Whatever_Whatever.xml file which specifies the code pool from which to load the module from.



If you simply want to overwrite the xml you could do the following steps



  1. Create a new module called Namespace_Wishlist

  2. Make that module depend on Mage_Wishlist in the app/etc/modules/Namespace_Wishlist.xml file. This is so that it is loaded after Mage_Wishlist.

  3. Define the same xml that you have above in your new modules app/code/local/Namespace/Wishlist/etc/config.xml.

When magento merges the global config, your modules should overwrite the core values.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 14 '16 at 11:17









Luke RodgersLuke Rodgers

3,3021 gold badge17 silver badges42 bronze badges




3,3021 gold badge17 silver badges42 bronze badges












  • I tried this and it didn't work. Making a new module, just to change the URL used by another module, seems a little backward to me.

    – Andy F
    Apr 14 '16 at 12:51











  • It is a little backwards but you have to leverage how XML is merged if you want to avoid touching core files. Are you sure your custom module is installed correctly? Don't forget you will have to clear the config cache.

    – Luke Rodgers
    Apr 14 '16 at 14:06






  • 1





    Sorry, to complicate matters further there was actually a third party wishlist extension installed and I believe this is configured to use the URL /wishlist. That possibly explains why my initial modification didn't work - as it wasn't using the standard Magento functionality. I'm not sure if I set things up correctly according to your instructions, but I managed to override the URL in app/etc/local.xml (see Answer as a comment on my question). Thanks for your advice though.

    – Andy F
    Apr 14 '16 at 15:02











  • Cool. Yeah that answer does a similar thing under the hood. I just try to keep my local.xml clean and only to define how the site is connecting to databases and where to store sessions etc. I usually try and store changes like this in the app/code structure so that it can easily be shared and discovered by developers.

    – Luke Rodgers
    Apr 14 '16 at 15:07

















  • I tried this and it didn't work. Making a new module, just to change the URL used by another module, seems a little backward to me.

    – Andy F
    Apr 14 '16 at 12:51











  • It is a little backwards but you have to leverage how XML is merged if you want to avoid touching core files. Are you sure your custom module is installed correctly? Don't forget you will have to clear the config cache.

    – Luke Rodgers
    Apr 14 '16 at 14:06






  • 1





    Sorry, to complicate matters further there was actually a third party wishlist extension installed and I believe this is configured to use the URL /wishlist. That possibly explains why my initial modification didn't work - as it wasn't using the standard Magento functionality. I'm not sure if I set things up correctly according to your instructions, but I managed to override the URL in app/etc/local.xml (see Answer as a comment on my question). Thanks for your advice though.

    – Andy F
    Apr 14 '16 at 15:02











  • Cool. Yeah that answer does a similar thing under the hood. I just try to keep my local.xml clean and only to define how the site is connecting to databases and where to store sessions etc. I usually try and store changes like this in the app/code structure so that it can easily be shared and discovered by developers.

    – Luke Rodgers
    Apr 14 '16 at 15:07
















I tried this and it didn't work. Making a new module, just to change the URL used by another module, seems a little backward to me.

– Andy F
Apr 14 '16 at 12:51





I tried this and it didn't work. Making a new module, just to change the URL used by another module, seems a little backward to me.

– Andy F
Apr 14 '16 at 12:51













It is a little backwards but you have to leverage how XML is merged if you want to avoid touching core files. Are you sure your custom module is installed correctly? Don't forget you will have to clear the config cache.

– Luke Rodgers
Apr 14 '16 at 14:06





It is a little backwards but you have to leverage how XML is merged if you want to avoid touching core files. Are you sure your custom module is installed correctly? Don't forget you will have to clear the config cache.

– Luke Rodgers
Apr 14 '16 at 14:06




1




1





Sorry, to complicate matters further there was actually a third party wishlist extension installed and I believe this is configured to use the URL /wishlist. That possibly explains why my initial modification didn't work - as it wasn't using the standard Magento functionality. I'm not sure if I set things up correctly according to your instructions, but I managed to override the URL in app/etc/local.xml (see Answer as a comment on my question). Thanks for your advice though.

– Andy F
Apr 14 '16 at 15:02





Sorry, to complicate matters further there was actually a third party wishlist extension installed and I believe this is configured to use the URL /wishlist. That possibly explains why my initial modification didn't work - as it wasn't using the standard Magento functionality. I'm not sure if I set things up correctly according to your instructions, but I managed to override the URL in app/etc/local.xml (see Answer as a comment on my question). Thanks for your advice though.

– Andy F
Apr 14 '16 at 15:02













Cool. Yeah that answer does a similar thing under the hood. I just try to keep my local.xml clean and only to define how the site is connecting to databases and where to store sessions etc. I usually try and store changes like this in the app/code structure so that it can easily be shared and discovered by developers.

– Luke Rodgers
Apr 14 '16 at 15:07





Cool. Yeah that answer does a similar thing under the hood. I just try to keep my local.xml clean and only to define how the site is connecting to databases and where to store sessions etc. I usually try and store changes like this in the app/code structure so that it can easily be shared and discovered by developers.

– Luke Rodgers
Apr 14 '16 at 15:07

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f110894%2fchanging-url-of-wishlist-without-change-to-core-code%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form