Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2010
    Posts
    64
    Plugin Contributions
    0

    Default Specials Page Layout

    index.php?main_page=specials

    I am looking to change this to a grid or change it to something more like the product listings right now it's a row listing with everything stacked under the picture information wise .. I am not using a grid mod pretty stock..

    I am NOT talking about the center column layout..

    thanks in advance

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Specials Page Layout

    Quote Originally Posted by cyberfolli View Post
    index.php?main_page=specials

    I am looking to change this to a grid or change it to something more like the product listings right now it's a row listing with everything stacked under the picture information wise .. I am not using a grid mod pretty stock..

    I am NOT talking about the center column layout..

    thanks in advance
    If not mistaken, would want to look in includes/functions/specials.php. I thought there was an applicable template file that gets one there, but also thought the meat of what you are wanting to change is in the above functions file. I could be wrong.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Sep 2010
    Posts
    64
    Plugin Contributions
    0

    Default Re: Specials Page Layout

    There is no layout in there to modify and create tables for this..

    This is the template file which doesn't do much


    HTML Code:
    <?php
    /**
     * Module Template
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_modules_specials_default.php 2935 2006-02-01 11:12:40Z birdbrain $
     */
      $zc_show_specials = false;
      include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_SPECIALS_INDEX));
    ?>
    
    <!-- bof: specials -->
    <?php if ($zc_show_specials == true) { ?>
    <div class="centerBoxWrapper" id="specialsDefault">
    <?php
    /**
     * require the columnar_display template to show the products
     */
      require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
    ?>
    </div>
    <?php } ?>
    <!-- eof: specials -->

  4. #4
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Specials Page Layout

    Quote Originally Posted by cyberfolli View Post
    There is no layout in there to modify and create tables for this..

    This is the template file which doesn't do much


    HTML Code:
    <?php
    /**
     * Module Template
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_modules_specials_default.php 2935 2006-02-01 11:12:40Z birdbrain $
     */
      $zc_show_specials = false;
      include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_SPECIALS_INDEX));
    ?>
    
    <!-- bof: specials -->
    <?php if ($zc_show_specials == true) { ?>
    <div class="centerBoxWrapper" id="specialsDefault">
    <?php
    /**
     * require the columnar_display template to show the products
     */
      require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php');
    ?>
    </div>
    <?php } ?>
    <!-- eof: specials -->
    Sorry, it's been a bit since I looked into the same thing. I seem to remember that there are a few files that all work together to give the line by line listing that you describe when going to the specials page. I am not at a computer and had done a bit of an internet search (unsuccessfully) to try to help. There should be an includes/modules/pages/specials header_php.php file that mayhelp track down the applicable files. Also, I think there is a modules file and possibly another template file. If not mistaken, you're trying to make the specials page look more like the all products view, so umay want to also look into how that all goes together as well.

    The code posted above suggests to go look at the tpl_columnar_display.php file next to see what it does to provide the information, but I think the header file I described above and modifications to the tpl_specials.php file to look more like the type of display you're after (products, new, etc...) Is what you may be after. Sorry can't help much more at the moment.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Specials Layout on main page
    By IAINMCG in forum General Questions
    Replies: 3
    Last Post: 14 Apr 2013, 05:37 PM
  2. Specials - Page Layout
    By Davx in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Nov 2010, 07:46 PM
  3. new products & monthyl specials layout on main page
    By hade123 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Sep 2010, 11:26 AM
  4. Specials Page Layout Change
    By Derrian in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 Sep 2006, 02:20 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