Hi,
I am a newbie to Konakart, i am trying to add a new language to the system, when i changed the language i found that it always go back to home page, how to make it stay on the same page ?
Thanks.
James
Since our store-front is a Struts application, you just have to modify the struts-config.xml file to change the navigation.
Thanks for your prompt reply.
I'm try to modify struts-config.xml like this to test when changing currency
<action path="/SelectCurrency" type="com.konakart.actions.SelectCurrencySubmitAction" name="SelectCurrencyForm" scope="request">
<!-- forward name="MainPage" path="/Welcome.do"/-->
<forward name="ShippingAndReturns" path="/CatalogShippingAndReturnsPage.do"/>
</action>
After restart tomcat but it still go the homepage instead, am i doing the correct thing ? Would u mind give me some hints on that ?
Thanks a lot.
James
Looks like you've modified the SelectCurrency action. I though that you were concerned with changing the language?
actually i want to do it for both as changing currency and changing language will go to home page instead of staying at the same page.
Unless you've changed the action class to return ShippingAndReturns instead of MainPage you should leave in MainPage in the config file.
But user can change Currency and Language at any page not just ShippingandReturn, how to make it ?