Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2010
    Posts
    142
    Plugin Contributions
    0

    Default Not seeing the new sidebox

    OK, I found the WIKI page "Creating the new sidebox files".

    I followed the directions, created and populated the following new files with the code supplied:

    includes/modules/sideboxes/orcatools/orcatools_sidebox.php

    includes/languages/english/extra_definitions/orcatools/orcatools_sidebox_defines.php

    includes/templates/orcatools/sideboxes/tpl_orcatools_sidebox.php

    Went to Admin/tools/layout box controller, saw the "new sidebox" notice, and activated it by turning the "left" side on.

    Saved that, reloaded the store, and the sidebox is blank.

    What am I doing wrong?

  2. #2
    Join Date
    Aug 2005
    Posts
    26,067
    Plugin Contributions
    9

    Default Re: Not seeing the new sidebox

    Went to Admin/tools/layout box controller, saw the "new sidebox" notice, and activated it by turning the "left" side on.

    Saved that, reloaded the store, and the sidebox is blank.
    You have a successful sidebox displated...
    What is the code for what should be in the sidebox?
    Zen-Venom Get Bitten
    Get Your Business Found

  3. #3
    Join Date
    Jan 2010
    Posts
    142
    Plugin Contributions
    0

    Default Re: Not seeing the new sidebox

    Quote Originally Posted by kobra View Post
    You have a successful sidebox displated...
    What is the code for what should be in the sidebox?
    includes/modules/sideboxes/orcatools/orcatools_sidebox.php:

    Code:
    <?php
     $show_orcatools_sidebox = true;
     if ($show_orcatools_sidebox == true){
       require($template->get_template_dir('tpl_orcatools_sidebox.php',DIR_WS_TEMPLATE,
       $current_page_base,'sideboxes'). '/tpl_orcatools_sidebox.php');
       $title =  BOX_HEADING_NEW_SIDEBOX;
       $left_corner = false;
       $right_corner = false;
       $right_arrow = false;
       require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE,
       $current_page_base,'common') . '/' . $column_box_default);
     }
    ?>
    includes/languages/english/extra_definitions/orcatools/orcatools_sidebox_defines.php:

    Code:
    <?php
      define('BOX_HEADING_ORCASOUL_SIDEBOX', 'Gallery');
    ?>
    includes/templates/orcatools/sideboxes/tpl_orcatools_sidebox.php:

    Code:
    <?php
     $content = <<< End_Of_Quote
      Enter your sidebox content here
     End_Of_Quote;
    ?>

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,981
    Plugin Contributions
    25

    Default Re: Not seeing the new sidebox

    <?php
    $content = <<< End_Of_Quote
    Enter your sidebox content here
    End_Of_Quote;
    ?>

    This is not even "dummy" content; it neither has single ' or double " quotes to make it a text string, nor is a valid variable or constant that could hold a text value.

    So $content will be null, and "null" or nothing is being output in the new sidebox.

    You have defined a heading
    define('BOX_HEADING_ORCASOUL_SIDEBOX', 'Gallery');

    but you are still calling for the value of
    $title = BOX_HEADING_NEW_SIDEBOX;
    Last edited by gjh42; 2 Feb 2010 at 02:57 PM.

  5. #5
    Join Date
    Jan 2010
    Posts
    142
    Plugin Contributions
    0

    Default Re: Not seeing the new sidebox

    Quote Originally Posted by gjh42 View Post
    <?php
    $content = <<< End_Of_Quote
    Enter your sidebox content here
    End_Of_Quote;
    ?>

    This is not even "dummy" content; it neither has single ' or double " quotes to make it a text string, nor is a valid variable or constant that could hold a text value.

    So $content will be null, and "null" or nothing is being output in the new sidebox.

    You have defined a heading
    define('BOX_HEADING_ORCASOUL_SIDEBOX', 'Gallery');

    but you are still calling for the value of
    $title = BOX_HEADING_NEW_SIDEBOX;
    Yes, Virginia, it's always the obvious things that cause most of the problems, isn't it?

    OK, well at least I seem to have gotten the non-obvious things...

    Thanks for getting back to me on this.

 

 

Similar Threads

  1. putting ezpage content in sidebox or editing sidebox from admin
    By nilsen in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Jan 2010, 09:30 PM
  2. Display Featured Sidebox and Modifying Manufacturer Label Sidebox
    By jenn8five in forum Basic Configuration
    Replies: 1
    Last Post: 8 Aug 2008, 06:05 AM
  3. added comodo sidebox, sidebox not completed on bottom half
    By b18cya in forum Basic Configuration
    Replies: 4
    Last Post: 13 May 2007, 02:26 PM
  4. Click on Category in Sidebox and Only Open Sub-Cat In Sidebox, Not In Main Store
    By bamalama in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 Dec 2006, 04:45 AM
  5. sidebox html - add image/link to paypal verified sidebox
    By wasana in forum General Questions
    Replies: 0
    Last Post: 14 Jul 2006, 04:00 AM

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
  •