KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: nickgk on July 15, 2008, 09:08:36 pm

Title: URL Problem
Post by: nickgk on July 15, 2008, 09:08:36 pm
Thanks to everyone who has helped me with issues so far and to the Konakart team for creating such a good system. I launched my konakart site a yesterday -> http://www.susato.com

I noticed today that I am having a problem with URL's to catalog pages not being directly accessible. The URL below is accessible through the category navigation without any trouble by going through the home page first (Pennywhistles->Kildare->-L-Series) Unfortunately, when it is accessed directly through a fresh browser I only get some of the tiles correctly populated - excluding the category navigation tile. When the '&redir=true' is removed from the URL it works fine. Of course, I need for these URL's to be externally accessible without going through the home page first. Can anyone shed some light on this?

http://www.susato.com/konakart/SelectCat.do?catId=148&prodsFound=21&redir=true&category=-L-%20Series

Regards,
Nick
Title: Re: URL Problem
Post by: rula on July 18, 2008, 06:43:32 pm
Hi nickgk,

categories-tile-1 not rendered correctly

1.
Search Exceptions

2.
View catMgr and catList beans in CategoriesTile1.jsp
<bean:define id="catMgr" name="kkEng" property="categoryMgr" type="com.konakart.al.CategoryMgr"/>
<bean:define id="catList" name="catMgr" property="catMenuList" type="java.util.List"/>

3.
Debug SelectCategoryAction1.java

regards, rula (newbie)
Title: Re: URL Problem
Post by: julie on July 20, 2008, 07:51:13 am
Hi Nick,

This is a problem that we fixed when selecting a product ( i.e. http://www.susato.com/konakart/SelectProd.do?prodId=1432&manufacturer=KWHI&category=Kelhorns&name=Susato%20Alto%20Kelhorn%20(ABS)%20in%20-F-&model=AKABSF ) but is still there when selecting a category.  We'll fix it for the next release. Take a look at SelectCategoryAction1.java compared to ShowProductDetailsAction.java . You'll see that in ShowProductDetailsAction we no longer look at the redir parameter to decide whether to do a redirection in order to get the SEO names to put in the URL and page title, description and keywords.

Maybe you can change SelectCategoryAction1.java to look for the seo.product.category parameter in the same way that ShowProductDetailsAction.java looks for the seo.product.name parameter ?