Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Sep 2011
    Posts
    226
    Plugin Contributions
    0

    Default Sidebox heading... yet again

    Hi

    Alright, so I know that this css input will disable the heading of BLANK SIDEBOX 2 (the one I haven't renamed) completely:

    #blanksideboxHeading {display: none;}

    But, when I duplicate the Blank Sidebox, and change the php name to blank_sidebox3, what css code can I input to disable the heading on this new sidebox? I tried:

    #blanksidebox3Heading {display: none;} and
    #blanksideboxHeading3 {display: none;}

    But it doesn't do the trick. The sidebox heading still shows.
    And, if I delete all the text in the language file, the heading still shows, just without text in it.

    Any thoughts?

    All help is greatly appreciated

    Kind regards
    S
    Last edited by SethF; 5 Oct 2011 at 12:18 PM. Reason: Typo

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

    Default Re: Sidebox heading... yet again

    Did you changes all instances of blanksidebox in all the mod files to blanksidebox3 ?

  3. #3
    Join Date
    Sep 2011
    Posts
    226
    Plugin Contributions
    0

    Default Re: Sidebox heading... yet again

    Quote Originally Posted by stevesh View Post
    Did you changes all instances of blanksidebox in all the mod files to blanksidebox3 ?
    \includes\languages\english\extra_definitions\blank_sidebox3_define.php:
    PHP Code:
    <?php
    /**
     * blank sidebox definitions - text for inclusion in a new blank sidebox
     *
     * @package templateSystem
     * @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: blank_sidebox3.php 2007-05-26 kuroi $
     */

    define('BOX_HEADING_BLANK_SIDEBOX3''Blank Sidebox Header');
    define('TEXT_BLANK_SIDEBOX3''Replace this text with your HTML content.');

    ?>
    \includes\modules\sideboxes\blank_sidebox3.php
    PHP Code:
    <?php
    /**
     * blank sidebox - allows a blank sidebox to be added to your site
     *
     * @package templateSystem
     * @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: blank_sidebox3.php 2007-05-26 kuroi $
     */

      // test if box should display
      
    $show_blank_sidebox3 true;

      if (
    $show_blank_sidebox3 == true) {
          require(
    $template->get_template_dir('tpl_blank_sidebox3.php',DIR_WS_TEMPLATE$current_page_base,'sideboxes'). '/tpl_blank_sidebox3.php');
          
    $title =  BOX_HEADING_BLANK_SIDEBOX3;
          
    $title_link false;
          require(
    $template->get_template_dir($column_box_defaultDIR_WS_TEMPLATE$current_page_base,'common') . '/' $column_box_default);
     }
    ?>
    \includes\templates\template_default\sideboxes\tpl_blank_sidebox3.php
    PHP Code:
    <?php
    /**
     * blank sidebox - allows a blank sidebox to be added to your site
     *
     * @package templateSystem
     * @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: blank_sidebox3.php 2007-05-26 kuroi $
     */

      
    $content '';
      
    $content .= '<div id="' str_replace('_''-'$box_id 'Content') . '" class="sideBoxContent">';

      
    // Replace the text and HTML tags between the apostophes on lines 19 and 20.
      // Use as many or as few lines using this model as you need for your custom content.
      // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox3_defines.php and include it as shown in line 19.
      // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!)
      
    $content .= '<p>' TEXT_BLANK_SIDEBOX3 '</p>';
      
    $content .= '<p>You can include text, links, images, HTML markup and even PHP code</p>';

      
    $content .= '</div>';
    ?>
    I can't find the place I've missed.. perhaps I'm not fully awake today.

    Thanks for your help.
    S

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

    Default Re: Sidebox heading... yet again

    I did exactly as you did to those files, and #blanksidebox3Heading {display: none;} works for me.

  5. #5
    Join Date
    Sep 2011
    Posts
    226
    Plugin Contributions
    0

    Default Re: Sidebox heading... yet again

    Quote Originally Posted by stevesh View Post
    I did exactly as you did to those files, and #blanksidebox3Heading {display: none;} works for me.
    Got it fixed thanks, for some reason my browser wasn't refreshing the page even though I reloaded it quite a bit.

 

 

Similar Threads

  1. Custom Sidebox Wiki - Minor Yet Annoying Issue
    By mrbojangles in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Jun 2013, 06:05 PM
  2. v139h I messed up yet again
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 12 Oct 2012, 08:28 AM
  3. Dimensional Pricing - Yet Again
    By jill8026 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 16 Sep 2009, 01:51 PM
  4. IE issues yet again.
    By gabenn2 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Nov 2007, 06:30 AM

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