New Zenner
- Join Date:
- Jan 2006
- Posts:
- 88
- Plugin Contributions:
- 0
Specials page blank
Recently, I upgraded to 1.3.5 and now my Specials page is blank when there are no specials to display. The blank content area also causes the layout to collapse a bit.
Modifying tpl_specials_default.php doesn't seem to have any effect on the page. I can add foo code to it, but then can't find that in the resulting page.
Looking closer at tpl_modules_specials_default.php, it appears to call tpl_columnar_display.php for the template, not tpl_specials_default.php.
I want to insert
<?php
if ($specials_split->number_of_rows < 1)
{
echo '<tr><td>Sorry, there are no Specials available at this time.</td></tr>';
}
into the correct template so that this message shows when there are no specials. Which template should I add this to?
I did a search for "if ($specials_split->number_of_rows < 1)" in all the default templates, but didn't find it. Has this code been removed in 1.3.5?