JM tabs not accessible in magento backend

When I try to access the JM tabs in backend from the Joomlart menu I just get a blank screen. Have cleared all cache and tried to login and out.

3 answers

Profile photo of Sherlock 0.00 $tone March 21, 2014
Public

You could open the app\code\local\JoomlArt\Jmtabs\Model\System\Config \Source\listStyle.php file, there you change

PHP Code:

 while (false !== ($entry $d->read())) {
            if (
$entry != "." && $entry != "..") {
                
$defaults[] = $entry;
                
$a[] = $entry;
            }    
        }

        while (false !== ($entry $t->read())) {
            if (
$entry != "." && $entry != "..") {
                if(!
in_array($entry$defaults)){
                    
$a[] = $entry;
                }
            } 




To

PHP Code:

   $a = array();
        if (
false!==$d){
            while (
false !== ($entry $d->read())) {
                if (
$entry != "." && $entry != "..") {
                    
$defaults[] = $entry;
                    
$a[] = $entry;
                }    
            }
        }
        
        if (
false!==$t){
            while (
false !== ($entry $t->read())) {
                if (
$entry != "." && $entry != "..") {
                    if(!
in_array($entry$defaults)){
                        
$a[] = $entry;
                    }
                }    
            }
        } 




If this does not help, you can pm me your FTP credentials and I shall check this further for you.

#1
Profile photo of Lars Nielsen 170.00 $tone March 21, 2014
Public

Great thanks, it worked.

We are aiming for a look like the one attached in the image. How do we get each tab to show 5 products? Has managed to style it as in the image, but just need to display 5 products.

Thanks alot

Attachment 35070

#2
Profile photo of Sherlock 0.00 $tone March 24, 2014
Public

Go to the skin/frontend/default/jm_hawkstore/joomlart/jmproductsslider/css/style.css file and find this css rule

HTML Code:

     .jm-slider li {
  background: url("../images/sep-vline.gif") repeat-y scroll right top rgba(0, 0, 0, 0);
  display: block;
  float: left;
  height: 350px !important;
  margin: 0;
  overflow: hidden;
  text-align: left;
  width: 170px !important;
}

You can try to decrease the width value width: 170px !important;
Hope that helps.

#3

Please login or Register to Submit Answer

Written By

Comments