Your code works here. www .stevesh.org
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.
Sorry - I'll be back.
Last edited by stevesh; 25 Sep 2011 at 01:00 PM.
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.
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>';