Announcement

Collapse
No announcement yet.

OpenUI SuperMod Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    OpenUI SuperMod Question



    Hi, I am using OpenUI along with PPT, CPT, and OPT and Miva 4.24. I
    have pretty customized layouts in CPT and PPT and I have now come to
    customizing the pages in OPT (Basket Page, Customer Account, Login,
    etc.) but I am finding them too limiting to do the customization that
    I want using OPT. I don't have the time right now to spend on writing
    a bunch of code so I was looking into OpenUI SuperMod. I wanted to
    ask the opinion of the group if this is a good module to use and if it
    is easy enough to customize? For example, the types of things that I
    want to do is change the "remove" and "update" buttons in the shopping
    cart to images, change label names in the billing and shipping address
    but keep the validation functionality and I keep running into road
    blocks doing this with the OPT module.

    Any feedback is greatly appreciated.

    Thanks!
    Heather



    #2
    OpenUI SuperMod Question



    THere is something called tolower...

    I'm not sure if you need to redirect to map of somewort.. or if it will
    work...
    but you might try it like this...I haven't tried it yet myself...

    RewriteCond ${lowercase:%{QUERY_STRING}}

    But if it works! LET US KNOW!!!

    Kelly



    Amanda P. - Miva List wrote:

    >I have Merchant Optimizer, and I'm trying to set up the mod rewrite rules so the merchant.mvc? product and category screen URLS rewrite to the MO pages. I am having problems because some product codes and categories have capital letters in them. When the URLs are rewritten, it keeps the caps in tact, but all of the MO pages are built with lowercase URLs.
    >
    >I tried the suggested rules that come with MO docs:
    >
    >RewriteEngine On
    >RewriteCond %{QUERY_STRING} Category_Code=(.*)& [NC]
    >RewriteRule ^(.*) http://storedomain.com/static/%1.html [R,L]
    >RewriteCond %{QUERY_STRING} Category_Code=(.*)$ [NC]
    >RewriteRule ^(.*) http://storedomain.com/static/%1.html [R,L]
    >RewriteEngine On
    >RewriteCond %{QUERY_STRING} Product_Code=(.*)& [NC]
    >RewriteRule ^(.*) http://storedomain.com/static/%1.html [R,L]
    >RewriteCond %{QUERY_STRING} Product_Code=(.*)$ [NC]
    >RewriteRule ^(.*) http://storedomain.com/static/%1.html [R,L]
    >
    >This rewrote my URLs like this: http://storedomain.com/static/produc...de=productcode
    >I have my Merchant2 files in my root directory, so maybe that's why. I finally fixed that problem by adding a ? to my rules like so:
    >
    >RewriteEngine On
    >RewriteCond %{QUERY_STRING} Category_Code=(.*)& [NC]
    >RewriteRule ^(.*) http://storedomain.com/static/%1.html? [R,L]
    >RewriteCond %{QUERY_STRING} Category_Code=(.*)$ [NC]
    >RewriteRule ^(.*) http://storedomain.com/static/%1.html? [R,L]
    >RewriteEngine On
    >RewriteCond %{QUERY_STRING} Product_Code=(.*)& [NC]
    >RewriteRule ^(.*) http://storedomain.com/static/%1.html? [R,L]
    >RewriteCond %{QUERY_STRING} Product_Code=(.*)$ [NC]
    >RewriteRule ^(.*) http://storedomain.com/static/%1.html? [R,L]
    >
    >Now this rewrites my URLs correctly except for the case issue I mentioned above:
    >http://storedomain.com/merchant.mvc?...egory_Code=abc
    >is rewritten to:
    >http://storedomain.com/static/abc.html
    >
    >However,
    >http://storedomain.com/merchant.mvc?...egory_Code=ABC
    >is rewritten to
    >http://storedomain.com/static/ABC.html
    >which does not exist since MO converts it all to lowercase:
    >http://storedomain.com/static/abc.html
    >
    >Can anyone suggest the proper syntax to rewrite the URLs to lowercase only? I've been looking at a million rewrite examples, and haven't found anything that works yet.
    >
    >Thanks,
    >Amanda
    >
    >
    >
    >
    >


    Comment

    Working...
    X