Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    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.

  2. #12
    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.

  3. #13
    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.

  4. #14
    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.

  5. #15
    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.

    If you installed the mod correctly, it will appear in Admin - Tools - Layout Boxes Controller.

    I thought you said you had the box activated, but the image won't appear. A link to your site would help.

    blank_sidebox_defines.php:

    define('BOX_HEADING_BLANK_SIDEBOX', 'Blank Sidebox Header');
    define('TEXT_BLANK_SIDEBOX', '<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>
    ');


    tpl_blank_sidebox.php:

    $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_sidebox_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 .= '' . TEXT_BLANK_SIDEBOX . '';
    $content .= '';

    $content .= '</div>';

  6. #16
    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.
    Quote Originally Posted by stevesh View Post
    If you installed the mod correctly, it will appear in Admin - Tools - Layout Boxes Controller.

    I thought you said you had the box activated, but the image won't appear. A link to your site would help.

    blank_sidebox_defines.php:

    define('BOX_HEADING_BLANK_SIDEBOX', 'Blank Sidebox Header');
    define('TEXT_BLANK_SIDEBOX', '<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>
    ');


    tpl_blank_sidebox.php:

    $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_sidebox_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 .= '' . TEXT_BLANK_SIDEBOX . '';
    $content .= '';

    $content .= '</div>';
    Thank you very much, yes the Blank_side_box was not activated! I will play with it to see if it can work like text widget in Wordpress, hopefully yes.

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

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

    Although the clustermap is working now, however, it is set to show in the right side area. If I need to show a different HTML page like with YouTube in the main page area, how do I do that?

    I know ezpage might do, but really confused by some posts in the forum, it would be great appreciated if someone can post a step-by-step tutorial!

  8. #18
    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.

    Not exactly sure what you're asking, but it sounds like EZ pages are what you want. EZ pages are pretty simple and their content displays in the center section. I use them a lot.

    https://www.zen-cart.com/tutorials/i...hp?article=117

 

 
Page 2 of 2 FirstFirst 12

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