Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2006
    Posts
    88
    Plugin Contributions
    0

    Default 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
    Code:
    <?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?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Specials page blank

    ...if there are not any Specials, there aren't any links to the page. Why do you need to change the page?

  3. #3
    Join Date
    Jan 2006
    Posts
    88
    Plugin Contributions
    0

    Default Re: Specials page blank

    Well, we have a hard link to the Specials page in the image navigation.

    Any other ideas?

  4. #4
    Join Date
    Oct 2006
    Posts
    21
    Plugin Contributions
    0

    Default Re: Specials page blank

    I was wondering how to do this as well. Ever find the answer?

    And Kim, There is always a link to specials in the sitemap. It looks unprofessional if a customer stumbles onto a blank page.

 

 

Similar Threads

  1. Help! My Specials page is blank.
    By jam1968 in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 24 Feb 2011, 01:33 AM
  2. Specials Page Blank
    By gem10 in forum General Questions
    Replies: 5
    Last Post: 24 Nov 2010, 07:37 PM
  3. Specials Page blank in foreign languages
    By rehopper in forum Basic Configuration
    Replies: 2
    Last Post: 20 Jan 2010, 09:22 PM
  4. Specials page showing up blank
    By mw4kids in forum Customization from the Admin
    Replies: 1
    Last Post: 28 Nov 2009, 08:53 AM
  5. Specials page is blank!
    By cufflinks2wear in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Aug 2008, 05:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg