Aricie
The DNN Expert for your web project
DNN Community Forums

CataLook Product Details Page

Sort:
You are not authorized to post a reply.
Page 1 of 212 > >>
Author
Messages


andyh











New Member



Posts:




New Member



    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/Def...&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?



    Deleted User











    New Member



    Posts:




    New Member



       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
       



      andyh











      New Member



      Posts:




      New Member



         

        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.


        Deleted User











        New Member



        Posts:




        New Member



           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



          peppezic











          New Member



          Posts:




          New Member



            Wonderful!!!

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

            Many thanks.

            You are not authorized to post a reply.
            Page 1 of 212 > >>