1 jltitus Oct 28, 2005 00:52
3 nate Oct 28, 2005 02:26
You should go into the directory of the skin you are using and find the _main.php file. Open it up with an editor and find the part that is labeled the Sidebar. It's probably going to begin with a div tag labeled bSideBar. You can safely delete the entire sidebar and keep the main post area. That might be all you need.
Give it a try and if it doesn't work let us know...
4 jltitus Oct 28, 2005 04:25
if I do that though, then people going to the main blog http://www.creativewebsights.com/b2evolution/blogs/index.php?blog=6 The calendar won't be there.
See I want the sidebar in the blog when you got to the main blog http://www.creativewebsights.com/b2evolution/blogs/index.php?blog=6 but not there when you go to http://www.creativewebsights.com/journal1.htm
5 kweb Oct 31, 2005 18:35
This is not too difficult. All you need to do is add a little code to check for a specific parameter (I'll call it 'nosidebar'), and hide the bSideBar div if it finds that parameter. Then, you pass that parameter from the IFRAME in your website.
In your _main.php file, add the following code, just before (above) the </head> tag:
<?php if ($_GET['nosidebar']) { ?>
<style type='text/css'>
.bSideBar { display: none ! important; }
</style>
<?php } >
Then, change your IFRAME tag in your website to look like this:
<IFRAME NAME="cal" SRC="http://www.creativewebsights.com/b2evolution/blogs/index.php?blog=6&nosidebar=true" frameborder=0 height=780 width=100%></IFRAME>
The end result should be that your sidebar is hidden whenever your page is called within the IFRAME of your website, but it shows up normally otherwise.
I'm pretty new to this so I'll need a lot of help.