Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to show HTML content in side bar? Thanks.

    An ez-page will not display directly in a sidebox. You need to add the actual cluster map code to the blank sidebox file. Follow the Blank Sidebox instructions, which are very simple. If there is some part of that which gives you a problem, tell us exactly what you have done.

  2. #2
    Join Date
    Sep 2011
    Location
    Toronto, Ontario, Canada
    Posts
    290
    Plugin Contributions
    0

    Default Re: How to show HTML content in side bar? Thanks.

    Quote Originally Posted by gjh42 View Post
    An ez-page will not display directly in a sidebox. You need to add the actual cluster map code to the blank sidebox file. Follow the Blank Sidebox instructions, which are very simple. If there is some part of that which gives you a problem, tell us exactly what you have done.
    I still couldn't make it working, here is what I did to the Blank Side Box:

    This is what I put in the /public_html/food/includes/languages/english/extra_definitions/blank_sidebox_defines.php
    <?php
    define('BOX_HEADING_BLANK_SIDEBOX', 'POE Clocks');
    define('TEXT_BLANK_SIDEBOX', '');
    ?>

    This is what I put in the /public_html/food/includes/templates/aberdeen_neutral/sideboxes/tpl_blank_sidebox.php

    <?php
    $content = '';
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
    $content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>';
    $content .= '<p><a href="http://www4.clustrmaps.com/user/6b2e433d"><img src="http://www4.clustrmaps.com/stats/maps-no_clusters/www.xiexianhui.com-thumb.jpg" alt="Locations of visitors to this page" />
    </a>
    </p>';
    $content .= '</div>';

    Thank you again for your kind help.

    It would be greatly appreciated if you can post your website's coding here.
    Last edited by mdivk; 23 Sep 2011 at 07:59 PM.

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

    Default Re: How to show HTML content in side bar? Thanks.

    Your code works here. www .stevesh.org

  4. #4
    Join Date
    Sep 2011
    Location
    Toronto, Ontario, Canada
    Posts
    290
    Plugin Contributions
    0

    help question Re: How to show HTML content in side bar? Thanks.

    Quote Originally Posted by stevesh View Post
    Your code works here. www .stevesh.org
    Can you please tell me the other settings? I must have missed something somewhere!!!

    Maybe can you tell me what's your setting in the following places?

    Admin-> Tools: Layout Box Controller, Ez-pages,
    Admin->Configuration-> Layout settings, EZ-Pages settings

    Thank you very much.

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

    Default Re: How to show HTML content in side bar? Thanks.

    Sorry - I'll be back.
    Last edited by stevesh; 25 Sep 2011 at 01:00 PM.

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

    Default Re: How to show HTML content in side bar? Thanks.

    Since the Blank Sidebox has nothing to do with EZ pages, those settings don't matter. Here's what I did:

    Installed the mod.

    Opened blank_sidebox_defines.php and replaced this code:
    Replace this text with your HTML content. with your code, then saved the file to the proper override folder.

    Then I opened tpl_blank_sidebox.php and removed this string, leaving the single quotes:

    <p>You can include text, links, images, HTML markup and even PHP code</p>

    Done.

  7. #7
    Join Date
    Sep 2011
    Location
    Toronto, Ontario, Canada
    Posts
    290
    Plugin Contributions
    0

    Default Re: How to show HTML content in side bar? Thanks.

    Quote Originally Posted by stevesh View Post
    Since the Blank Sidebox has nothing to do with EZ pages, those settings don't matter. Here's what I did:

    Installed the mod.

    Opened blank_sidebox_defines.php and replaced this code:
    Replace this text with your HTML content. with your code, then saved the file to the proper override folder.

    Then I opened tpl_blank_sidebox.php and removed this string, leaving the single quotes:

    <p>You can include text, links, images, HTML markup and even PHP code</p>

    Done.
    Where did you put it? If it has nothing to do with the Ez-pages, There must be somewhere to set it in Admin-> Tools: Layout Box Controller
    Admin->Configuration-> Layout settings

    Maybe I did everything correct but forgot to turn on the display somewhere?

    BTW: Can you please paste your modified files and their folders here.

    Thank you very much.

 

 

Similar Threads

  1. v154 Why doesn't the HTML content show up ?
    By AbbyTan in forum General Questions
    Replies: 15
    Last Post: 26 Sep 2015, 05:16 AM
  2. Getting HTML bar to show on every page on my site
    By thebigkick in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 May 2012, 04:49 PM
  3. Click category to show subcategory in the side menu but not in the main content box
    By dealbyethan.com in forum Setting Up Categories, Products, Attributes
    Replies: 23
    Last Post: 3 Mar 2011, 03:04 PM
  4. Images show HTML content under title bar
    By dmacmanes in forum General Questions
    Replies: 0
    Last Post: 1 Jan 2010, 05:05 PM
  5. How to Add SSL Seal to Side Bar Under Side Boxes
    By jacdesigner in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Mar 2009, 08:54 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