Page 9 of 102 FirstFirst ... 78910111959 ... LastLast
Results 81 to 90 of 1017
  1. #81
    Join Date
    Sep 2007
    Posts
    178
    Plugin Contributions
    0

    Default Re: Abbington Mega Template Support Thread

    Hi,
    Love the Template!
    On my home page, the NEW tab at the bottom does not open when going to the page.
    Here is my site: www.hectichaircare.com/shop
    Hoping you can help me get it to open when a visitor comes-a-knocking!

    Thanks!

  2. #82
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Abbington Mega Template Support Thread

    Quote Originally Posted by DivaVocals View Post
    **quietly raises hand**

    I would be sooooo interested in this if you did it.. I have been quietly looking at how to grab the menu from this great template to use as a standalone menu..
    I do have this on my list and hope to be able to get to it soon ;-) You can also use the tutorial that I used to build the menu here:

    http://net.tutsplus.com/tutorials/ht...rop-down-menu/

    THanks,

    Anne

  3. #83
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Abbington Mega Template Support Thread

    Quote Originally Posted by RFree190 View Post
    Hi,
    Love the Template!
    On my home page, the NEW tab at the bottom does not open when going to the page.
    Here is my site: www.hectichaircare.com/shop
    Hoping you can help me get it to open when a visitor comes-a-knocking!

    Thanks!
    As you add products, the new tab will be populated.

    Thanks,

    Anne

  4. #84
    Join Date
    Sep 2007
    Posts
    178
    Plugin Contributions
    0

    Default Re: Abbington Mega Template Support Thread

    Quote Originally Posted by picaflor-azul View Post
    As you add products, the new tab will be populated.

    Thanks,

    Anne
    Hi Anne,
    I already have 17 products added to the cart. But none of the tabs are open when you first load the home page.
    If I click the NEW tab, it opens and shows all the products. Is there any way to get the NEW tab to open by default when the page first loads?

    Thanks!
    Rick

  5. #85
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Abbington Mega Template Support Thread

    Quote Originally Posted by RFree190 View Post
    Hi Anne,
    I already have 17 products added to the cart. But none of the tabs are open when you first load the home page.
    If I click the NEW tab, it opens and shows all the products. Is there any way to get the NEW tab to open by default when the page first loads?

    Thanks!
    Rick
    The tab opening with featured products showing is the default behaviour of the module. I would recommend posting your question to the support thread for the module I used to create the tabs Tabbed Home Page Modules.

    Thanks,

    Anne

  6. #86
    Join Date
    Sep 2007
    Posts
    178
    Plugin Contributions
    0

    Default Re: Abbington Mega Template Support Thread

    Quote Originally Posted by picaflor-azul View Post
    The tab opening with featured products showing is the default behaviour of the module. I would recommend posting your question to the support thread for the module I used to create the tabs Tabbed Home Page Modules.

    Thanks,

    Anne
    Thanks again Anne,
    I had some NEW products but no FEATURED. I added a few and it opens right up. Thanks!

  7. #87
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Abbington Mega Template Support Thread

    Quote Originally Posted by RFree190 View Post
    Thanks again Anne,
    I had some NEW products but no FEATURED. I added a few and it opens right up. Thanks!
    Great! I am happy that you got it all sorted out ;-)

    Thanks,

    Anne

  8. #88

    Default Re: Abbington Mega Template Support Thread

    I have tried as suggested in modifying the includes/templates/abbington_mega/templates/tpl_index_default.php file to rearrange the featured/new/specials tabs on the main page (see pic) and have had no luck in getting the What's New tab to show up first. I tried rearranging the order of the code in the tpl_index_default.php fil as well as changing the navOne, navTwo, and navThree ordering within the file but to no avail. I am not sure what to do from here, so I have incuded the code in the file below as well.

    Name:  Untitled-1.jpg
Views: 769
Size:  41.9 KB

    tpl_index_default.php code:


    <?php
    /**
    * Page Template
    *
    * Main index page<br />
    * Displays greetings, welcome text (define-page content), and various centerboxes depending on switch settings in Admin<br />
    * Centerboxes are called as necessary
    *
    * @package templateSystem
    * @copyright Copyright 2003-2006 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_index_default.php 3464 2006-04-19 00:07:26Z ajeh $
    */
    ?>
    <script type="text/javascript">
    $(document).ready(function() {
    $('a.moduleBox').click(function() { // show selected module(s)
    // variables
    var popID = $(this).attr('rel');
    var popNAV = $(this).attr('class');
    // clear out menu styles and apply active
    $('a.moduleBox').css('background', '');
    $(this).css('background', '');
    // hide all wrappers and display the one selected
    $('.centerBoxWrapper').hide();
    // check if all or single selection
    if (popID != 'viewAll') {
    $('#' + popID).show();
    } else {
    $('.centerBoxWrapper').show();
    }
    });
    });
    </script>
    <div class="centerColumn" id="indexDefault">
    <h1 id="indexDefaultHeading"><?php echo HEADING_TITLE; ?></h1>
    <?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
    <h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
    <?php } ?>
    <!-- deprecated - to use uncomment this section
    <?php if (TEXT_MAIN) { ?>
    <div id="" class="content"><?php echo TEXT_MAIN; ?></div>
    <?php } ?>-->
    <!-- deprecated - to use uncomment this section
    <?php if (TEXT_INFORMATION) { ?>
    <div id="" class="content"><?php echo TEXT_INFORMATION; ?></div>
    <?php } ?>-->
    <?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
    <?php
    /**
    * get the Define Main Page Text
    */
    ?>
    <div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
    <?php } ?>

    <div id="moduleMenu-wrapper">
    <?php
    // bof module navigation
    $show_display_nav = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);
    if ($this_is_home_page) {
    echo '';
    }
    echo '<div id="moduleMenu">';
    while (!$show_display_nav->EOF) {
    switch ($show_display_nav->fields['configuration_key']) {
    case 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS':
    echo '<span class="navOne moduleSpan"><a href="javascript:void(0)" rel="whatsNew" class="navOne moduleBox">New</a></span>';
    break;
    case 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS':
    echo '<span class="navTwo moduleSpan"><a href="javascript:void(0)" rel="featuredProducts" class="navTwo moduleBox">Featured</a></span>';
    break;
    case 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS':
    echo '<span class="navThree moduleSpan"><a href="javascript:void(0)" rel="specialsDefault" class="navThree moduleBox">Specials</a></span>';
    break;
    }
    $show_display_nav->MoveNext();
    }
    //echo '<span id="navFour" class="moduleSpan"><a href="javascript:void(0)" id="navFour" rel="viewAll" class="moduleBox">All</a></span>';
    echo '<br class="clearBoth" />';
    echo '</div>';
    // eof module navigation
    $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_NEW_PRODUCTS') { ?>
    <?php
    /**
    * display the New Products Center Box
    */
    ?>
    <?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
    <?php } ?>
    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS') { ?>
    <?php
    /**
    * display the Featured Products Center Box
    */
    ?>
    <?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
    <?php } ?>
    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS') { ?>
    <?php
    /**
    * display the Special Products Center Box
    */
    ?>
    <?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
    <?php } ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_UPCOMING') { ?>
    <?php
    /**
    * display the Upcoming Products Center Box
    */
    ?>
    <?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); ?><?php } ?>

    <?php
    $show_display_category->MoveNext();
    } // !EOF
    ?>
    </div>
    </div>
    Scott
    AnkleBiter Woodworks
    http://www.anklebiterwoodworks.com

  9. #89
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Abbington Mega Template Support Thread

    Quote Originally Posted by anklebiterwoodworks View Post
    I have tried as suggested in modifying the includes/templates/abbington_mega/templates/tpl_index_default.php file to rearrange the featured/new/specials tabs on the main page (see pic) and have had no luck in getting the What's New tab to show up first. I tried rearranging the order of the code in the tpl_index_default.php fil as well as changing the navOne, navTwo, and navThree ordering within the file but to no avail. I am not sure what to do from here, so I have incuded the code in the file below as well.

    Name:  Untitled-1.jpg
Views: 769
Size:  41.9 KB

    tpl_index_default.php code:


    <?php
    /**
    * Page Template
    *
    * Main index page<br />
    * Displays greetings, welcome text (define-page content), and various centerboxes depending on switch settings in Admin<br />
    * Centerboxes are called as necessary
    *
    * @package templateSystem
    * @copyright Copyright 2003-2006 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_index_default.php 3464 2006-04-19 00:07:26Z ajeh $
    */
    ?>
    <script type="text/javascript">
    $(document).ready(function() {
    $('a.moduleBox').click(function() { // show selected module(s)
    // variables
    var popID = $(this).attr('rel');
    var popNAV = $(this).attr('class');
    // clear out menu styles and apply active
    $('a.moduleBox').css('background', '');
    $(this).css('background', '');
    // hide all wrappers and display the one selected
    $('.centerBoxWrapper').hide();
    // check if all or single selection
    if (popID != 'viewAll') {
    $('#' + popID).show();
    } else {
    $('.centerBoxWrapper').show();
    }
    });
    });
    </script>
    <div class="centerColumn" id="indexDefault">
    <h1 id="indexDefaultHeading"><?php echo HEADING_TITLE; ?></h1>
    <?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
    <h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
    <?php } ?>
    <!-- deprecated - to use uncomment this section
    <?php if (TEXT_MAIN) { ?>
    <div id="" class="content"><?php echo TEXT_MAIN; ?></div>
    <?php } ?>-->
    <!-- deprecated - to use uncomment this section
    <?php if (TEXT_INFORMATION) { ?>
    <div id="" class="content"><?php echo TEXT_INFORMATION; ?></div>
    <?php } ?>-->
    <?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
    <?php
    /**
    * get the Define Main Page Text
    */
    ?>
    <div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
    <?php } ?>

    <div id="moduleMenu-wrapper">
    <?php
    // bof module navigation
    $show_display_nav = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);
    if ($this_is_home_page) {
    echo '';
    }
    echo '<div id="moduleMenu">';
    while (!$show_display_nav->EOF) {
    switch ($show_display_nav->fields['configuration_key']) {
    case 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS':
    echo '<span class="navOne moduleSpan"><a href="javascript:void(0)" rel="whatsNew" class="navOne moduleBox">New</a></span>';
    break;
    case 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS':
    echo '<span class="navTwo moduleSpan"><a href="javascript:void(0)" rel="featuredProducts" class="navTwo moduleBox">Featured</a></span>';
    break;
    case 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS':
    echo '<span class="navThree moduleSpan"><a href="javascript:void(0)" rel="specialsDefault" class="navThree moduleBox">Specials</a></span>';
    break;
    }
    $show_display_nav->MoveNext();
    }
    //echo '<span id="navFour" class="moduleSpan"><a href="javascript:void(0)" id="navFour" rel="viewAll" class="moduleBox">All</a></span>';
    echo '<br class="clearBoth" />';
    echo '</div>';
    // eof module navigation
    $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_NEW_PRODUCTS') { ?>
    <?php
    /**
    * display the New Products Center Box
    */
    ?>
    <?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
    <?php } ?>
    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS') { ?>
    <?php
    /**
    * display the Featured Products Center Box
    */
    ?>
    <?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
    <?php } ?>
    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS') { ?>
    <?php
    /**
    * display the Special Products Center Box
    */
    ?>
    <?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
    <?php } ?>

    <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_UPCOMING') { ?>
    <?php
    /**
    * display the Upcoming Products Center Box
    */
    ?>
    <?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); ?><?php } ?>

    <?php
    $show_display_category->MoveNext();
    } // !EOF
    ?>
    </div>
    </div>
    I used the Tabbed Home Page Modules module for this funtionatliy. I would recommend reading and posting to that module's thread for your solution.

    Thanks,

    Anne

  10. #90

    Default Re: Abbington Mega Template Support Thread

    I posted over there and am waiting for a response. I will let you know what I find as I do not think I am the only one who has encountered this issue. I noticed that his module was written for version 1.3.9 and think that it may have something to do with how version 1.5.0 handles things as I tried--just for grins and giggles--to see what would happen if I replaced the tpl_index_default.php file with the one from his mod, but had the same issue. ((shrugs)) probably just my luck.
    Scott
    AnkleBiter Woodworks
    http://www.anklebiterwoodworks.com

 

 
Page 9 of 102 FirstFirst ... 78910111959 ... LastLast

Similar Threads

  1. Lavender Template Support Thread
    By kobra in forum Addon Templates
    Replies: 262
    Last Post: 13 May 2015, 01:00 AM
  2. v154 Abbington Mega 5.3 template not displaying properly
    By irishshopper in forum Addon Templates
    Replies: 1
    Last Post: 6 Mar 2015, 04:56 PM
  3. Rustic Template Support Thread
    By clydejones in forum Addon Templates
    Replies: 320
    Last Post: 20 May 2013, 10:47 AM
  4. Turpy Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 3
    Last Post: 20 Feb 2012, 07:36 PM
  5. DigitalShop Template Support Thread
    By blingthemes in forum Addon Templates
    Replies: 19
    Last Post: 9 Mar 2011, 07:49 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR