Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
MeeM
Thanks DivaVocals. Which Numinix blog embedding solution are you referring to?
Don't have the link off the top of my head (not at home right now).. but search his site for "WordPress" or search THIS thread for "Numinix" and the link is posted there..
Re: Wordpress On Zencart / Released
I wish i found this link before i used WOZ.
Here it is:
http://www.numinix.com/blog/2009/09/...n-cart-1-3-8a/
Re: Wordpress On Zencart / Released
Hello all, I just loaded the sideboxes only mod. I would only like to show recent posts. How do I prevent the other pieces(archives, etc.) from showing?
Re: Wordpress On Zencart / Released
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
wagnerguy
Hello all, I just loaded the sideboxes only mod. I would only like to show recent posts. How do I prevent the other pieces(archives, etc.) from showing?
If I recall there is a recent posts sidebox that I included in the package.. You could use that instead of the WordPress sidebox (which displays ALL your active widgets)
Re: Wordpress On Zencart / Released
Hello, I looked for an answer to my problem but did not see one. I just installed the WOZ add on and made it so the blog categories show up in the sidebar. When I click on any of the blogs it leads me to a page with no css and my zen cart layout is completely gone. I probably missed a step somwhere. Anyone know what direction to point me to?
Also I saw on some people's websites that they have a latest article section in the sidebar. How do I activate that?
I'm using Zen Cart 1.3.8a and WordPress Version 3.0.3.
Here is a link to the site I'm working on: http://www.thechocolatebaronline.com/
Re: Wordpress On Zencart / Released
Hira,
What is the path I enter for /admin/tools/woz manager as the wordpress physical root? When I go to /admin/tools/woz manager it says: WordPress root physical path the following path is a COMPLETE path to your WordPress files. Then it lists a path (which I don't want to paste here for security reasons). I enter that path and click "confirm" and
I always get the message that wp-config.php can't be found, even though it's located in a directory called wp on the root of my server. I've tried several variations to the path with no luck. I've installed everything else, and modified the files per your instructions, just can't get it to accept the path that I believe is the correct one.
Thanks for your help,
Ken
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
Ken Joy
Hira,
What is the path I enter for /admin/tools/woz manager as the wordpress physical root? When I go to /admin/tools/woz manager it says: WordPress root physical path the following path is a COMPLETE path to your WordPress files. Then it lists a path (which I don't want to paste here for security reasons). I enter that path and click "confirm" and
I always get the message that wp-config.php can't be found, even though it's located in a directory called wp on the root of my server. I've tried several variations to the path with no luck. I've installed everything else, and modified the files per your instructions, just can't get it to accept the path that I believe is the correct one.
Thanks for your help,
Ken
You might wanna let this mod go.. IMHO, it's been a LOAD of problems and the support from Hira (no offense) has always been spotty until you complain about it.. if ya wanna embed your blog inside Zen Cart this is a BETTER way to do this:
http://www.numinix.com/blog/2009/09/...n-cart-1-3-8a/
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
DivaVocals
You might wanna let this mod go.. IMHO, it's been a LOAD of problems and the support from Hira (no offense) has always been spotty until you complain about it.. if ya wanna embed your blog inside Zen Cart this is a BETTER way to do this:
http://www.numinix.com/blog/2009/09/...n-cart-1-3-8a/
Thanks! I'll give it a shot :)
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
hira
A method to use WOZ v1.5 and Ultimate SEO URLs
Open /includes/init_includes/init_woz.php
Please edit a red part
Code:
require_once(ABSPATH . 'wp-config.php');
wp();
if ($_GET['main_page'] == FILENAME_WORDPRESS && ( is_feed() || is_trackback() )) {
gzip_compression();
require_once(ABSPATH . WPINC . '/template-loader.php');
exit();
}
Open includes\classes\ssu\cores\link.php
Please add a red part
Code:
// if the index.php is in the url, lets see if we need to rebuild the path and redirect.
if((strpos($this->original_uri, 'index.php') !== false)){
if(!isset($_GET['main_page']) || empty($_GET['main_page'])){
$_GET['main_page'] = 'index';
$this->original_uri = $this->original_uri. '&main_page=index';
}
if($this->checkPageExcludedList($_GET['main_page']))
return false;
$this->redirect_type = 2;
return false;
}
// for WordPress On ZenCart BOF
else if($_GET['main_page'] == FILENAME_WORDPRESS){ return false; }
// for WordPress On ZenCart EOF
// if we are using multi-lang, then we should have language code at the very beginning
if(SSUConfig::registry('configs', 'multilang_status')){
$languages_code = substr($this->original_uri, 0, 2);
if(!array_key_exists($languages_code, SSUConfig::registry('languages')))
$this->redirect_type = 1;
else{
$_get['language'] = $languages_code;
$this->original_uri = trim(substr($this->original_uri, 2), '/');
}
}
you'll need to set the Ultimate SEO URL rewrite rules to ignore direct client requests for the /blog folder by using an additional RewriteCond.
eg)
Code:
# Don’t rewrite blog directory
RewriteCond %{REQUEST_URI} !^/blog.* [NC]
RewriteCond %{REQUEST_URI} !^/wordpress.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) /index.php?%{QUERY_STRING} [L]
# Do rewrite blog directory
RewriteRule ^blog(.*)$ /index.php?main_page=wordpress&$1 [E=VAR1:$1,QSA,L]
Thank you! :clap: Works awesome with SSU too.