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

Wordpress On ZC [Support Thread]

Views: 620,592

Results 1,021 to 1,040 of 1,861
25 Nov 2009, 6:59 PM
#1021
loosefast avatar

loosefast

Zen Follower

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

Wordpress On ZC [Support Thread]

DivaVocals:

So I am clear, the majority of my recent post IS about using WOZ. I like the WOZ sideboxes, just not the embedding part.. too much work to get it to function, and I've expressed that before.. (and will probably continue to do so since I still feel that way..:smile:) Perhaps the rest was off topic, but there are other posts in this thread that also dance around that fine line as well (for example how to embed recent posts on the front page -- this is an often asked about topic and technically NOT part of WOZ..)

My point is that the posts in this thread really never stray that far from this mod. However, for a variety of reasons, historically it has been difficult and painful for many to resolve issues with this mod.. (a peek through this thread bears that out..) So naturally people look for alternatives and share them with the community.. I think that is helpful.. (It is after all how I figured out how to make a recent posts side box for this module) Pehaps these solutions are not helpful for you, but they might be for those who have decided for whatever reason that this module is not working for them. So I think sharing my WOZ sidebox only solution IS helpful.. If you believe otherwise, we'll have to agree to disagree..:smile:

I actually didn't read your previous post before I made my last post! No disagreement! I certainly was not including you in my general observation.

I was just noticing the trend of the postings of WOZ still not being ready for prime time. Now that v 1.4 is released and (maybe) the developer will stick around, we can make some progress on it.

I'm excited because I installed the new version and everything seems to work as advertised. But, apparently not for anybody else!

I have yet to see a zen site that leads to a separate install and template of WordPress that looks seamless. Gotta keep that "Checkout" link in view...

25 Nov 2009, 7:16 PM
#1022
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]

loosefast:

I actually didn't read your previous post before I made my last post! No disagreement! I certainly was not including you in my general observation.We're cool!:smoke:

loosefast:

I was just noticing the trend of the postings of WOZ still not being ready for prime time. Now that v 1.4 is released and (maybe) the developer will stick around, we can make some progress on it.Not for nothing, but as cool as this module is, there has never been anyone to take the reigns of this project over for Hira.. In Hira's own words he cannot offer much in the way of support here or on his own site since there is a serious language barrier.. Unless we get a Japanese translator in here, those of use who use this app will continue struggling through supporting each other..

loosefast:

I'm excited because I installed the new version and everything seems to work as advertised. But, apparently not for anybody else!.I share your excitement, but based on the posts since the release, alas I see this version is also suffering from issues as did the last version.. I'll do my own testing this weekend to form a better opinion on this, but the issue for me with this module has always been in the fact that this module doesn't install consistently.. The sideboxes have ALWAYS worked perfectly though (hence my posted sidebox only solution..)

loosefast:

I have yet to see a zen site that leads to a separate install and template of WordPress that looks seamless. Gotta keep that "Checkout" link in view...Ahhhh IMO, seemless only comes from taking the time to make it seemless.. Not everyone will put in that extra effort.. It starts with styling the WordPress template to match the store's look and feel. and you have to get downright anal about it.. Look and feel aside, the MOST important aspect is tying the navigation between the store and the blog together.. The top and bottom nave should match as well as most other navigational elements.. I always include links back not just to the store's home page, but to the products, contact page, forms, and any other content that should be used to tie the store and the blog together to create a seemless experience..

25 Nov 2009, 7:24 PM
#1023
loosefast avatar

loosefast

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

DivaVocals:

alas I see this version is also suffering from issues as did the last version.. .

can you see any issues in my test install at http://berkautoguide.com/zen ?

thanks!

25 Nov 2009, 7:29 PM
#1024
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]

loosefast:

can you see any issues in my test install at http://berkautoguide.com/zen ?

thanks!The only thing I see with this one is the re-writing of the URLS.. Dunno if this is an intentional feature/function of WOZ, but I did find it odd.. You should activate more widgets so you can fully test other WP links.. To fully test this, I would also activate the other sideboxes as well just to see if they also work..

25 Nov 2009, 7:47 PM
#1025
loosefast avatar

loosefast

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

DivaVocals:

The only thing I see with this one is the re-writing of the URLS..

This is the 'stock' install of WOZ 1.4 and zen 1.3.8a, no added re-writing mods are here.

DivaVocals:

Dunno if this is an intentional feature/function of WOZ, but I did find it odd.. You should activate more widgets so you can fully test other WP links.. To fully test this, I would also activate the other sideboxes as well just to see if they also work..

The other WOZ sideboxes are not needed if the WP_sidbox displays WHATEVER* you assign in the widgets section of the Dashboard.

*OK OK (maybe)

25 Nov 2009, 9:26 PM
#1026
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]

loosefast:

This is the 'stock' install of WOZ 1.4 and zen 1.3.8a, no added re-writing mods are here.Understood, but WOZ is doing some sort of re-writing to the links as they are not formatted the way the old WOZ links used to be formatted.

For example this: http : //berkautoguide . com/zen/index.php?main_page=wordpress
becomes this: http : //berkautoguide . com/zen/?main_page=wordpress

and this is different than the previous version of WOZ which did not re-write blog links like this..

loosefast:

The other WOZ sideboxes are not needed if the WP_sidbox displays WHATEVER* you assign in the widgets section of the Dashboard.

*OK OK (maybe)I realize the other sideboxes are not needed if you are using the 'wp_sidebar' sidebox, but when I test software I test EVERYTHING even if I won't be using it to make sure everything works as expected.. So I was suggesting testing ALL the sideboxes to make sure they all work..

25 Nov 2009, 10:22 PM
#1027
loosefast avatar

loosefast

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Understood, but WOZ is doing some sort of re-writing to the links as they are not formatted the way the old WOZ links used to be formatted.

For example this: http : //berkautoguide . com/zen/index.php?main_page=wordpress
becomes this: http : //berkautoguide . com/zen/?main_page=wordpress

and this is different than the previous version of WOZ which did not re-write blog links like this..
I realize the other sideboxes are not needed if you are using the 'wp_sidebar' sidebox, but when I test software I test EVERYTHING even if I won't be using it to make sure everything works as expected.. So I was suggesting testing ALL the sideboxes to make sure they all work..

All boxes are now on, and using Classic template.

Only thing I'm seeing is that EZ-pages links will not show. I'm not quite getting your url example, do you mean the links are broken in wordpress?

OK. If I manually enter the url to an EZ page, I am seeing the title and breadcrumb links but a blank content area others mentioned in earlier posts.

http://berkautoguide.com/zen/index.php?main_page=page&id=1&chapter=0

So looks like a conflict there...

26 Nov 2009, 4:44 AM
#1029
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Wordpress On ZC [Support Thread]

loosefast:

It seems to me that we are getting away from discussing WOZ here.

Most recent posts are instead discussing other methods of using WordPress together with Zen Cart.

That's fine, but really not what this forum topic is about. I don't think it helps the folks having issues with this mod.

Has anybody setup the version 1.4 of WOZ with zen and gotten it to work?
While this is true, if there is a better alternative, it should be mentioned.

26 Nov 2009, 10:18 AM
#1030
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

Your site loads VERY slow, and though my screen resolution is set to 1152 X 864, the left and right side of your site extends OFF my screen without even a scrollbar to see the far left and far right of the layout..

i know! i spoke to this client at length about both performance and screen res, all to no avail. if only i had time to rant away here, but unfortunately they suggested the screen res of 1280 wide, and they also insisted on the visuals after we spent months working on numerous mockups. did the best i could with a stubborn customer, however perhaps i will be less tolerant next time as it reflects poorly on me!

DivaVocals:

I posted this earlier in the WOZ support thread: http://www.zen-cart.com/forum/showpost.php?p=693495&postcount=655.

thanks for this, didn't see it (i think at some stage i got double vision trying to find a solution!), will check it out.

DivaVocals:

I'm also gonna create a 'wp_posts' sidebox which displays the same content as your WordPress latest posts widget...

i had thought about doing the same, i just don't know if a sidebox does it justice. i also think many people would like to have pics visible for a more "seamless" integration, which also wouldn't squeeze into a sidebox in many instances. might keep a track of this thread if you're going to post updates as i believe what you are trying to do would be EXTREMELY beneficial for many users.

cheers
andrejs

26 Nov 2009, 10:27 AM
#1031
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

tried to edit, but took too long.

that last bit sounded silly - wasn't really what i was trying to say. should have read like this:

*i had thought about doing the same, i just don't know if sideboxes and the discrepancy between styles does it any justice. i had so much trouble dealing with conflicts in the stylesheets that i simply figured WP wasn't that hard to learn from the ground up and it was probably going to suit the customer better with the implementation we finished up with. i also think many people would like to see less of WP in their WOZ implementation and more of ZC in their WP implementation, as the money maker is ZC, while the traffic maker is WP, so looks aint necessarily that important with WP for a "seamless" integration.

will keep a track of this thread if you're going to post updates as i believe what you are trying to do would be EXTREMELY beneficial for many users, and i am now wondering about whether i should give it a crack.*

cheers
andrejs

26 Nov 2009, 3:27 PM
#1032
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]

ALiepinieks:

i know! i spoke to this client at length about both performance and screen res, all to no avail. if only i had time to rant away here, but unfortunately they suggested the screen res of 1280 wide, and they also insisted on the visuals after we spent months working on numerous mockups. did the best i could with a stubborn customer, however perhaps i will be less tolerant next time as it reflects poorly on me!At the risk of being blunt here, your client is more than stubborn, they are foolish :censored:.. It is preposterous to suggest to people that a 1280 wide resolution is the solution to THEIR site display problem.. The solution to their site display issue is to fix the sitee.. You are much better than me.. I would have let the client go before putting out a site that cannot be viewed across all browsers and resolutions.. Between the site performance and the screen resolution, they will LOSE customers.. Too bad they don't get that..

ALiepinieks:

*i had thought about doing the same, i just don't know if sideboxes and the discrepancy between styles does it any justice. i had so much trouble dealing with conflicts in the stylesheets that i simply figured WP wasn't that hard to learn from the ground up and it was probably going to suit the customer better with the implementation we finished up with. i also think many people would like to see less of WP in their WOZ implementation and more of ZC in their WP implementation, as the money maker is ZC, while the traffic maker is WP, so looks aint necessarily that important with WP for a "seamless" integration.

will keep a track of this thread if you're going to post updates as i believe what you are trying to do would be EXTREMELY beneficial for many users, and i am now wondering about whether i should give it a crack.*I found that it was WAAAAAY easier making my WordPress site look like my Zen Cart store than it was trying to get the embedding features of WOZ working.. So between the WOZ sidebox only implementation, and the addition of Zen Cart product links and navigational elements to my WordPress blog, I believe that I have been able to achieve a seemless transition between Zen Cart and WordPress. I'll share what I learn with the community as I make new discoveries..:D

26 Nov 2009, 6:55 PM
#1033
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]

Wanted to share this for anyone who is thinking about trying this themselves. Using the Word Press Theme Generator, I created this theme: http://tinyurl.com/y8o95lo. I think this template will serve well for this embedding method. This template is fairly generic, and is configured so that the widgets are positioned below the main content section versus to the right or left of it. This is means that once the sidebar code is removed (as per the instructions below), you won't have to resize the center content to fill the page. (Since this template already does that..)

Also it should be noted that for the same reasons, this template (with the sidebar code removed) might be useful for those who are using WOZ to embed their blog.

DivaVocals:

FYI,

Your site loads VERY slow, and though my screen resolution is set to 1152 X 864, the left and right side of your site extends OFF my screen without even a scrollbar to see the far left and far right of the layout..

I don't think what you're doing is lazy.. I too gave up on full integration using WOZ because it was far too aggravating for me trying to work through all these hiccups for every site I tried using this module with.

I posted this earlier in the WOZ support thread: http://www.zen-cart.com/forum/showpost.php?p=693495&postcount=655. These are my down and dirty instructions I came up with for using only the sideboxes from the WOZ module. I have since tweaked this process to include removing quite a bit of the code from the wp-configure.php file which interferes with other Zen Cart mods (Google feeds and SEO mods in particular). The code I removed was not needed for the WOZ sideboxes to work standalone.. I’ve also removed any files that were only used for the WOZ blog embedding, and were also not needed for the WOZ sideboxes to work standalone.

I'm also gonna create a 'wp_posts' sidebox which displays the same content as your WordPress latest posts widget (I'll be creating this sidebox based on these two links: http://codex.wordpress.org/Template_Tags/get_posts & http://www.dezinashop.com/demo/?p=4) Hira has code in the language files that implies that this sidebox exists, but it is not included in the WOZ files..

I have been giving some thought to packaging this up as an alternate add-on, or as an alternate install option in the WOZ app.. (Giving all credit to Hira of course..:clap:) It's another option that folks might wanna give a try..

Not to take anything away from Hira, but IMO a better method for blog embedding can be found here:
http://www.numinix.com/blog/2009/09/26/integrating-wordpress-into-zen-cart-1-3-8a/

As of this writing, I have taken a quick glance at the instructions and supporting files provided by Numinix. Numinix's embedding/integration method would appear to work with my WOZ sidebox only method. However, in order to make this look aesthetically pleasing, I probably should disable the display of the blog sidebar on most of the blog pages while still being able to enable/display the WP widgets elsewhere. I believe some variation of this would work:

I will be editing the following files within my blog’s theme:

  • index.php
  • page.php
  • single.php
  • archive.php
  • search.php

Within these files I’ll find and delete the following line:

<?php get_sidebar(); ?>
>  
> I’ll be testing this over the weekend of course, but IMO this is a better solution for those who must embed WP content.. Best of both worlds IMO.. Again no disrespect to Hira, but I have never had good success getting the embedding portion of this module to work trouble free..
27 Nov 2009, 8:03 PM
#1034
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]

So after a little trial and error I managed to create a "Recent Posts" sidebox for WOZ. Hira's code has always eluded to this sidebox being there. (there were definitions in the language files for a "Recent Posts" sidebox). Seemed logical that this should be one of the included sideboxes.

I have attached the "Recent Posts" sidebox I created in case anyone else finds this useful. I may update the latest WOZ install files to include it and upload it to the downloads section..

At first I tried using the WordPress "get_posts" tag (http://codex.wordpress.org/Template_Tags/get_posts). Turns out that this code didn't work:

 
get_posts('arguments');
``` I ended up with a blank sidebox. So after a quick Google search I found these two sites:
[The Easy Way To Display Recent Posts in WordPress](http://www.themelab.com/2008/05/26/the-easy-way-to-display-recent-posts-in-wordpress/)
[How to Display Recent Posts in WordPress](http://www.wpbeginner.com/wp-tutorials/how-to-display-recent-posts-in-wordpress/)
 
Both of these sites included instructions for two essentially idential methods to display recent posts. I often see folks asking about how to display recent posts on their store main pages.. So I thought these links might also be useful for this purpose. 
 
However, for the "Recent Posts" sidebox, these posts were the hint I was looking for.. I chose the first method because.. well because I found it 1st..:laugh: However, I have tested both methods, and they both work. I included code for both in the "Recent Posts" sidebox code (one is active the other commented out) just in case someone (for whatever reason) decided they liked the other method better..
 
Hope someone else finds this WOZ sidebox useful..
28 Nov 2009, 5:00 AM
#1035
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]

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..

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)

DivaVocals:

*Update: (for those who care..:laugh:)

I confirmed that I can indeed use the sideboxes from this mod if I run the blog as a seperate entity.. :clap: Wasn't a fluke at all.. Here's how (in BRIEF)

  1. Install WordPress (v2.7.x) in it's OWN directory -- you can use the same database where you have your Zen tables installed; just make sure that you use a table pre-fix to distinguish your WordPress tables from your Zen Cart tables
  1. Follow all of the install instructions for this mod with the exception of "Step 2" in the WOZ instructions. -- you may skip this step in it's entirety.. since you won't be embedding the blog, this step will cause problems later on. I**f you want, you can* also choose to *skip using Kiddo's change for v2.7.x since you won't be embedding the blog

Also since you will be running the blog as a seperate entity, you do not HAVE to use the default Word Press template that comes with WOZ. Therefore, you will not need the modified default template files included in this mod. So you can also skip the 2nd step of Step 3 in the WOZ instructions

  1. *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*

  1. Go to includes/modules/sideboxes. *Modify the "wp_sidebar.php" sidebox as follows: Comment out this line "$title_link = 'wordpress';" (should be line 27, this is *the code that creates the sidebox header link to the main blog page) -- again since you are not embedding the blog you won't need this link.
  1. Activate which ever WOZ sideboxes you want to use.

You'll of course need to skin your blog to match your ZenCart template. Some other suggestions for tying your WordPress blog to ZenCart include: (these are only a FEW suggestions, with a little imagination you can do a lot more)

  • Using the WordPress "Links" widget and create links back to specific products or product categories
  • Add links to your "Contact Us" forms, policies, & other Zen content.
  • Create a menu identical to your EZ Pages menu in the header or footer of your Blog

Hope someone else finds any of my ramblings helpful..:laugh: Here's a link to a real working version of this in case anyone wants to see an example of this in action.. http://www.lanikshair.com*

29 Nov 2009, 11:59 PM
#1036
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

...they will LOSE customers.. Too bad they don't get that..

they already are. they're starting to field calls from angry consumers, and now understanding what i tried to explain throughout the scoping phase of the project. their may be some light at the end of the tunnel yet.

DivaVocals:

...I would have let the client go before putting out a site that cannot be viewed across all browsers and resolutions...

as a startup business, it is unfortunate that i can't pick and choose my clients just yet. this one in particular had plenty of cash to part with, and will be a long-term customer so i believe this problem will eventually be rectified, even if it means they swallow some humble pie and reverse their decision.

DivaVocals:

...I found that it was WAAAAAY easier making my WordPress site look like my Zen Cart store than it was trying to get the embedding features of WOZ working...

really? perhaps i jumped to a conclusion before giving it enough time. working on 2 wordpress-only projects now so i guess i will learn more as i go and hopefully agree with you at some point down the road on this point : )

cheers
andrejs

30 Nov 2009, 1:25 AM
#1037
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]

ALiepinieks:

as a startup business, it is unfortunate that i can't pick and choose my clients just yet. this one in particular had plenty of cash to part with, and will be a long-term customerI get this.. but as a startup business myself, my only calling card is the work I have done.. So I want to make sure the work I do is work I can show to potential clients.. Please dont' take this wrong, but this site in it's current form isn't anything I would be able to show to a potential client.

ALiepinieks:

so i believe this problem will eventually be rectified, even if it means they swallow some humble pie and reverse their decision.Hopefully they are starting to see the err in their decision and will let you do the right thing..

ALiepinieks:

really? perhaps i jumped to a conclusion before giving it enough time. working on 2 wordpress-only projects now so i guess i will learn more as i go and hopefully agree with you at some point down the road on this point : )Yep.. Styling a WordPress blog is pretty easy peezy..:smile:

2 Dec 2009, 3:03 AM
#1038
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

you are so right regarding "examples of previous work". guess i hadn't given that side of things much thought (from a consumers point of view - i had thought about it from a developers point of view and was initially more worried about what my peers might say!).

fortunately (or unfortunately) the only clients i've dealt with since have not realised it due to their higher screen res, i guess it's the ones i haven't heard from that might be the silent majority.

anyway, thanks for your input : )
andrejs

4 Dec 2009, 3:38 PM
#1039
pink avatar

pink

New Zenner

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

Re: Wordpress On ZC [Support Thread]

Wilkesy:

I have a problem tho, i dont get any content on the pages when i load them up. The sidebar works great, the titles change, the breadcrumbs change but no content?

I do have the same problem. Any solution found till now?

My PHP-Version: 5.2.6

5 Dec 2009, 11:12 AM
#1040
busymom avatar

busymom

New Zenner

Join Date:
Jul 2007
Posts:
61
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Welcome back, Hira!

I hope to try integrating the new WOZ code by year-end 2009. I am especially excited about the new WP template since that will make the frequent WP updates a little simpler!

Thanks for the code update! Karen