Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2005
    Posts
    96
    Plugin Contributions
    0

    Default Move 1 Single Box on main page

    I'm using a couple of center boxes and would like to be able to move just one of them "Featured Products (New Releases)" up between the TEXT_MAIN and define_main_page. I can see where it needs to go, but I don't know enough about PHP to know what needs to be there with it. I've tried a couple of things but nothing's worked.

    Here's what I currently have:

    ?>

    <table border="0" width="100%" cellspacing="2" cellpadding="2">

    <tr>

    <td class="pageHeading"><h1><?php echo HEADING_TITLE; ?></h1></td>

    </tr>

    <tr>

    <td class="greetUser"><?php echo zen_customer_greeting(); ?></td>

    </tr>

    <?php if (TEXT_MAIN) { ?>

    <tr>

    <td class="main"><?php echo TEXT_MAIN; ?></td>

    </tr>

    <?php } ?>

    <?php if (TEXT_INFORMATION) { ?>

    <tr>

    <td class="plainBox"><?php echo TEXT_INFORMATION; ?></td>

    </tr>

    <?php } ?>

    <?php if (DEFINE_MAIN_PAGE_STATUS == '1') { ?>

    <tr>

    <td class="plainBox"><?php require($define_main_page); ?><br /></td>

    </tr>

    <?php } ?>

    </table><br />

    <?php

    $show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);



    while (!$show_display_category->EOF) {

    ?>



    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS') { ?>

    <?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_FEATURED_PRODUCTS_MODULE)); ?><?php } ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS') { ?>

    <?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_SPECIALS_INDEX)); ?><?php } ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS') { ?>

    <?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEW_PRODUCTS)); ?><?php } ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_UPCOMING') { ?>

    <?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); ?><?php } ?>

    <?php

    $show_display_category->MoveNext();

    } // !EOF

    ?>



    Thanks.

  2. #2
    Join Date
    Jun 2006
    Location
    Austin, TX
    Posts
    84
    Plugin Contributions
    2

    Default Re: Move 1 Single Box on main page

    Just read the code. Move the line with FEATURED MODULE above the TEXT_MAIN or wherever you want it.

  3. #3
    Join Date
    Oct 2005
    Posts
    96
    Plugin Contributions
    0

    Default Re: Move 1 Single Box on main page

    I tried that and the box just disappeared altogether.

 

 

Similar Threads

  1. single column new products on main page
    By colemanpa in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Jan 2009, 07:16 AM
  2. move specials up on main page
    By gsdcypher in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Sep 2008, 05:11 PM
  3. Main Page Move Down
    By cookiesa in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 1 Apr 2008, 02:57 AM
  4. Single product displayed big on main page
    By edealbase in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 30 Jan 2008, 04:01 AM
  5. MAiN PAGE - side box & main page
    By MBSJEWELRY in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Oct 2006, 05:45 AM

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