Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Location
    San Jose, CA
    Posts
    9
    Plugin Contributions
    0

    Default where to find $box_id?

    I am having trouble finding what $box_id is for various different sideboxes. I see it is set in the column_left.php and column_right.php files:

    $box_id = zen_get_box_id($column_left_display->fields['layout_box_name']); )

    but I don't see where to find a value I can use in CSS. For example, the sidebox heading is created in includes\templates\CUSTOM\common\tpl_box_default_left.php:

    <h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3>

    The $box_id is used in the id field. If I want to style only the category box heading, I need the category $box_id. I noticed the cPath number for products and categories could be found in the administration panel somewhere. Is this the case with $box_id?

    Thanks,
    Tobyn

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: where to find $box_id

    $box_id has nothing to do with CSS.

    Install the Firefox browser, then the Web Developer plugin.

    Hit CTRL - SHIFT - Y , and hover over sections of the page to see the applicable css ids and classes for the various sideboxes.

 

 

Similar Threads

  1. Where Do I FInd......
    By beth99 in forum Basic Configuration
    Replies: 5
    Last Post: 12 Mar 2009, 03:05 PM
  2. Where do i find???
    By stride-r in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Aug 2008, 06:51 PM
  3. Where do I find proper files where constants are defined?
    By joshuwaj in forum General Questions
    Replies: 17
    Last Post: 18 Jan 2008, 05:28 AM
  4. How to determine $box_id
    By thomasw98 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 Aug 2007, 11:20 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