Installing wordpress seperately without adding zencart wordpress
module files is the reason your wordpress zencart sideboxes are not
working...
Printable View
Hi..
I have followed the url below.. i thing itz zencart WP module
http://www.s-page.net/products/62.html
also i got the fields in sidebox. Please have a look on my site.. only problem is i cant able to access post pages.
Dhaya
Shall i install Wp again. Just download WP from http://wordpress.org/download/ and shall i proceed with Zen WP module?
Dhaya
Do I need to remove the rest of the code that is already there? I tried adding the code you provided before the existing code but the sidebox still shows up without being logged in.
I also went and tried adding the code after the existing code with the same results.
I was in error. The box is still there. But instead of showing archive information, it shows a box heading of Blog Archive, but shows manufacture information.
WP Archives sidebox.. only show sidebox to registered members
who are logged into zencart
Copy code below ..create file named wp_archives.php
Place file as follows into
/includes/modules/sideboxes/wp_archives.php
Works.. I tested 3 minutes agoCode:<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | license AT zen-cart DOT com so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
require($template->get_template_dir('tpl_wp_archives.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_wp_archives.php');
$title = BOX_HEADING_WP_ARCHIVES;
$left_corner = false;
$right_corner = false;
$right_arrow = false;
$title_link = false;
//Comment in next line if only registered members can view this sidebox
if ($_SESSION['customer_id'] != '')
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
?>
Worked. I don't know what I was doing wrong. I tried that. But, it is working now.
Thank you very much Misty!:clap:
Hi..
I installed new version from wordpress site and i got the content page in zen-cart. But still the post values are not displayed when i click the category then i reecived "page not found" error message. Please tell me where to configure?
Dhaya