Results 1 to 10 of 63

Hybrid View

  1. #1
    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.

  2. #2
    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.

  3. #3
    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.

  4. #4
    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.

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

    Default Re: Display Categories In Separate Boxes

    Quote Originally Posted by gjh42 View Post
    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.
    Okay fantastic, i will use the category dressing instead.

  6. #6
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,835
    Plugin Contributions
    31

    Default Re: Display Categories In Separate Boxes

    The current version 1.2 has a problem.

    It uses a variable $name which is unset after the routine..this unsets $name used in the contact us page to pre-populate the name field when a client is logged in.

    I suggest this change from
    PHP Code:
        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); 
    to
    PHP Code:
        while (!$categories_ap->EOF)  {
            
    $categories_id $categories_ap->fields['categories_id'];
        
    $categories_name $categories_ap->fields['categories_name'];
        
    $add_content .= '<li><a href="' zen_href_link(FILENAME_DEFAULT'&cPath='.$categories_id) . '"><span class="catSpan">'.$categories_name.'</span></a></li>' "\n";
        
    $categories_ap->MoveNext();
        }
        
    $add_content .= '</ul>';

    //echo $add_content;//debug to check query is ok 
        //unset($categories_name);//was $name but overwrote $name in contact_us 
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  7. #7
    Join Date
    Aug 2012
    Posts
    23
    Plugin Contributions
    0

    Default Re: Display Categories In Separate Boxes

    Will this work with 1.5?

 

 

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

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