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

Wordpress On ZC [Support Thread]

Views: 620,634

Results 681 to 700 of 1,861
16 Mar 2009, 5:00 AM
#681
dfurlong avatar

dfurlong

New Zenner

Join Date:
Mar 2009
Posts:
4
Plugin Contributions:
0

Wordpress On ZC [Support Thread]

Hello. I want to say thank you to everyone who has posted in this thread. I've found all the content to be helpful in overcoming most all of my hurdles so far. If something could go wrong in my installation it seemed to go wrong.

I am using the most updated versions of both Wordpress and Zen Cart. It is finally working and doing exactly what I want it to do overall. Thanks to the previous posts in this thread.

What I am experiencing now is likely my own lack of programming knowledge and capabilities with css. That is my guess anyway. I am using the Glacial Age theme template in zencart.

The word press template is not fitting nicely inside of the space intended for the main page information and thus pushes the right column well beyond the background and border.

I saw some spacing issues mentioned previously and someone said they had to comment out all of the background images, borders, and font families in the word press template css file. I tried that and it didn't change anything for me other than not having the blue word press header. Which I would be quite happy to get rid of if I could figure out how to move the main information up.

The site is: http://arcmassage.com/zencart/index.php?main_page=wordpress

Zencart is live and working, wordpress is new.

I also have the zencart-and-wordpress-user-integration plug in from Chris Black installed and I hoping to install the checkout without registering one as well.

Any assistance is greatly appreciated.

Dora

16 Mar 2009, 5:37 AM
#682
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]

deleted

16 Mar 2009, 6:04 AM
#683
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]

supersnow:

I have asked this before but it seems like I am just a wall flower or something.

Has anyone got some ideas about a woz sitemap plugin with integration into the google zencart XML sitemap addon?

I went to wordpress and there are a number of sitemap plugins and I would like too know if anyone has some first hand experince with any and if they will work with the googole XML sitemap for zencart.

Plus it would be nice to have the wordpress pages and posts on the zencart core sitemap too!As with any help forum, answers not being posted don't mean you are being ignored.. It may simply mean that no one has an answer to your specific question.. Have you tried posing your question on the WordPress forum?? You might luck out by posing the question the other way around..

========================================================================

loosefast:

I think the problem is within the sidebox code. I inserted the code posted earlier in this thread:

<?php $posts = get_posts('numberposts=5'); // change to whatever number of posts to show foreach($posts as $post) : setup_postdata($post); ?> <hr /> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <?php the_date(); ?> <?php the_content(); ?><hr /> <?php endforeach; ?>

directly into the tpl_index_default.php page and the problem with the 2nd post not being found does not happen and links and work correctly.

I'm still fiddling with it here:

http://asialuna.com/I appreciate the suggestion.. I'll test this out for the next time I use WOZ.. In the meantime for the sake of expediency, I had to come up with a resolution for my two clients who I'm using the WOZ add-on with. For these two clients, I opted to use the sideboxes only on the Zen Cart side, and then skin the WordPress blog to match. (I cheated a little by finding WordPress templates which were VERY similar to the Zen template I was creating.)

========================================================================

dfurlong:

What I am experiencing now is likely my own lack of programming knowledge and capabilities with css. That is my guess anyway. I am using the Glacial Age theme template in zencart.

The word press template is not fitting nicely inside of the space intended for the main page information and thus pushes the right column well beyond the background and border.

I saw some spacing issues mentioned previously and someone said they had to comment out all of the background images, borders, and font families in the word press template css file. I tried that and it didn't change anything for me other than not having the blue word press header. Which I would be quite happy to get rid of if I could figure out how to move the main information up.

The site is: http://arcmassage.com/zencart/index.php?main_page=wordpressSounds like you have more CSS adjustments to make.. My suggestion is to get the Firefox developer tools and have a look at the WordPress content and set the width of the the containers which hold the main WordPress content. If they are fixed widths, you may need to either remove the width settings or set them to 100%..

dfurlong:

I also have the zencart-and-wordpress-user-integration plug in from Chris Black installed and I hoping to install the checkout without registering one as well.I am assuming this is some kind of WordPress plug-in. Can you confirm this??

16 Mar 2009, 6:49 AM
#684
dfurlong avatar

dfurlong

New Zenner

Join Date:
Mar 2009
Posts:
4
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Sounds like you have more CSS adjustments to make.. My suggestion is to get the Firefox developer tools and have a look at the WordPress content and set the width of the the containers which hold the main WordPress content. If they are fixed widths, you may need to either remove the width settings or set them to 100%..

Thank you very much. I will look into that. Anything to make this a little easier on a non-programmer. :) I know enough to get myself into trouble.

I am assuming this is some kind of WordPress plug-in. Can you confirm this??

Yes it is a WordPress plug-in, but everything is installed in the Zen Cart directory. Here is the link: http://wordpress.org/extend/plugins/zencart-and-wordpress-user-integration/

16 Mar 2009, 7:06 AM
#685
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Can anyone tell me if they've had any luck installing any of the SEO plugins for this application? I have 2.71 successfully installed on my site with the Simple SEO URL's mod for Zen.

My urls look beautiful but I have no control over the title, description, or keywords on my blog. Does anybody have any luck with this?

16 Mar 2009, 7:57 AM
#686
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]

dfurlong:

Thank you very much. I will look into that. Anything to make this a little easier on a non-programmer. :) I know enough to get myself into trouble. Glad that helped.. The Firefox dev tools are very useful..

dfurlong:

Yes it is a WordPress plug-in, but everything is installed in the Zen Cart directory. Here is the link: http://wordpress.org/extend/plugins/zencart-and-wordpress-user-integration/Thanks for the information! :)

swamyg1:

Can anyone tell me if they've had any luck installing any of the SEO plugins for this application? I have 2.71 successfully installed on my site with the Simple SEO URL's mod for Zen.

My urls look beautiful but I have no control over the title, description, or keywords on my blog. Does anybody have any luck with this?My guess is that you can't control them since they are generated by WordPress and not Zen Cart.. Have you tried posing this question on the SEO support thread as well??

22 Mar 2009, 11:55 PM
#687
svault avatar

svault

New Zenner

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

Re: Wordpress On ZC [Support Thread]

Using: WP 2.51, ZC 1.38a, Simple SEO URL 3.6.6

I'm also not interested to upgrade to WP 2.71. I don't think upgrading will solve this problem. As it is, WOZ is working on my site, just the URLs are not showing up properly.

Main WP page in zen cart: http://www.singaporevault.com/store/index.php?main_page=wordpress

I need help with the following:

Archives Sidebox:
Current: http://www.singaporevault.com/store/?m=200903
Need it change to: http://www.singaporevault.com/store/index.php?main_page=wordpress&m=200903

Categories Sidebox:
Current: http://www.singaporevault.com/store/?cat=3
Need it change to: http://www.singaporevault.com/store/index.php?main_page=wordpress&cat=3

Individual Post:
Current: http://www.singaporevault.com/store/?p=71
Need it change to: http://www.singaporevault.com/store/index.php?main_page=wordpress&p=71

Individual Page:
Current: http://www.singaporevault.com/store/?page_id=3
Need it change to: http://www.singaporevault.com/store/index.php?main_page=wordpress&page_id=3

I can't seem to figure out what and where needs to be adjusted. It doesn't seem too difficult but I'm at a lost.

23 Mar 2009, 7:49 AM
#688
svault avatar

svault

New Zenner

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

Re: Wordpress On ZC [Support Thread]

I think I've narrowed my problem further.

Currently my URL comes up as: https://www.mysite.com/store/?cat=1

I needthe URL to show up as any one of the following:

  1. https://www.mysite.com/store/wordpress?cat=1 or
  2. https://www.mysite.com/store/index.php?main_page=wordpress&cat=1 or
  3. https://www.mysite.com/store/?index.php?main_page=wordpress&cat=1

Basically I need to add:

  1. "wordpress" before of "?" or
  2. "index.php?main_page=wordpress&" after "?"
23 Mar 2009, 1:13 PM
#689
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]

Svault:

I think I've narrowed my problem further.

Currently my URL comes up as: www.mysite.com/store/?cat=1

I needthe URL to show up as any one of the following:

  1. www.mysite.com/store/wordpress?cat=1 or
  2. www.mysite.com/store/index.php?main_page=wordpress&cat=1 or
  3. www.mysite.com/store/?index.php?main_page=wordpress&cat=1

Basically I need to add:

  1. "wordpress" before of "?" or
  2. "index.php?main_page=wordpress&" after "?"Your question (and the answer) sounds more like a question for the SEO support thread.. Have you tried posing it there??? If you read through this support thread, most of the questions and answers are dedicated to configuring the WOZ mod to work. I do believe that part of the issue with SEO mods and this mod may be related to the fact that URL's are actually generated by WordPress (the URLS you are indicating are being generated as examples are indeed the way the URLs will be formatted). But that would be something that someone in the SEO support thread might be able to answer..
23 Mar 2009, 1:34 PM
#690
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]

DivaVocals:

Your question (and the answer) sounds more like a question for the SEO support thread.. Have you tried posing it there??? If you read through this support thread, most of the questions and answers are dedicated to configuring the WOZ mod to work. I do believe that part of the issue with SEO mods and this mod may be related to the fact that URL's are actually generated by WordPress (the URLS you are indicating are being generated as examples are indeed the way the URLs will be formatted). But that would be something that someone in the SEO support thread might be able to answer..Some additional thoughts.. To get URLs formatted the way you want would require changes to the WOZ mod.. With the exception of the main blog page URL, the URLs generated by WordPress are indeed WordPress generated URLs, not Zen Cart generated URLs. Therefore Zen Cart SEO mods will not be able to manage these URLS.. A possible solution is to install a WordPress SEO mod instead.. The most likely solution is a modification of the WOZ mod..

The original developer of this mod is LONG gone (he hasn't made an appearance here in well over a year and is absent on his own blog). If no one pops into this thread with a solution and you really want this, you might try posting your needs on the commercial forum.. I've had good success with postings there for things clients insisted on having..

23 Mar 2009, 5:49 PM
#691
svault avatar

svault

New Zenner

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

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Your question (and the answer) sounds more like a question for the SEO support thread.. Have you tried posing it there??? If you read through this support thread, most of the questions and answers are dedicated to configuring the WOZ mod to work. I do believe that part of the issue with SEO mods and this mod may be related to the fact that URL's are actually generated by WordPress (the URLS you are indicating are being generated as examples are indeed the way the URLs will be formatted). But that would be something that someone in the SEO support thread might be able to answer..

I've also posted this question in the SEO thread. But as this is more of a Wordpress issue, those people in the SEO thread can't help much.

I know that Wordpress generates URLs on its own and my problem is the way Wordpress generates it. I'm trying to figure out how to change that.

If someone can point to me how WOZ makes the main page for Wordpress to become "index.php?main_page=wordpress", I might be able to figure something out on how to add it in front of all Wordpress generated URLs.

Edit:
opps... didn't read your 2nd post. I might try to use a Wordpress SEO mod to add in the word "wordpress" but I highly doubt it would work. I'm now trying to figure out how to mod the WOZ files. I can't seem to find anything inside WOZ that calls the URL from Wordpress and mod it from there.

I know there's another user who is using WP 2.7 and ZC and the ZC SSU who has success but the person doesn't know how it was done. They were fooling around with the programs and it just happened to work.

23 Mar 2009, 7:47 PM
#692
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]

Svault:

opps... didn't read your 2nd post. I might try to use a Wordpress SEO mod to add in the word "wordpress" but I highly doubt it would work. I'm now trying to figure out how to mod the WOZ files. I can't seem to find anything inside WOZ that calls the URL from Wordpress and mod it from there.

I know there's another user who is using WP 2.7 and ZC and the ZC SSU who has success but the person doesn't know how it was done. They were fooling around with the programs and it just happened to work.I don't see why it wouldn't.. In theory it should work. WOZ is simplyWordPress within a Zen Cart wrapper so to speak.. (Hence why the URLS -- except ONE -- are URLs that are generated by WordPress) So a WordPress SEO might do the trick..

A hint on how to accomplish this via WOZ might be found in Kiddo's fix for the WOZ + WordPress v2.7.X main links. Her fix might provide you with a hint on how to accomplish what you are trying to achieve within WOZ.

23 Mar 2009, 9:35 PM
#693
svault avatar

svault

New Zenner

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

Re: Wordpress On ZC [Support Thread]

DivaVocals:

I don't see why it wouldn't.. In theory it should work. WOZ is simplyWordPress within a Zen Cart wrapper so to speak.. (Hence why the URLS -- except ONE -- are URLs that are generated by WordPress) So a WordPress SEO might do the trick..

A hint on how to accomplish this via WOZ might be found in Kiddo's fix for the WOZ + WordPress v2.7.X main links. Her fix might provide you with a hint on how to accomplish what you are trying to achieve within WOZ.

Hi there,

thanks again for your advice. I did try the Kiddo's fix for WP 2.7 yesterday when I was testing out various options but it was a no-go. After reading your suggestion, I went back and tried the fix and with a little tweaking, I got it to work. Not a perfect SEO type of URL but at least my ZC SEO program works and does not interfere with WP now.

Thanks again for your advice and help!!

23 Mar 2009, 11:22 PM
#694
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]

Svault:

Hi there,

thanks again for your advice. I did try the Kiddo's fix for WP 2.7 yesterday when I was testing out various options but it was a no-go. After reading your suggestion, I went back and tried the fix and with a little tweaking, I got it to work. Not a perfect SEO type of URL but at least my ZC SEO program works and does not interfere with WP now.

Thanks again for your advice and help!!No no no.. You don't get away that easily!!!:laugh: Time to SHARE what you did.. Especially since you were the second person to ask about this very thing in the last week.. Gotta give back to those who held your hand while you sweated out a solution!:laugh::laugh: (Okay the last part is OVER the top..:laugh: but you get my point!)

I can't program, but I can troubleshoot!:laugh: Glad you found an answer that works though!

23 Mar 2009, 11:50 PM
#695
sirryche avatar

sirryche

New Zenner

Join Date:
Feb 2007
Posts:
48
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

misty:

Show wordpress posts on main page of zencart..
Post following code into define_main_page.php

<?php require('./wp-blog-header.php'); ?><?php

$posts = get_posts('numberposts=[B]2[/B]'); // change to whatever number of posts to show
foreach($posts as $post) :
setup_postdata($post);
?>

<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <?php the_date(); ?> <?php the_content(); ?><hr /> <?php endforeach; ?> ``` > Alter 2, marked red, to number of posts to show.. > :smile:

i have tried this and i get an error......

ok well i have no idea what just happened i just applyed the code to the define_mainpage and now it works??:shocking:??? now is there a way to make the main wp section the home page? or would i just point my domain name to http://sirryche.com/pawnshop/index.php?main_page=wordpress. i would like to have the wp as the main home page. an not just a recap of the current blogs. thnaks

24 Mar 2009, 12:04 AM
#696
sirryche avatar

sirryche

New Zenner

Join Date:
Feb 2007
Posts:
48
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

waa just found out that when i click on a link on the sidebox it will go to that link but then the sidebox will be empty and at the bottom of that new page would have the links displaying . i looked around for wp sidebox problems so if somebody could point the way i be a very happy puppy :)

25 Mar 2009, 6:02 AM
#697
svault avatar

svault

New Zenner

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

Re: Wordpress On ZC [Support Thread]

DivaVocals:

No no no.. You don't get away that easily!!!:laugh: Time to SHARE what you did.. Especially since you were the second person to ask about this very thing in the last week.. Gotta give back to those who held your hand while you sweated out a solution!:laugh::laugh: (Okay the last part is OVER the top..:laugh: but you get my point!)

I can't program, but I can troubleshoot!:laugh: Glad you found an answer that works though!

Look inside wordpress-config.php for the following code:

	
$i=strlen(DIR_WS_CATALOG);
	$req=substr($_SERVER['REQUEST_URI'],$i,1);
	if($req=='?'){
		$_GET['main_page']='wordpress';
	}

Then insert:

	
$i=strlen(DIR_WS_CATALOG);
	$req=substr($_SERVER['REQUEST_URI'],$i,1);
	if(($req=='?') && ($_GET['main_page']=='wordpress')) {
		$_SERVER['REQUEST_URI'] = str_replace("?","wordpress?",$_SERVER['REQUEST_URI']);
	}

I don't think the code I came up with is written properly but it works for me. Now my WP in ZC pages (eg: cat, page_id, p) do not go to the 404 Page Not Found. If anyone knows how to write the code properly, please let me know. The last sentence of the code looks wrong but it works for now.

The above code is to solve my issue with regards to SSU 3.3.6, ZC 1.38a, WOZ.

31 Mar 2009, 11:48 PM
#698
tfortan avatar

tfortan

New Zenner

Join Date:
Aug 2005
Location:
Santa Cruz, CA
Posts:
24
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hello all,

I've gotten Wordpress working with a pretty-heavily-customized 1.3.7 install of Zen Cart, and it's working great except for one problem.

When I add the "Recent Posts" widget to the sidebar, it suddenly can't find a number of the posts. Here's what I mean.

  • I have the "Categories" widget enabled (not in dropdown mode)
  • I click, say, the "Zen Cart" category
  • It loads just fine

Then I enable "Recent Posts" and:

  • I click the "Zen Cart" category again
  • It says "Sorry, but there aren't any posts in the Zen Cart category yet."

Not to mention that only a few (one, right now) links in the Recent Posts area work. The rest go to the Wordpress 404 page, still loading in my ZC template of course.

The Post Count in parentheses next to the category name says that there are 3 posts, which is correct, whether I have Recent Posts enabled or not.

Has anyone encountered anything like this before? I'm fine with PHP, but this is for a client whose site we're migrating - everything needs to stay the same, thus the need to have Recent Posts enabled in the first place - and we can't afford to dig through the Wordpress code for hours on end. Any help would be very greatly appreciated.

1 Apr 2009, 12:35 AM
#699
loosefast avatar

loosefast

Zen Follower

Join Date:
Jun 2005
Posts:
199
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

The only fix I have found for this is to include the code found earlier in this thread on the define_main_page.php file

but then the posts appear in the center content area

There is something wrong with the wordpress sidebox code

whats up with the original dev of this plugin? Is it abandoned?

1 Apr 2009, 2:05 AM
#700
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 always recommend to people to read through the entire support thread for the add-ons. Not to be snarky, but becasue it really is incredibly helpful. Teh support threads gives you a sense of the common issues (and sometimes solutions to those issues), and a general sense of what you can expect to encounter when installing an add-on.. The problem you speak of sounds a LOT like the problem I reported..

The answer is that there is no solution, but a workaround. Please go back to around page 63-65.. Somewhere in there is my saga, and workaround solution. Basically I decided to fore go the primary function of WOZ (embedding WordPress inside Zen Cart) and opted instead to run WordPress as a standalone blog and using the widgets function in WordPress create links back to my Zen Cart store, and on the Zen Cart side I used only the WOZ sideboxes. This requires some slight adjustments in how you configure WOZ, but it solved my immediate issue and still tied WordPress to Zen in a nice way (IMO at least)

HTH

tfortan:

Hello all,

I've gotten Wordpress working with a pretty-heavily-customized 1.3.7 install of Zen Cart, and it's working great except for one problem.

When I add the "Recent Posts" widget to the sidebar, it suddenly can't find a number of the posts. Here's what I mean.

  • I have the "Categories" widget enabled (not in dropdown mode)
  • I click, say, the "Zen Cart" category
  • It loads just fine

Then I enable "Recent Posts" and:

  • I click the "Zen Cart" category again
  • It says "Sorry, but there aren't any posts in the Zen Cart category yet."

Not to mention that only a few (one, right now) links in the Recent Posts area work. The rest go to the Wordpress 404 page, still loading in my ZC template of course.

The Post Count in parentheses next to the category name says that there are 3 posts, which is correct, whether I have Recent Posts enabled or not.

Has anyone encountered anything like this before? I'm fine with PHP, but this is for a client whose site we're migrating - everything needs to stay the same, thus the need to have Recent Posts enabled in the first place - and we can't afford to dig through the Wordpress code for hours on end. Any help would be very greatly appreciated.