Zen Cart Logo
Forums / Addon Sideboxes / Adding pages to blank sidebox

Adding pages to blank sidebox

Views: 11,555

Results 1 to 5 of 5
10 Jan 2011, 1:25 PM
#1
strike_noir avatar

strike_noir

New Zenner

Join Date:
Jan 2011
Posts:
3
Plugin Contributions:
0

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

10 Jan 2011, 1:29 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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.

11 Jan 2011, 9:09 AM
#3
strike_noir avatar

strike_noir

New Zenner

Join Date:
Jan 2011
Posts:
3
Plugin Contributions:
0

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

11 Jan 2011, 10:57 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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.

31 Jan 2021, 8:19 AM
#5
thegrimreaper avatar

thegrimreaper

Zen Follower

Join Date:
Jan 2021
Location:
Arizona
Posts:
134
Plugin Contributions:
0

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