Categorie Module List displays extra blank line

  • Posts: 36
  • Thank you received: 5
10 years 8 months ago #186333

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : Chrome 39.0.2171.95 m

Hello,

Finally we have the Hikashop version of our web shop live !! (previously we had old VM version).
However the categories Module List shows an extra (undesirable) blank line (with the arrow) for each main category when displayed on the same menu where Hikaship products are displayed. So in the home page this does no happen but if you click on of the categories in the home page then you go to product/categories display in main content area and the module listing (in the sidebar) shows this undesirable extra lines.
This only happens with Hikashop option for bootstrap enabled.´
I don’t think it’s a template issue as I’ve tried this with Beez3 basic template and we have the same kind of problem.

I’ve tried setting “UL_DISPLAY_SIMPLELIST” to yes but though that solves the issue it is not the kind of presentation/display we want.

I hope you can help

Best regards


VC22

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 8 months ago #186355

Hi,

You need to remove the setting "links on main categories" in order to remove this blank line.
The "slider panel" system of Joomla 3 is not fully compatible with links on the category title.
If you want to keep the link on the category title, the best will be to add some custom CSS ; because the "slider panel" is not manage by HikaShop but by Joomla itself.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 5
10 years 8 months ago #186418

Hi Jerome,

We tried doing that (setting "links on main categories" to NO) but it does not solve the issue except for the categories with childs (the categories with no child category still sport the empty line with arrow)
Also with "links on main categories" set to NO, not only we only lose the ability to click and go to the main category (as expected) but in pages that don't have the graphic problem (empty line with arrow) we don't get to navigate at all to the categories because the slider does not work in those pages (check for instance the home page).

To compare this diferent behavious we have the main site and a test site:
Main: aqualoja.net "links on main categories" set to YES
Test: t2.aqualoja.net "links on main categories" set to NO (the directory is password protected please type "abcde" both for user and password)

Check the home page for both sites then click on one of the categories to navigate to catalog. The first category "Equipamento Senhora" has no childs whereas the 3dr category "FINA Aprovado c/ etiqueta" has childs. I hope you can check how both behave on the home page and in the page with categories/products on thee main body

I hope this helps, we appreciate if you can take a look at the CSS and hopefully came up with a solution for this to work with the "links on main categories" set to YES.

Best regards


VC22
Last edit: 10 years 8 months ago by Manuel TT.

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 7 months ago #186507

Hi,

Please edit the file "administrator/components/com_hikashop/helpers/sliders.php" and replace

	$this->count++;
By
	$this->count++;

	$text = trim($text);
	if(preg_match('#<a .*>.*</a>#i', $text))
		$text = '</a>' . str_replace('</a>', '', $text);

And also edit your HikaShop CSS file and replace
.accordion-heading a{background:transparent url(../images/j_arrow.png) 5px 50% no-repeat; padding-left:20px;font-weight:700;}
By
.accordion-heading a.accordion-toggle {display:inline;background:transparent url(../images/j_arrow.png) 5px 50% no-repeat; padding-left:20px;font-weight:700;}

It should fix the issue.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 5
10 years 7 months ago #186619

Thanks Jerome,

That solved the issue. I just had to find the CSS file at media/com_hikashop/css/frontend_default.css with firebug (I post so other can easily find it)
Can you confirm what will happen on next upgrade fro my current 2.3.5 version? Will the changes be lost and have to be redone or will the correction already be in the upgrade?

Just one 'not so good' thing remains:
In the home page if you click on the arrow nothing happens in the module (no slider action) but the page scrolls down just enough to leave out of sight the line for the category where you clicked . I can Imagine a less experienced user clicking in the arrow instead of the category text and feeling lost about this. Specially so because there was some visible action that lead nowhere and there's no text in sight to click anymore (he'll have to scroll up).
Can this also be improved or should i look for other solution (any suggestions welcomed)

Best regards


VC22

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 7 months ago #186661

Hi,

Yes the modifications will be integrated in the next release.

The system that you're using for the menu is the Joomla 3 accordion system.
It means that the way it react is not coming from HikaShop.
We added some CSS in the HikaShop CSS file in order to improve some parts of the display.
Because the title is also a link to the category, we have to put two links and I can't improve more the system because it will be outside of our possibilities (it's not in HikaShop).
So at this moment I can only suggest you to use other options in the module to not use the accordion system, or to use another module to display the category listing. You can also use some view override to made your own display.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 5
10 years 7 months ago #186828

Hi,

Nice to know it'll be integrated.

We appreciate the attention you had on this and understand the rest is outside Hikashop.

If we have success fixing what's going on on pages that don't have the Hikashop component loaded we'll share it here.

Best regards


VC22

Please Log in or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum