Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2011
    Posts
    3
    Plugin Contributions
    0

    Default Adding pages to blank sidebox

    Hi all...

    I'm new with zen cart. I have a Information Box and More Information Box. Then I want to add a similar box that has pages inside.

    I have found the Blank Sidebox add on to do this. But it seems only a Box with text/image capability. How to add list of links to pages in this Box??

    Thanks in advance

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

    Default Re: Adding pages to blank sidebox

    You can put pretty much anything in a Blank Sidebox, including HTML links (<a href = ...etc.>).

    You might also look at EZ pages, which have their own sidebox.

  3. #3
    Join Date
    Jan 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: Adding pages to blank sidebox

    Is there instruction on how to make the ezpages sidebox show?

    and how to make the link & content?

    very sorry to ask this, completely newbie here

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

    Default Re: Adding pages to blank sidebox

    The sideboxs are enabled in Admin - Tools - Layout Boxes Controller

    The EZ page sidebox won't display until you have created some EZ pages.

    The Blank Sidebox mod includes a pretty good readme.html instruction file.

  5. #5
    Join Date
    Jan 2021
    Location
    Arizona
    Posts
    134
    Plugin Contributions
    0

    Default Re: Adding pages to blank sidebox

    Well, I see this is an older thread, but thought I might add my nickels worth. Ya'll can double check me if you want.

    https://www.thercrv.com - My blank sidebox is called Rants and Raves.

    In the mod Blank_Sidebox it's actually pretty easy to add an EZ Page. I did mine this way:

    Create your EZ Page in admin/Tools/EZ-Pages
    Note the EZ-Pages ID in the top left
    Select "Page is Visible"
    Select No to Header, No to Sidebox, No to Footer
    Add your content to the HTML Content box and save it.

    Now,
    (Everything is in the includes folder)
    Copy all the files in the blank sidebox install package (There's only 3 total) with new names, leaving the native files just as they are for future sideboxes

    Thus:

    includes/languages/english/extra_definitions/blank_sidebox_defines.php
    becomes
    includes/languages/english/extra_definitions/yourword_sidebox_defines.php
    (In this file customize your header just as stated in the instructions, AND change all occurrences of the word blank to yourword)

    and

    includes/modules/sideboxes/blank_sidebox.php
    becomes
    includes/modules/sideboxes/yourword_sidebox.php
    (In this file, change all occurrences of the word blank to yourword)

    and

    includes/templates/template_default/sideboxes/tpl_blank_sidebox.php
    becomes
    includes/templates/template_default/sideboxes/tpl_yourword_sidebox.php
    (In this file, insert a hyperlink with title and text in the content section like so:)

    $content .= '<p>' . TEXT_YOURWORD_SIDEBOX . '</p>';
    $content .= '<a href="https://www.yoursite.com/index.php?main_page=page&id=PAGEID# " title="Use Your Title Here" target="_blank">Use your text here</a>';
    $content .= '</div>';

    Move your new sidebox to your server by merging the includes folder with your install includes folder, you don't have to merge the native files if you don't want to. Your new sidebox and content is ready to go. Make sure you turn it on in admin/Tools/Layout Boxes Controller.

    Cheers
    Last edited by TheGrimReaper; 31 Jan 2021 at 09:22 AM.
    Waiting to be Zenned - Over-thinking makes an easy task complicated.

 

 

Similar Threads

  1. Adding JavaScript to Blank Sidebox module
    By commdiver in forum Addon Sideboxes
    Replies: 19
    Last Post: 16 May 2014, 10:59 PM
  2. v150 Blank Sidebox Blank Page after adding code for livechat software
    By whatisthat456 in forum Basic Configuration
    Replies: 8
    Last Post: 3 May 2012, 10:40 AM
  3. Adding Twitter code to Blank Sidebox Add On
    By habsolutely in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 25 Sep 2011, 07:54 PM
  4. adding another blank sidebox
    By macc88 in forum Basic Configuration
    Replies: 3
    Last Post: 29 Nov 2009, 05:20 PM
  5. Adding EZ Pages to a new blank sidebox?
    By BigNath in forum Basic Configuration
    Replies: 1
    Last Post: 10 Sep 2009, 02:13 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR