Forums / Bug Reports / Specials misssing 0 records management

Specials misssing 0 records management

Locked

Views: 1,177

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
23 Feb 2010, 11:23 AM
#1
s_p_ike avatar

s_p_ike

Zen Follower

Join Date:
Feb 2005
Location:
Italy
Posts:
178
Plugin Contributions:
0

Specials misssing 0 records management

I've searched around this forum but not found a reference about this problem.

Problem: If you have no specials and you 'open' the page specials, there's no more the sentence 'At the moment there are no specials' or something similar.

What happens: in effect the tpl file is no more called.

Version: zen-cart-v1.3.8a-full-fileset-12112007

Checked against files directly inside the zip, without installation

Files involved:

includes/modules/pages/specials/main_template_vars.php

    }
    require($template->get_template_dir('tpl_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_specials_default.php');
  }
}

should become

    }
  }
  require($template->get_template_dir('tpl_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_specials_default.php');
}

includes/languages/english/specials.php

missing TEXT_NO_SPECIALS define

includes/templates/template_default/templates/tpl_specials_default.php

after

<h1 id="specialsListingHeading"><?php echo $breadcrumb->last(); ?></h1>

missing

<?php if ($num_products_count ==0) {
 echo TEXT_NO_SPECIALS; }?>

Bye

Paolo De Dionigi
Co-maintainer of Zen Cart Italia