| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Category Titles | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Recently just ran a test import in 4.1.3 and at first I noticed that category titles are not using & in place of & which I thought would be a minor issue if I just change the titles to use & when I import via CSV (3.x-4.x method) instead and that is what I did. But when I'm browsing in a category with subcategoires I would see & instead of & in the subcategory which is a problem.
I've looked in ../skin1/customer/main/subcategories.tpl but that one is "escaped" which is what I believe what I need to do. It is the bar on the left side with all the root categories that is not "escaped". So I made the change to ../skin 1/customer/categories.tpl from Code:
Code:
__________________
4.1.8 |
|||||||
#2
|
|||||||
|
|||||||
![]() Any help would be greatly appreciated.
__________________
4.1.8 |
|||||||
#3
|
|||||||
|
|||||||
![]() Not a problem. That is what X-Cart should have done in the first place.
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
#4
|
|||||||
|
|||||||
![]() Works here. Great idea. Except it breaks CDSEO in the page titles... I'm sure I can find a cure for this.
If we report this to x-cart, can I get my points back for what they claim was a "feature" of xcart? I'll argue with them next week. I'm too tired. ![]()
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#5
|
|||||||
|
|||||||
![]() Hmm...we'll probably be getting CDSEO soon, so if you figure something out, we'd be interested in seeing it too.
Thanks for the replies!
__________________
4.1.8 |
|||||||
#6
|
|||||||
|
|||||||
![]() Sorry for the double post! But I found some additional information.
I've noticed some additional files that may need editing. I have a skin from X-Cart so it may not necessary apply to everyone. The following files may / may not require change: Quote:
I'm rather confused about location.tpl since it uses Quote:
EDIT: While I'm on this, my Webmaster Mode seems to have broken slightly whereas it was working fine before. I'm not sure exactly what affected it. Could clearing the cache help?
__________________
4.1.8 |
|||||||
#7
|
|||||||
|
|||||||
![]() Quote:
Its a custom Smarty modifier that X-Cart introduced in 4.1. You can find it in include/templater/plugins/modifier.amp.php. All it does is convert any '&' not followed by 'amp;' to '&'. Pretty silly in my book. They should be using escape. But I guess they want to let people use '&' in their category titles but not ' ' or ''' etc. They really should choose - either you can use HTML in the titles or you can't. If you can't everything should go through escape. If you can leave it alone and its up to whoever is entering it to get it right.
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
#8
|
|||||||
|
|||||||
![]() Ralph, you made my night with this discovery!
Quote:
Or ™ (trademark) -- that was supposed to read: Code:
I'm on deadline for a tradeshow, or i would dig deaper into this tonight. It will have to wait a few days... but i'll re-visit this thread soon! Can't wait...
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#9
|
|||||||
|
|||||||
![]() OK, then I believe location.tpl should go from
Code:
Code:
__________________
4.1.8 |
|||||||
|
|||
X-Cart forums © 2001-2020
|