Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Posts
    6
    Plugin Contributions
    0

    Default CATEGORIES Box Questions

    Hello all,

    I was wanting to know if anyone knew how to change the information that is in the standard CATEGORIES box. For example, I dont want it to show the categories listings, just the new products and all products links. If anyone knows and would like to help, I need it bad! LOL

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: CATEGORIES Box Questions

    Question - how are your customers going to find your products/categories if they are not in this area?
    admin > tools > layout box controller > you can turn this box off completely.

    Create another sidebox(downloads "Blank Sidebox") and place just the new products and all products links in this new box
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: CATEGORIES Box Questions

    Okay now how would I go about adding these links. Would it be just slappin in:
    // $display_limit = zen_get_products_new_timelimit();
    $display_limit = zen_get_new_date_range();

    $show_this = $db->Execute("select p.products_id
    from " . TABLE_PRODUCTS . " p
    where p.products_status = 1 " . $display_limit . " limit 1");
    if ($show_this->RecordCount() > 0) {
    $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_NEW) . '">' . CATEGORIES_BOX_HEADING_WHATS_NEW . '</a>' . '<br />' . "\n";
    }
    }
    if (SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true') {
    $show_this = $db->Execute("select products_id from " . TABLE_FEATURED . " where status= 1 limit 1");
    if ($show_this->RecordCount() > 0) {
    $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . CATEGORIES_BOX_HEADING_FEATURED_PRODUCTS . '</a>' . '<br />' . "\n";
    }
    }
    if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
    $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>' . "\n";
    }
    }
    $content .= '</div>';
    ?>


    ??
    Thanks

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: CATEGORIES Box Questions

    Okay now how would I go about adding these links
    What you posted is not a link???
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Categories box - moving it and adding 2nd layer categories to the list
    By crexis in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 19 Jul 2013, 02:58 PM
  2. Set a limited number of categories to be displayed in categories side box
    By NickPCs in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Nov 2009, 02:50 AM
  3. Replies: 1
    Last Post: 2 Jun 2008, 05:16 PM
  4. Adding another box exactly like Categories box? Thanks for help!
    By marshall in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 8 Jun 2007, 09:41 PM
  5. Leaving spaces between categories in the categories box
    By binny25 in forum Basic Configuration
    Replies: 3
    Last Post: 5 Oct 2006, 05:13 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