
Originally Posted by
DivaVocals
A few updates to my previous post.. I wanted to include a few more details, plus there's one tweak I thought might be useful in general to folks using this mod.. (changes highlighted in blue below)
You wrote there:
3. Go to "includes/templates/template_default/sideboxes". Open all of the WOZ sidebox files and look for this line $content .= '<ul>'.$out.'</ul>';
Just above this line add this: $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
This will format the WOZ sideboxes to look like your store's other sideboxes
One should add the closing div-tag too. So the replacement of
Code:
$content .= '<ul>'.$out.'</ul>';
should look like this:
Code:
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
$content .= '<ul>'.$out.'</ul>';
$content .= '</div>';

I do have one fix to for the multi-site-installation. I guess, that the server could handel a "wrong" config in includes/extra_configures/wordpress-config.php like:
Code:
define('ABSPATH','/home/httpd/vhosts/domain1.com/httpdocs/theblog/');
But I do not like a site on domain2.com have paths with domain1.com in some config-file. So I resolved this this way:
Code:
// fix for zen-cart and wp in multidomain-installation
$domain = strtolower($_SERVER["HTTP_HOST"]); // get domain
if(substr($domain,0,4) == 'www.'){ // test if domain is with "www." or not
$domain=substr($domain,4); //get rid of "www."
}
// build the path
define('ABSPATH','/home/httpd/vhosts/'.$domain.'/httpdocs/theblog/'); // Please end of this in "/".
I still didn't test it with the other domains, but I guess it works too, as it does with "domain1.com".
Bookmarks