Zen Cart Logo
Forums / All Other Contributions/Addons / Wordpress On ZC [Support Thread]

Wordpress On ZC [Support Thread]

Views: 620,557

Results 1,181 to 1,200 of 1,861
22 Jan 2010, 7:18 PM
#1181
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Wordpress On ZC [Support Thread]

I'm not clear how WHERE you did this, and that's what I am trying to get clarification on.. Are you are saying you added this code to the main page using the define pages editor???

ourcollegetown:

That's what made this so nice and clean. Right in define main:

<font size=4><b><a href="http://www.OurCollegeTown.net/blog">Latest Mercer News:</a></b></font><br><?php // Include Wordpress define('WP_USE_THEMES', false); require('/home/website/public_html/blog/wp-load.php'); query_posts('showposts=3'); ?>

<?php while (have_posts()): the_post(); ?>

<font size=3><a href="<?php the_permalink(); ?>"><?php the_title(); ?> - </font><font size=0> More</font></a><br>

<?php endwhile; ?>

<a href="http://www.OurCollegeTown.net/blog">More Mercer News...</a><p>

22 Jan 2010, 9:59 PM
#1182
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Not dumb questions, but they are answered in the readme file for this mod.. Your questions refer to my original post for doing this. There have been some modifications since that original post..

Please go back to the link I provided. Read the full post, and download the zip file. There is a readme file included which gives you step by step instructions on how to implement this.. It's pretty straight forward..

Let me know if that helps..

Ok. I followed directions and installed to my directory. I can get to https://www.burnerbooks.com/blog and admin area. I installed WOZ sideboxes. I can see in zencart admin. When I turn them on I see on site. But, does not link to blog. I skipped step2 because I do want it to be embedded.

How do I get the website sidebox to link?

22 Jan 2010, 10:11 PM
#1183
ourcollegetown avatar

ourcollegetown

New Zenner

Join Date:
Jan 2009
Posts:
33
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Look back over my previous posts. I was pretty detailed and gave explanations..... lol

It doesn't matter whether you use a simple text editer or the define page tool. Just put the language in the body of that file.

DivaVocals:

I'm not clear how WHERE you did this, and that's what I am trying to get clarification on.. Are you are saying you added this code to the main page using the define pages editor???

22 Jan 2010, 10:18 PM
#1184
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

I understand that, and I did look at your posts.. lol

However, there are other ways to add content to the main page which is why I was trying to get specific details on what you did.. But thanks anyway for your help.. I'm sure that I'll get it all figured out anyway, and as always I'll share my results with the community.. lol

ourcollegetown:

Look back over my previous posts. I was pretty detailed and gave explanations..... lol

It doesn't matter whether you use a simple text editer or the define page tool. Just put the language in the body of that file.

22 Jan 2010, 10:31 PM
#1185
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

kburner:

Ok. I followed directions and installed to my directory. I can get to www.burnerbooks.com/blog and admin area. I installed WOZ sideboxes. I can see in zencart admin. When I turn them on I see on site. But, does not link to blog. **I skipped step2 **because I do want it to be embedded. **

How do I get the website sidebox to link?**Simple.. The sideboxes don't work because you skipped step #2..

kburner:

because I do want it to be embedded.I don't get what you are asking.. Earlier you said you wanted a SEPARATE blog. Which is why I suggested installing my sidebox only variation of WOZ..

kburner:

My goal is to have blog OUTSIDE of my webstore. I do NOT want it embedded into my site. I want WP to link to my store and store to link to WP. It would have been nice to have archieves, etc link...but coud not get to work.

23 Jan 2010, 12:21 AM
#1186
ourcollegetown avatar

ourcollegetown

New Zenner

Join Date:
Jan 2009
Posts:
33
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

I understand that, and I did look at your posts.. lol

However, there are other ways to add content to the main page which is why I was trying to get specific details on what you did.. But thanks anyway for your help.. I'm sure that I'll get it all figured out anyway, and as always I'll share my results with the community.. lol

Yes, I did use the define main pages tool, and put it right at the top. But, I'm not sure that is the only way it could be done. It seems like this script could literally be put in any php file and it work out fine.

23 Jan 2010, 7:20 AM
#1187
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

So I bundled up my WOZ "sidebox only" solution. I've submitted it to the downloads section (as a seperate mod) and hopefully it will be approved and made available as an add-on. In the meantime, I'm uploading it here in case anyone else wants to use this WOZ "sidebox only" solution instead of the embedded WOZ solution.

I take no credit for the code.. This is Hira's code with a few tweaks (as outlined below), and any files/code that are only needed for embedding stripped out.

I found that using this WOZ "sidebox only" method eliminates the compatibility issues with WOZ and a number of other plugins (particularly SEO mods, XML sitemap mods, and the Google Merchant mods). Using the WOZ sideboxes alone resolved these compatibility issues for me.

Hope there are others who will find this useful..

yes, it is actually great mod.

However, did all of you find the fatal error after installed this mod???

Once installed this mod on our site, please check your site at http://validator.w3.org/checklink, then you will find most of your links is retured 404 error.

any fix to the problem?:frusty:

23 Jan 2010, 1:40 PM
#1188
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Simple.. The sideboxes don't work because you skipped step #2..

I don't get what you are asking.. Earlier you said you wanted a SEPARATE blog. Which is why I suggested installing my sidebox only variation of WOZ..

Yes!! It works! I had a file messed up. Thank you so much for your help!:clap::clap: Kim

23 Jan 2010, 2:30 PM
#1189
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

Jerry5763837:

yes, it is actually great mod.

However, did all of you find the fatal error after installed this mod???

Once installed this mod on our site, please check your site at http://validator.w3.org/checklink, then you will find most of your links is retured 404 error.

any fix to the problem?:frusty:I'm going to assume from your follow-up post that this is not an issue... correct??

24 Jan 2010, 2:39 PM
#1190
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Generally speaking, if the page is retured to 404 error, that means this page is blind to robot, and it will not be scrawed and indexed.

Maybe this is a great mod to who does not care about SEO.

DivaVocals, any suggestion to fix this problem:clap:

24 Jan 2010, 3:51 PM
#1191
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

Jerry5763837:

Generally speaking, if the page is retured to 404 error, that means this page is blind to robot, and it will not be scrawed and indexed.

Maybe this is a great mod to who does not care about SEO.

DivaVocals, any suggestion to fix this problem:clap:Nope.. Especially since I am not sure what problem you are speaking of.....

24 Jan 2010, 3:52 PM
#1192
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

kburner:

Yes!! It works! I had a file messed up. Thank you so much for your help!:clap::clap: KimExcellent..

24 Jan 2010, 4:38 PM
#1193
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Nope.. Especially since I am not sure what problem you are speaking of.....

Hi, DivaVocals,

Is there any successful zen-cart site which was installed WOZ mod?
please show me the url, I w:smile:ant to check if problem exist.

waiting online.....

24 Jan 2010, 4:49 PM
#1194
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

Jerry5763837:

Hi, DivaVocals,

Is there any successful zen-cart site which was installed WOZ mod?
please show me the url, I want to check if problem exist.

waiting online.....
Try
http://www.dezinashop.co.uk

24 Jan 2010, 4:57 PM
#1195
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

hello, misty

thanks for your quick response.

Great, it is actullay a successful site. Maybe i made some mistake. i will check carefully later.

thanks again.:frusty:

24 Jan 2010, 5:18 PM
#1196
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

Jerry5763837:

hello, misty

thanks for your quick response.

Great, it is actullay a successful site. Maybe i made some mistake. i will check carefully later.

thanks again.

http://dezinacart.co.uk

is using zencart 1.38a, with WOZ zencart mod
VERSION 1.3 and Wordpress 2.9, just following Hira's
install instructions in Woz zip, re WordPress integration...
HTH

24 Jan 2010, 5:25 PM
#1197
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

Jerry5763837:

hello, misty

thanks for your quick response.

Great, it is actullay a successful site. Maybe i made some mistake. i will check carefully later.

thanks again.:frusty:Indeed you may have, and without a link to your site, can't say what..
Links to my test sites (and Misty's site and other working sites are posted ALL through this thread..)
http://zen138blog2.overthehillweb.com/index.php?main_page=wordpress

http://zen138blog1.overthehillweb.com/index.php?main_page=wordpress

24 Jan 2010, 6:21 PM
#1198
pink avatar

pink

New Zenner

Join Date:
May 2009
Posts:
64
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

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 ```
$content .= '<ul>'.$out.'</ul>';


should look like this: ```
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
  $content .= '<ul>'.$out.'</ul>';
  $content .= '</div>';

:wink:

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: 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: ```
// 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".
24 Jan 2010, 8:32 PM
#1199
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

Pink:

You wrote there:

One should add the closing div-tag too. So the replacement of $content .= '<ul>'.$out.'</ul>';should look like this: ```
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
$content .= '<ul>'.$out.'</ul>';
$content .= '</div>';

25 Jan 2010, 8:53 AM
#1200
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Indeed you may have, and without a link to your site, can't say what..
Links to my test sites (and Misty's site and other working sites are posted ALL through this thread..)
http://zen138blog2.overthehillweb.com/index.php?main_page=wordpress

http://zen138blog1.overthehillweb.com/index.php?main_page=wordpress

hello, Misty and DivaVocals,

thanks for your further info.

I noted that the successful site is not installed with any SEO mod.

Does it means that the WOZ mod conflict with SEO mod, right?:clap: