Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    help question insert individual side box code where I want it

    I am working with a template that I need to create custom backgrounds for some side box’s, So I was hoping I could find the individual side box code to insert where I want it, for instance the categories in it’s own table, then under that it will still bring up the defined side box’s.
    I think this is possible as the column_left.php would have the ability to show defined side box’s, I just need to find code to force displaying a particular side box.

    I will work on it now but any suggestions will help.

  2. #2
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: insert individual side box code where I want it

    Now trying to find out how to incert [FONT=Courier New]<?php require(DIR_WS_MODULES . 'sideboxes/categories.php'); ?>
    following this http://www.zen-cart.com/forum/showthread.php?t=94780
    [/FONT]

  3. #3
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: insert individual side box code where I want it

    I seem to be able to insert it in the right column without doing anything special, but does not work when I do the same thing with the left column... ?

    template main php:

    <td id="navColumnTwo" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>">

    <?php require(DIR_WS_MODULES . 'sideboxes/categories.php'); ?>

    <?php
    /**
    * prepares and displays right column sideboxes
    *
    */
    ?>

  4. #4
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: insert individual side box code where I want it

    I should have put this in the first post "each side box background needs to be different". Perhaps someone can suggest a way to do that with css.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: insert individual side box code where I want it

    Quote Originally Posted by vandiermen View Post
    I should have put this in the first post "each side back background needs to be different"
    You can do that with the stylesheet. Simply set the desired background for the id associated with the box you want to change.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: insert individual side box code where I want it

    problem is that div tags dont wrap the side box titles.
    I am using this template http://www.poweredtemplates.com/webs...9/0/index.html
    As you may see it would be harder to do this with css

 

 

Similar Threads

  1. v139h How do I insert a "snippet" code into a side box - SSL Site Seal
    By shags38 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Jun 2012, 06:34 AM
  2. v139h Where to insert HTML Code
    By rafwraf in forum General Questions
    Replies: 1
    Last Post: 1 Feb 2012, 01:59 PM
  3. Replies: 5
    Last Post: 23 Feb 2010, 01:21 PM
  4. Where to insert js code for 'draggable layer'?
    By rlfreshwater in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Nov 2008, 08:42 PM
  5. EXACTLY where do I insert SITEMETER code?
    By likes2draw in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 21 Jun 2008, 02:25 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