Login

 

Got a question for us?

Get help from our team within 24 hours

Problems to access downloads, install or configure a module? Remarks, bugs or suggestions? We treat your request within 24 hours.

Thanks for your feedback!

HomeHomeExpert ModulesExpert ModulesFriendlier URLFriendlier URLCataLook Product Details PageCataLook Product Details Page
Previous
 
Next
New Post
11/22/2010 11:51 PM
 

I purchased the FUP and I am primarily interested in making the CataLook Product Details Page URLs as simple as possible.
Can I change the product details pages from something like this:
http://www.mysite.com/Default.aspx?tabid=64&CategoryID=1&List=1&Level=1&ProductID=2
to be as simple as:
http://www.mysite.com/my_product_name
or
http://www.mysite.com/products/myproductname
Including extensionless?
If so, how?  I've read throught the FUP.Documentation and its not clear.  Are there examples somewhere?  For the extensionless, what else do I change besides the "enable extensionless" check box?

 
New Post
11/25/2010 10:46 AM
 

 Hi,

Aricie.FriendlierUrlProvider allows you to change the CataLOOK product details pages. Look into the Module Specific Strategies section if the CataLOOk rewrite rule is existing else add it.


0

If you should add the strategy for catalook module, choose ItemPane_NF module to add it. Select the right provider (CatalookUrlRewriter) and click on Add Provider link.

Use the group [/${ProductName}] to show the product name
Use the group [/${AdvCatName}] to show the advanced category name
Use the group [/${CategoryName}] to show the standard category name

You must add the rewrite group between rules aliases like on the screenshot.

Activate Extensionless Urls

To activate extensionless urls, you should click on the link "Activate Extension less Urls".

For the next step, you should know the IIS version that you use :

  • If you're running IIS 6 or IIS 7 in classic mode, you should also configure your web server to add a wildcard isapi extension
  • If you're running IIS 7 in integrated mode, you should just verify if the rewrite group [.{Extension}] had been successfully remove in the rule alias else do it manually.

 

Best regards,
Aricie Team
 


Célian GASPARD
Développeur
Société de conseil et de service en informatique et systèmes d'information
 
New Post
11/27/2010 9:36 PM
 

 

Thank you.  I was finally able to get it to mostly work.

For the CatalookUrlRewriter, when I used the Rewriting rule as displayed in cgaspard's screenshot, I still got lots of other information in the URL.  So I modified it to the following:

[${Scheme}][${UserInfo}][${RootPath}][/${ProductName}][/${ControlKey}][#${Fragment,QueryStringFlag}]

This did allow me to end up with detail product pages like this:  mysite.com/productname

However, the browse by category functionality no longer works.  Is there some other way this can be accomplished?  Perhaps use  [/${CategoryName}]  when showing the product list, but only show [/${ProductName}]  when viewing the product details? 

 

I also had to resolve the following before getting it to work:

  1. I had the buggy release of 2.1.1.  I discovered the problem from the "Install problem version 2.1.1" post.  I downloaded it again from SnowCovered and reinstalled it; which fixed this issue.
  1. I also did not realize that "Administrators" in the "Disabling Roles" meant that I could not see the changes unless I viewed the site on another PC or logged in as a different user.  Perhaps this should be made more clear for people like me.
 
New Post
11/29/2010 10:46 AM
 

 Hi,

Your needs are a little bit more difficult than an module specific strategie. You must extend your module specific strategy with a conditionnal behavior to switch between your use cases.

First of all, you must edit the module specific strategy general rewrite rule to show only the category and we will see how to add a conditionnal behavior for the case where the module show a product detail.

Edit the general rewrite rule for the catalook specific strategy

[${Scheme}][${UserInfo}][${RootPath}][/${Lang}][/${TabPath,None}][/${TabName,None}][/${AdvCatName}][/${ControlKey}][?${QueryString,None}][#${Fragment,QueryStringFlag}]

I have delete the product rewriting group, he will be processed with the conditionnal rule.
Notice : Replace [/${AdvCatName}] by [/${CategoryName}] if you are using the standard category of CataLook.

How to add a conditionnal behavior

  • Open the module specific section and go on your specific stragtegy for the Catalook module.
  • Open the Conditionnal Behavior section and click on the "Add Conditionnal Behavior" link.

     
  • A new rules forms appear with an additionnal section above, "Flee Boolean Expression"

     
  • The Flee Boolean Expression allow you to add an specific condition to define a specific use case. In our case, you want have only the product name without the category name when you are on a detailled product page. So we need to know when we have a product to show to specify a specific rule for the product. The following Flee Boolean Expression does the job correctly : Input.Param("ProductID") <> ""
     
  • The last step is to verify on the overriding settings of the specific Catalook Stragtegy if "Override Conditional Settings" is checked

 

Best Regards,
Aricie Team


Célian GASPARD
Développeur
Société de conseil et de service en informatique et systèmes d'information
 
New Post
6/23/2011 6:14 PM
 

Wonderful!!!

I'm sure that's the solution many of Catalook admins were looking for...

Many thanks.

 
New Post
6/24/2011 3:53 PM
 

cgaspard wrote

 Hi,

Your needs are a little bit more difficult than an module specific strategie. You must extend your module specific strategy with a conditionnal behavior to switch between your use cases.

First of all, you must edit the module specific strategy general rewrite rule to show only the category and we will see how to add a conditionnal behavior for the case where the module show a product detail.

Edit the general rewrite rule for the catalook specific strategy

[${Scheme}][${UserInfo}][${RootPath}][/${Lang}][/${TabPath,None}][/${TabName,None}][/${AdvCatName}][/${ControlKey}][?${QueryString,None}][#${Fragment,QueryStringFlag}]

I have delete the product rewriting group, he will be processed with the conditionnal rule.
Notice : Replace [/${AdvCatName}] by [/${CategoryName}] if you are using the standard category of CataLook.

How to add a conditionnal behavior

  • Open the module specific section and go on your specific stragtegy for the Catalook module.
  • Open the Conditionnal Behavior section and click on the "Add Conditionnal Behavior" link.

     
  • A new rules forms appear with an additionnal section above, "Flee Boolean Expression"

     
  • The Flee Boolean Expression allow you to add an specific condition to define a specific use case. In our case, you want have only the product name without the category name when you are on a detailled product page. So we need to know when we have a product to show to specify a specific rule for the product. The following Flee Boolean Expression does the job correctly : Input.Param("ProductID") <> ""
     
  • The last step is to verify on the overriding settings of the specific Catalook Stragtegy if "Override Conditional Settings" is checked

 

Best Regards,
Aricie Team

Since it could be nice to read localized urls, I was wondering if somehow is possible, using your solution, to use a localized value of advanced category. I saw a localized value of my adv.categories lives in CAT_Resources table while there's no localization in CAT_AdvCategories.

Any solution for that?

 
New Post
4/10/2012 7:07 PM
 

Hello Guys,

I have applied the settings above and it works fine for Catalook!

Except for some Product Detail Page I get this error:

Server Error in '/' Application.

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /hu/ft-250e-b2-eu-ce-ad%C3%B3-vevo-w-pa-43-tölto-fnb-83-akku.aspx

______________________

I suspect for special characters in Product Name. If there is this character in the product name: ö - it gives the error above.

Actually I have already completed the Char replace Transformation rules for these characters:

éèêë€ïìîòóôõöûüűùúâàáäãçñÿ - and in the URL above there is no such a character which is not among these. So the problem could be somewhere else.

There are other problematic URLs as well but all of these should be covered by the Transformation rule:

Requested URL: /hu/vl-1000-quadra-1-kw-rh-végerősítő.aspx

Requested URL: /hu/vp-1000-tápegység-vl1000--hez.aspx

I applied the new settings by press Save Portal Settings, and restart the host application. Shall I rebuild or clear something else?

Can you please give me some advice how to avoid this issue?

Thanks in advance

 
Previous
 
Next
HomeHomeExpert ModulesExpert ModulesFriendlier URLFriendlier URLCataLook Product Details PageCataLook Product Details Page