customizing new sideboxes
Hello,
I've recently added a new sidebox to my site, the one in between categories and information.
http://kamskungfucinema.com/zencart/
I'm trying to customize this box so that there are two links, one saying "New Movies!" and the other saying "Win Free Movies With KUNG FU TRIVIA!" I can't seem to remove the part that says "Replace this text with your html content?"
I've looked in my blank sidebox php file but can find nothing that says that?
Also, how can I turn the text into links?
Any help would be greatly appreciated.
Re: customizing new sideboxes
That text is in
/includes/languages/english/extra_definitions/blank_sidebox.php
It seems that you edited it to add
Code:
define('BOX_HEADING_BLANK_SIDEBOX', 'Check It Out!');
But over looked
Code:
define('TEXT_BLANK_SIDEBOX', 'Replace this text with your HTML content.');
Re: customizing new sideboxes
Wow I did, thanks a lot.
Now how do I make those texts links to other pages?
And is there any way I can adjust the sidebox so there's not so much blank space in the middle, kind of shrink it down a bit?
Re: customizing new sideboxes
Looks like you are missing an opening <p> tag closing tag is in red
Code:
<div id="blanksideboxContent" class="sideBoxContent">New Movies!</p><p>Win Free Movies With KUNG FU TRIVIA!</p></div>
Might try this to close it up but I did not check it
Code:
<p>New Movies!<br /><br />Win Free Movies With KUNG FU TRIVIA!</p>
links are stsndard html and might be
Code:
<p><a href="Your link">New Movies</a><br /><br /><a href="Your link">Win Free Movies With KUNG FU TRIVIA!</a></p>
Re: customizing new sideboxes
Hmm... I dont see that exact sequence. Mine looks like this:
$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 .= 'New Movies!' . TEXT_BLANK_SIDEBOX . '</p>';
$content .= '<p>Win Free Movies With KUNG FU TRIVIA!</p>';
$content .= '</div>';
?>
I'm missing an opening tag or a closing tag?
Re: customizing new sideboxes
Ok I changed it the bottom part, and it looks like the space closed a bit
// 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>New Movies!<br /><br />Win Free Movies With KUNG FU TRIVIA!</p>';
$content .= '</div>';
?>
Re: customizing new sideboxes
Remove the <p> tags (but leave the single quotes) to remove the extra space.