I've already got Zen-Cart in the root, and Wordpress in it's own subfolder. Is it possible to use this contrib in this fashion, or should I re-set everything up?
I've already got Zen-Cart in the root, and Wordpress in it's own subfolder. Is it possible to use this contrib in this fashion, or should I re-set everything up?
In the readme under installation, there is this:
What exactly does this mean? I've opened up template-loader.php and the part that looks relevant is this:5.In [wp-include/template-loader.php] "exit;" , Please comment out.
(Besides a line of feed)
Reference [/SAMPLE/wp-include/template-loader.php&template-loader.php.org]
This also seems applicable:<?php
if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) {
do_action('template_redirect');
if ( is_feed() ) {
include(ABSPATH . '/wp-feed.php');
exit;
} else if ( is_trackback() ) {
include(ABSPATH . '/wp-trackback.php');
exit;
What exactly do I do here?} else {
// Process feeds and trackbacks even if not using themes.
if ( is_feed() ) {
include(ABSPATH . '/wp-feed.php');
exit;
} else if ( is_trackback() ) {
include(ABSPATH . '/wp-trackback.php');
exit;
}
}
Thankyou for your help! I really appreciate the effort you took with the creation of this mod.
Last edited by dvasdekis; 8 Dec 2006 at 12:09 AM.
Hi,
Which version of 1.3 is your November update for?
thank you,
betty
This code is obscure to me too:
5.In [wp-include/template-loader.php] "exit;" , Please comment out.
(Besides a line of feed)
Reference [/SAMPLE/wp-include/template-loader.php&template-loader.php.org]
Could someone explain? Thank you for the mod.
This was not clear to me initially but in rereading the installation instructions I found it quite easy.
Unzip the distribution file and go to the /woz_en/SAMPLE/wp-include folder and open the template-loader.php file. You will notice that all but the last two "exit;" functions have been commented out using two forward slashes ("//" without the quotes).
You can simply do a find & replace in your file finding all "exit;" and replace with "// exit;" replicating the sample file I reference above. You can also copy the file and overwrite the file that is in the wp-include folder in your WP installation.
I repeat: the final two exit; should be left alone. Do not comment them out.
I hope this helps.
Regards,
Greg
I went to go d/l the newest version and the link no longer works....
can anyone help me out?
thanks.
ps. yes i went to his webshop to get it and it didnt work, says file not found.
G Clef Jewelry
Dichroic and Beaded Jewelry
I have successfully managed to install Wordpress and Zen cart into separate directories, so I put together a small HOWTO here: http://n0tablog.wordpress.com/howtos...t-integration/
Just keep in mind that it worked for me and may not work for you. Take it with a pinch of salt.
If you find something wrong with it - you got to let me know, Ok?
Enjoy!
http://www.s-page.net/en/
I develop the module which Zen-Cart integrates with other CMS. (WordPress and XOOPS)
It may be funny English, but please endure it. (I am weak in English)
http://www.s-page.net/en/
I develop the module which Zen-Cart integrates with other CMS. (WordPress and XOOPS)
It may be funny English, but please endure it. (I am weak in English)
http://www.s-page.net/en/
I develop the module which Zen-Cart integrates with other CMS. (WordPress and XOOPS)
It may be funny English, but please endure it. (I am weak in English)
Bookmarks