| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Lowercase clean urls | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Lowercase clean urls
Does anyone know how to have the clean url's that are generated to be lowercase?
Cheers, Al. |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Lowercase clean urls
Try this: Open include/func/func.clean_urls.php and find
Code:
Code:
Backup file first, this is not tested
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||
|
|||||||
Re: Lowercase clean urls
hey - thanks for the response, that makes perfect sense to me, but doesn't seem to work for some reason!
I've tried converting to lowercase in a few areas and can't seem to find a solution! |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Lowercase clean urls
This should work when you click "auto generate clean url's" in admin/tools. It won't work when you edit/create product. Where are you trying to have this functionality?
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||
|
|||||||
Re: Lowercase clean urls
Hey Steve - yeah I'm trying to have the lowercase url generated as the user adds the product to the store.
I've tried auto generating the clean URL's but still no joy - I've also cleared all the cache from my browser and the server. I've had a look in my DB as well and can't see any change which is strange! |
|||||||
#6
|
|||||||||
|
|||||||||
Re: Lowercase clean urls
Well the auto generate works only on products without clean urls so if your products have clean urls assign to them already auto generate won't change anything.
Open skin1/check_clean_url.js and find Code:
Code:
Now when you add new product in admin and enter product name and then move out of that field the url will be lower cases
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#7
|
|||||||
|
|||||||
Re: Lowercase clean urls
that's awesome, thanks!
|
|||||||
#8
|
|||||||
|
|||||||
Re: Lowercase clean urls
I try to do this in 4.3.2 and than all of my pages are white screens including the admin part.
How can i do it in 4.3.2 ? Thanks Divy
__________________
X-cart 4.3.2 BCSE Product Importer Updater Pro Smart Search |
|||||||
#10
|
|||||||
|
|||||||
Re: Lowercase clean urls
oops. I missed the brackets.
Thanks Steve. Is there a way to add a additional field (short description, it have only 2-3 words) along with the name of the product in the url as well as in the page title ? Divy
__________________
X-cart 4.3.2 BCSE Product Importer Updater Pro Smart Search |
|||||||
|
|||
X-Cart forums © 2001-2020
|