Re: Admin-Editable Sidebox - Support Thread
Firstly, Thanks for a handy little mod.
My question is...
Can I add flash banners to this mod?
If so what would I need to add ?
I already have SWFobject installed and have a working flash banner.
I assume i would need to edit the tpl_blank_sidebox.php file:
<?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 .= 'Here is where I would add the flash banner but unsure of coding to use';
$content .= '</div>';
?>
If I'm going about this the wrong way I;m open to other suggestions.
Thanks for any tips or advice.
Re: Admin-Editable Sidebox - Support Thread
*bump to new Post front page as no response please.
Re: Admin-Editable Sidebox - Support Thread
Quote:
Originally Posted by
Muzz
*bump to new Post front page as no response please.
always search tutorials/faq first. Search keyword "flash".
Re: Admin-Editable Sidebox - Support Thread
Quote:
Originally Posted by
ckosloff
always search tutorials/faq first. Search keyword "flash".
Already done this.. there is nothing I could find on sidebox for flash nor for using Blank sidebox mod and flash.
Anyone have any ideas ? Please see above post.
Re: Admin-Editable Sidebox - Support Thread
Maybe not that specific combination, but the suggestion would lead you to a wiki entry that gives you code to insert and the blank sidebox shows you exactly where to insert it.
However, this is not the support thread for flash or the blank sidebox. Please don't clutter it up with questions that aren't relevant to the admin-editable sidebox.
Re: Admin-Editable Sidebox - Support Thread
Quote:
Originally Posted by
kuroi
...the suggestion would lead you to a wiki entry...
that's exactly what I meant.
Re: Admin-Editable Sidebox - Support Thread
Just a quick thumbs-up for a very handy mod - Thanks Kuroi!
Re: Admin-Editable Sidebox - Support Thread
I just added this, and afterwards got red error warning on site, Warning: I am able to write to the configuration file. I took sidebox off again, but error remains. I looked in ftp and configure.php is set to 444, and before adding the sidebox the site did not have this red error. Any advice be appreciated.
Re: Admin-Editable Sidebox - Support Thread
Quote:
Originally Posted by
sadfurry
...looked in ftp and configure.php is set to 444, and before adding the sidebox the site did not have this red error.
This mod cannot change permissions, look elsewhere.
Re: Admin-Editable Sidebox - Support Thread
Hello All,
I'm unable to suppress my sideboxes per specific pages.
http://www.intrainingla.com/intraini..._page=trainers
I want to suppress the "press" and "left" sideboxes (the top two in left column) on this page, and then suppress "editable" sidebox (the third in left column) on all subsequent trainer profile pages.
<!--
// test if box should display
if (this_is_trainers_page) {
$show_editable_sidebox = true;
} else {
$show_editable_sidebox = false;
}
-->
My difficulty seems to be in calling the page/s correctly in the beginning of the if statement.
Any and all insight would be appreciated.
-Chris