Get the book

Go Back   Zen Cart Support > Community Contributed Add-Ons > All Other Contributions/Addons

All Other Contributions/Addons Discussion of contributions/addons not categorized above

Reply
 
Thread Tools Display Modes
Old 7th December 2006, 08:03 PM   #31
Randolph Hoppe
New Zenner
 
Join Date: Jan 2004
Posts: 99
Default Re: Wordpress On Zencart / Released

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?
Randolph Hoppe is offline   Reply With Quote
Old 8th December 2006, 12:02 AM   #32
dvasdekis
New Zenner
 
dvasdekis's Avatar
 
Join Date: Nov 2006
Posts: 75
Default Re: Wordpress On Zencart / Released

In the readme under installation, there is this:
Quote:
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]
What exactly does this mean? I've opened up template-loader.php and the part that looks relevant is this:
Quote:
<?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;
This also seems applicable:
Quote:
} 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;
}
}
What exactly do I do here?

Thankyou for your help! I really appreciate the effort you took with the creation of this mod.

Last edited by dvasdekis; 8th December 2006 at 12:09 AM.
dvasdekis is offline   Reply With Quote
Old 10th December 2006, 08:15 AM   #33
bettysue
Totally Zenned
 
Join Date: May 2004
Posts: 743
Default Re: Wordpress On Zencart / Released

Hi,

Which version of 1.3 is your November update for?

thank you,

betty
bettysue is offline   Reply With Quote
Old 19th December 2006, 11:44 PM   #34
corrado444
New Zenner
 
Join Date: Aug 2006
Posts: 17
Default Re: READ installation point 5

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.
corrado444 is offline   Reply With Quote
Old 3rd January 2007, 07:42 AM   #35
TrinitySEO
New Zenner
 
Join Date: Dec 2006
Posts: 13
Default Re: READ installation point 5

Quote:
Originally Posted by corrado444 View Post
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
TrinitySEO is offline   Reply With Quote
Old 4th January 2007, 05:46 AM   #36
Lala_G_Clef_Jewelry
Zen Follower
 
Join Date: Apr 2006
Location: Kansas
Posts: 238
Default Re: READ installation point 5

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
Lala_G_Clef_Jewelry is offline   Reply With Quote
Old 26th January 2007, 03:25 AM   #37
andrabr
New Zenner
 
Join Date: Jan 2007
Posts: 35
Default Re: Wordpress On Zencart / Released

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!
andrabr is offline   Reply With Quote
Old 26th January 2007, 12:16 PM   #38
hira
New Zenner
 
hira's Avatar
 
Join Date: Jun 2004
Posts: 70
Default Re: Wordpress On Zencart / Released

Quote:
Originally Posted by dvasdekis View Post
What exactly do I do here?

Thankyou for your help! I really appreciate the effort you took with the creation of this mod.
Thank you for reply.
A reply becomes slow and is sorry.
The reason why I comment out [exit;] is that I display the right box, a footer of ZenCart.
feed is not displayed in ZenCart.
Therefore I do not comment out.
__________________
My Contributions: Wordpress On Zencart

Blog:http://www.s-page.net/en/
hira is offline   Reply With Quote
Old 26th January 2007, 12:18 PM   #39
hira
New Zenner
 
hira's Avatar
 
Join Date: Jun 2004
Posts: 70
Default Re: Wordpress On Zencart / Released

Quote:
Originally Posted by bettysue View Post
Which version of 1.3 is your November update for?
Thank you for reply.
A reply becomes slow and is sorry.
I should be able to use any released version now.
__________________
My Contributions: Wordpress On Zencart

Blog:http://www.s-page.net/en/
hira is offline   Reply With Quote
Old 26th January 2007, 12:22 PM   #40
hira
New Zenner
 
hira's Avatar
 
Join Date: Jun 2004
Posts: 70
Default Re: READ installation point 5

Quote:
Originally Posted by TrinitySEO View Post
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
Thank you for follow.
I am very thankful for my having you support it in this way because English is a weak point.
__________________
My Contributions: Wordpress On Zencart

Blog:http://www.s-page.net/en/
hira is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +1. The time now is 01:07 AM.

Learn tips, tricks & secrets for your Zen Cart™
Sign up for our FREE Newsletter

Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content and Graphics Copyright (c) 2006, 2007, 2008, 2009 Zen Ventures, LLC - all rights reserved
Get Zen Cart E-Commerce Shopping Cart at SourceForge.net. Fast, secure and Free Open Source software downloads