output lists in stead of DIV's after upgrade J3.0

  • Posts: 81
  • Thank you received: 2
11 years 8 months ago #93514

Maybe this topic does not belong here, so please correct me if I should take this problem to a generalJoomla forum.

I got the following problem with menu's in category-view and product-view after an update from Joomla 2.5.9 tot Joomla 3.03 on a testwebsite on my local pc:
my menu's are configured to do <div> output, but they show lists..
I found this code in listing_div.php:

if(!HIKASHOP_RESPONSIVE) {
?>
      <div class="hikashop_category hikashop_category_column_<?php echo $current_column; ?> hikashop_category_row_<?php echo $current_row; ?>" style="width:<?php echo $width;?>%;">
        <div class="hikashop_container">
          <div class="hikashop_subcontainer <?php echo $borderClass; ?>">
<?php
      } else {
?>
      <li class="span<?php echo $span; ?> hikashop_category hikashop_category_column_<?php echo $current_column; ?> hikashop_category_row_<?php echo $current_row; ?>">
        <div class="hikashop_container">
          <div class="hikashop_subcontainer <?php echo $borderClass; ?>">
<?php
      }

It seems the 'else' function (showing a list) is beeing used on my site, but I do not know why.


What I already tried:
* I checked all global configuration and menu configuration to be sure div's are selected to show the categories and products.
* Reinstalled Hikashop
* made new menuitems

Could this be a template problem, because I do not think this is a Hikashop problem to be honest.

thanks, Roy

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

  • Posts: 82795
  • Thank you received: 13356
  • MODERATOR
11 years 8 months ago #93523

Hi,

The if/else allows HikaShop to display either in responsive bootstrap mode or in old mode. There is actually an option in the configuration to switch that on or off. By default on 2.5, it's in old mode and by default on 3.0 it's in bootstrap mode (that's the new display system. That means that your template needs to support that, which is a requirement for Joomla 3.0 templates). However, it case you can't or don't want it, you can revert to the old mode and you will get back your HTML as it was on 2.5 and thus your problem will be solved.

The following user(s) said Thank You: rockoladeluxe

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

  • Posts: 81
  • Thank you received: 2
11 years 8 months ago #93526

Thanks Nicolas!
I made this template but being new to J3 I did not know that yet.
I will make sure my template meets requirement a.s.a.p.!
Thanks again and good night.

Roy

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

Time to create page: 0.058 seconds
Powered by Kunena Forum