Hello everyone,
I have a problem with catalog block. It works fine when i am exploring catalog but when I go to product page, there isn't showed path anymore and catalog is collapsed. Anyway to fix this?
Thanks
|
UbercartOne cart to rule them all... |
|
| Donate | Affiliates | Sponsors | ||
Catalog block collapsed
Submitted by mathiaz.sk on Tue, 01/29/2008 - 18:43
Hello everyone, I have a problem with catalog block. It works fine when i am exploring catalog but when I go to product page, there isn't showed path anymore and catalog is collapsed. Anyway to fix this? Thanks
I too have that issue! please help us, we are huddling together for warmth... We'll need a little more info... are you running the latest version of Ubercart? And do you have anything set for the visibility of that block in the block's configuration form? Hi Ryan, I'm running 1.0-beta2 version and I don't have a problem with whole block visibility (i.e. role permissions) block appears always what is fine. But If i am browsing catalog the links in block are expanded. Example if I am browsing Personal vehicle tires: Tires -- Winter -- -- Personal -- Summer -- All Year Other But when i click on some product from the catalog (its under Tires > Winter > Personal section) the product will be showed but the catalog will change to: Tires Other I hope that I was clearer now. Not really. Basically, I'm confused about how that happens. I've seen that happen a few times, but usually because I hadn't fixed it yet. I haven't seen it since I stopped working on it. Here is a link. It's slovak so don't be scared. http://pneu.mrcompany.sk/pneumatiky/osobne/letne its only one product i have and its tire in one category. If you click on product the path in left side block will be collapsed. http://pneu.mrcompany.sk/continental/conticontactplus-205-55-r16 (On web is version 1.0-alpha-8 but I have same problem on localhost) Hello Ubercart team, I've solved the problem with collapsed block and I would like share solution with you so you can fix it in some further release. The problem was in uc_catalog.module on line 1560 (beta 5) in line if (strpos($link, $branch_path) !== false){this should be changed on if (strpos($link, drupal_get_path_alias($branch_path)) !== false){I hope it helps. Well alright. Thanks for the fix. I hadn't tested having aliased catalog pages enough, it seems. This thread describes the issue my dev site carried around now for months on localhost and 2 servers. Breadcrumb ok, but collapsing catalog on product's node pages. Time to get rid of it <?phpUnlike others I decided there must be a more simple solution - something even I can understand. So I took a look into all variables drifting around in _uc_catalog_navigation($branch) and I came up with $link and $branch->name... In case of a match they get the same! <?phpIMO this issue is connected with i18n manipulating url_aliases. Long live ... you know who ... and the UCcommunity
|
|
Joined: 11/23/2007