• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 03, 2024, 11:29:58 pm

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - makjames

1
I'm very disappointed that no one give a helping hand on this question, may be this is a very silly question!  i'm not asking for the code just some guideline is very good. Though 16 people read but no one replied.
2
Sorry, would anyone can give me some hints on adding a About Us Page ? I have tried several days and my efforts still in vain.

Thanks you so much.

James.
3
But user can change Currency and Language at any page not just ShippingandReturn, how to make it ?
4
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.
5
Programming of KonaKart / Adding a Aboutus page
March 01, 2011, 11:12:03 am
Hi,

I found that there is no "About US" page in Konakart so i try to add by myself, basically what i have done is reference to the ContactUs page and do the following modification

1. struts-config.xml added
      <action path="/CatalogContactUsPage" forward="catalog.contactus.page"/>      
   -->   <action path="/CatalogTestingPage" forward="catalog.testing.page"/>      

      <action path="/ContactUs" type="com.konakart.actions.ContactUsAction"><forward name="ContactUs" path="/CatalogContactUsPage.do"/></action>
   -->   <action path="/Testing" type="com.konakart.actions.Testing"><forward name="Testing" path="/CatalogTestingPage.do"/></action>
2. tiles-defs.xml added
   <definition name="catalog.contactus.page" extends="main.layout"><put name="body" value="/WEB-INF/jsp/CatalogContactUsBody.jsp"/></definition>
   -->          <definition name="catalog.testing.page" extends="main.layout"><put name="body" value="/WEB-INF/jsp/Testing.jsp"/></definition>

   <definition name="catalog.contactus.page" extends="main.layout"><put name="body" value="/WEB-INF/jsp/CatalogContactUsBody.jsp"/></definition>
   -->          <definition name="catalog.testing.page" extends="main.layout">   <put name="body" value="/WEB-INF/jsp/Testing.jsp"/></definition>

3. InformationTils.jsp added
-->     <html:link page="/Testing.do">Testing</html:link>   

when i click the link the error msg is

Status report

message No action instance for path /Testing could be created

description The server encountered an internal error (No action instance for path /Testing could be created) that prevented it from fulfilling this request.


Am i missing sth or do it in the wrong way and Whst else i should do to make it work ?

Thanks.

James.



6
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
7
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