Zen Cart Logo
Forums / General Questions / Blank Sidebox - Where to change the content?

Blank Sidebox - Where to change the content?

Locked

Views: 1,443

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
6 Aug 2009, 2:09 AM
#1
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Blank Sidebox - Where to change the content?

Hello Everyone,

I am having trouble to modify the content of the sidebox.

I am using the Blank Sidebox Version: 2.0 Author: kuroi

I have managed to add my picture and a hyperlink, but I am not able to remove the text:

Replace this text with your HTML content.

Could anyone tell me where I can define those text?

Thank you very much for your help in advance

6 Aug 2009, 2:10 AM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,284
Plugin Contributions:
38

Re: Blank Sidebox - Where to change the content?

Tools >> define pages editor >> Editable sidebox (or whatever else you called it) from the dropdown.

~Melanie

6 Aug 2009, 2:20 AM
#3
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Blank Sidebox - Where to change the content?

Thanks Mel,

I have had a good look, but there isn't anything on the drop down that assosiate with the blank page I have added, any other suggestion?

Genesis :oops:

6 Aug 2009, 2:21 AM
#4
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,284
Plugin Contributions:
38

Re: Blank Sidebox - Where to change the content?

Then the module is installed incorrectly

~Melanie

6 Aug 2009, 2:25 AM
#5
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Blank Sidebox - Where to change the content?

Thank you for your response

There was only 3 file to be added. I am fairly sure I have done it right.
Do I need to change any syntax apart from adding the files?

Genesis:bigups:

6 Aug 2009, 2:30 AM
#6
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,284
Plugin Contributions:
38

Re: Blank Sidebox - Where to change the content?

Apparently that version is older and requires hand editing of this file tpl_blank_sidebox.php for your content.

~Melanie

6 Aug 2009, 2:35 AM
#7
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Blank Sidebox - Where to change the content?

Thanks Mel,

I did edit one bit, but I am not able to locate the text

"Replace this text with your HTML content." From the code, below is the code. There is line saids

$content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>';

But I got no idea where TEXT_BLANK_SIDEBOX is.

<?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_sidebox.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_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 .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>'; $content .= '<p><a href="http://www.gameaccent.com/index.php?main_page=product_info&cPath=22&products_id=78"><img src="http://www.gameaccent.com/images//PSP2000Black.jpg" alt="PSP 2000" width="128" height="128" align="middle"> </a></p>'; $content .= '</div>'; ?>
6 Aug 2009, 2:46 AM
#8
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,284
Plugin Contributions:
38

Re: Blank Sidebox - Where to change the content?

/blank_sidebox_2-0/Blank_Sidebox_2.0/includes/languages/english/extra_definitions/blank_sidebox_defines.php

<?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_sidebox.php 2007-05-26 kuroi $
 */

define('BOX_HEADING_BLANK_SIDEBOX', 'Blank Sidebox Header');
define('[B]TEXT_BLANK_SIDEBOX'[/B], 'Replace this text with your HTML content.');

?>

~Melanie

6 Aug 2009, 2:55 AM
#9
gamenano avatar

gamenano

Zen Follower

Join Date:
Apr 2009
Location:
London
Posts:
127
Plugin Contributions:
0

Re: Blank Sidebox - Where to change the content?

Wowwww

Superb.

Thank you very much Mel.

:clap: Genesis