Page 5 of 7 FirstFirst ... 34567 LastLast
Results 41 to 50 of 63
  1. #41
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Display Categories In Separate Boxes

    Probably in includes\modules\sideboxes\TEMPLATE\separate_category_sidebox.php, though I don't have the files at hand to say exactly where.

  2. #42
    Join Date
    May 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Display Categories In Separate Boxes

    How do you move the link from the default center to the left side? please help.

  3. #43
    Join Date
    May 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Display Categories In Separate Boxes

    Quote Originally Posted by MSGOK View Post
    How do you move the link from the default center to the left side? please help.

    Never mind. I finally figured out after messing around on it more.

  4. #44
    Join Date
    May 2006
    Posts
    41
    Plugin Contributions
    0

    application error Re: Display Categories In Separate Boxes

    I ran into another problem. Little more major this time. I want to make several category boxes. I did went over the instructions several times on what to do to make multiple categories. When I thought I done what the instructions says, just about all my sideboxes and center column contents disappears. I am not sure what I am doing wrong. However, what is really strange is that sometimes everything shows up but when i refresh the page they disappear and stay gone. I even try resetting the boxes in the layout box manager and still having this problem.

    Here is the link to the website: www.mistys-toys.com

    Also here is one of the files I tried to edit. Once I had all of the files listed separate-category in this file renamed with the _01 at the end of category:

    Separate_category_01_sidebox.php

    PHP Code:
    <?php
    /**
     * separate category sidebox - allows a separate category sidebox to be added to your site
     *
     * @package templateSystem
     * @copyright Portions Copyright 2009 www.coolcarpartsonline.com
     * @copyright 2007 Kuroi Web Design
     * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: 2010-09-01 $torvista
     */
    /*************
    Display Category Content
    ******************/
      
    $categories_query_ap "select c.categories_id, cd.categories_name, c.parent_id, c.categories_image
                                 from " 
    TABLE_CATEGORIES " c, " TABLE_CATEGORIES_DESCRIPTION " cd " .
                                 
    "where c.categories_id = cd.categories_id 
                                 and c.categories_status = 1 
                                 and c.parent_id = 6
                                 and cd.language_id = '" 
    . (int)$_SESSION['languages_id']  . "'" ."
                                 order by sort_order, cd.categories_name"
    ;
        
    $categories_ap $db->Execute($categories_query_ap''true150);
        
    $add_content ='<ul class="separatesideboxlist">';
        while (!
    $categories_ap->EOF)  {
            
    $id $categories_ap->fields['categories_id'];
            
    $name $categories_ap->fields['categories_name'];
              
    $add_content .= '<li><a href="' zen_href_link(FILENAME_DEFAULT'&cPath='.$id) . '">'.$name.'</a></li>' "\n";
        
            
    $categories_ap->MoveNext();
        }
        
    $add_content .= '</ul>';
    //debug echo $add_content; 
        
    unset($name);
        
    /****************
    End Of Additions
    ********************/
      // test if box should display
      
    $show_separate_category_01_sidebox true;

      if (
    $show_separate_category_01_sidebox == true) {
          require(
    $template->get_template_dir('tpl_separate_category_sidebox.php',DIR_WS_TEMPLATE$current_page_base,'sideboxes'). '/tpl_separate_category_sidebox.php');
          
    $title =  BOX_HEADING_SEPARATE_CATEGORY_01_SIDEBOX;
          
    $title_link false;
          require(
    $template->get_template_dir($column_box_defaultDIR_WS_TEMPLATE$current_page_base,'common') . '/' $column_box_default);
     }
    ?>
    Also this file:

    PHP Code:
    <?php
    /**defines for Separate Category Sidebox
     */
    define('BOX_HEADING_SEPARATE_CATEGORY_01_SIDEBOX''Toys');
    define('TEXT_SEPARATE_CATEGORY_01_SIDEBOX''');
    ?>
    Please help.

    Michelle

  5. #45
    Join Date
    May 2006
    Posts
    41
    Plugin Contributions
    0

    application error Re: Display Categories In Separate Boxes

    I left something out that from my previous post:

    I should also mentioned that I had the template separate category sidebox files renamed with _01 at the end of once at this part:

    [PHP]require($template->get_template_dir('tpl_separate_category_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_separate_category_sidebox.php'); [PHP]



    Please help, this error has really gotten me stumped.

  6. #46
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Display Categories In Separate Boxes

    Back up a little... What is your ultimate purpose with these separate category boxes? Do you just want to display those categories in emphasized containers instead of inline with the other categories? Do you want them in the separate boxes as well as in the standard categories sidebox? Do you want to display them somewhere else on the page, or only under certain circumstances? These factors will affect what is the best route to get your desired display.

  7. #47
    Join Date
    May 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Display Categories In Separate Boxes

    I want them separate but to the side like the regular category sidebox but in multiple boxes.

  8. #48
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Display Categories In Separate Boxes

    Then you can use Categories Dressing to get a display like you have shown, without having to modify/clone mods. There are define statements to set and stylesheet rules to add that can do these things, discussed in the readme.html with the mod. Since there are so many possibilities, specific layouts can be discussed in the Categories Dressing support thread.

  9. #49
    Join Date
    May 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Display Categories In Separate Boxes

    Quote Originally Posted by gjh42 View Post
    Then you can use Categories Dressing to get a display like you have shown, without having to modify/clone mods. There are define statements to set and stylesheet rules to add that can do these things, discussed in the readme.html with the mod. Since there are so many possibilities, specific layouts can be discussed in the Categories Dressing support thread.


    Okay so I do not need to use this mod? I want to know why they and everything else disappears.


    P.S. I want to get my boxes to show something like what is on this site: http://www.xtoysusa.com/ Caution: This is an adult toy store.
    Last edited by MSGOK; 15 Feb 2011 at 09:47 PM.

  10. #50
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Display Categories In Separate Boxes

    No, you do not need to use the separate category mod for this. In fact, the layout you refer to, moreso than your current site state, is exactly what Categories Dressing was originally designed to do: add nice headings at desired places in the categories menu.

 

 
Page 5 of 7 FirstFirst ... 34567 LastLast

Similar Threads

  1. v151 2 Separate Boxes on Different Category Type
    By PanZC2020 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Aug 2016, 09:40 PM
  2. Separate quantity boxes for different attributes
    By ::AnanA:: in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 7 Oct 2008, 02:21 PM
  3. Separate Top Categories from Sub-Categories in Layout?
    By msmith29063 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 22 Feb 2008, 06:56 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