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

Wordpress On ZC [Support Thread]

Views: 620,608

Results 861 to 880 of 1,861
26 Jun 2009, 9:31 AM
#861
misty avatar

misty

Inactive

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

Wordpress On ZC [Support Thread]

26 Jun 2009, 12:52 PM
#862
busymom avatar

busymom

New Zenner

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

Re: Wordpress On ZC [Support Thread]

Chris, besides Misty's reference, there was also some discussion in this forum starting around page 6 of the old posts. I didn't look through in detail, but perhaps there is some miscellaneous information you can pick up by looking at discussion. The main thing is that you need to understand 'The Loop' to make it do what you want once you get the basics from Misty's instructions. Also, you need to keep track of the code you use because WP does occasionally deprecate functions or update the way you use the loop code and you'll need to make sure the code in your ZC main page stays consistent with new WP code updates. As long as you look through the detailed description of WP code changes and understand how any of them impact (or don't) your loop code, you'll be fine.

Good luck, it's a really cool feeling to see it come alive!

[[ :bigups: Hi Misty, haven't seen you around here much lately. Glad to see you're still hanging in there to help the rest of us!! ]]

Karen

27 Jun 2009, 8:26 AM
#863
yihaiwuqi avatar

yihaiwuqi

New Zenner

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

Re: Wordpress On ZC [Support Thread]

i have a problem when i installed wordpress.
there is error appear in the bottome of the page. details as below:

Warning: include_once(new_free_best.php) [function.include-once]: failed to open stream: No such file or directory in /home/wat9s3600524/bagswholesalemall.com/includes/templates/hoho/common/tpl_main_page.php on line 107

Warning: include_once() [function.include]: Failed opening 'new_free_best.php' for inclusion (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/wat9s3600524/bagswholesalemall.com/includes/templates/hoho/common/tpl_main_page.php on line 107

29 Jun 2009, 3:29 AM
#864
crandall avatar

crandall

New Zenner

Join Date:
May 2008
Location:
Waterloo, Ontario
Posts:
11
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hello;

Just a little update:

First, I do appreciate all the responses that I received...Thank You.

So here's what happened with everything, I am still not able to get the posts to embed properly. I can embed everything else OK, pages, categories, links, etc. Maybe it's because my site has been heavily modified? But in the end it has worked out OK.

I have customized a mobile skin I found, so I have no header issues to deal with. I have added many pages, categories and external links to other websites. I have also added a simple gallery in which you just add the pictures to a folder and the gallery does all the work for you. Please note that everything is embeded in Zen Cart, nothing opens to the blog website at all.

This installation has been done with the blog in it's own folder - word press version 2.8. And this blog has it's own database. So there is nothing to worry about any conflicts there.

So this mod is really possible if you work at it. I am not a programmer or web designer. All I can say is you just have to spend a little time and read through many posts and websites and take all the information in. Most if not all mistakes are repairable. I started this installation on Thursday and finished it today. I may have a total of about 20 hours or so - start to finish. The biggest problem I found was CSS conflicts, and you will see that on my website when you go from Zen Cart to Word Press. It's not a big difference, but I notice it - just look at the text between the 2 sites and a slight size increase.

Take Care and thanks again for everyone's help

3 Jul 2009, 5:29 PM
#865
forced avatar

forced

New Zenner

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

Re: Wordpress On ZC [Support Thread]

Thank you for this contribution! I have it added into my site and showing up on my front page! Now I have some CSS work to do on it!

:clap:

Steve
http://www.superchargersuperstore.com/index.php?main_page=

11 Jul 2009, 3:20 AM
#866
niroonline avatar

niroonline

New Zenner

Join Date:
Jul 2009
Posts:
7
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I have installed word press in zencart in 2 diffrent directories

http://tinyurl.com/lhu4av

I can see the blog is loading inside the zencart shop . but when i click the links in blog ,it is not working

I appriciate anyone can give me hint to solve this

11 Jul 2009, 10:28 AM
#867
loosefast avatar

loosefast

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

niroonline:

I have installed word press in zencart in 2 diffrent directories

http://tinyurl.com/lhu4av

I can see the blog is loading inside the zencart shop . but when i click the links in blog ,it is not working

I appriciate anyone can give me hint to solve this

Looks like you have changed the permalinks method in the Dashboard. I think you need to use the Default method for wordpress links to work in WOZ

tom

11 Jul 2009, 1:17 PM
#868
niroonline avatar

niroonline

New Zenner

Join Date:
Jul 2009
Posts:
7
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

loosefast:

Looks like you have changed the permalinks method in the Dashboard. I think you need to use the Default method for wordpress links to work in WOZ

tom

Yes i changed it earlier , after that it did not work , i again set to detfault ,but now it is not working

what will be the reason ?

11 Jul 2009, 1:30 PM
#869
loosefast avatar

loosefast

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

niroonline:

Yes i changed it earlier , after that it did not work , i again set to detfault ,but now it is not working

what will be the reason ?

I don't know. But your links to posts look correct. Re-upload the WOZ files again?

Are all the files you need for the theme in the WP Theme folder? Like single.php?

11 Jul 2009, 2:16 PM
#870
niroonline avatar

niroonline

New Zenner

Join Date:
Jul 2009
Posts:
7
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

loosefast:

I don't know. But your links to posts look correct. Re-upload the WOZ files again?

Are all the files you need for the theme in the WP Theme folder? Like single.php?

yes links are correct . I reoploaded WOZ files , but did not work

I will check all files are there

Thank you

11 Jul 2009, 3:42 PM
#871
niroonline avatar

niroonline

New Zenner

Join Date:
Jul 2009
Posts:
7
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

yes all files are there , i am using WP default theme

11 Jul 2009, 4:04 PM
#872
loosefast avatar

loosefast

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

niroonline:

yes all files are there , i am using WP default theme

In that case, I think that if you can first get the WOZ to work with the default zen theme that will tell you if the problem lies with your custom zen theme files. Sorry I can't be more help, but I've never had a problem like this with mt handful of WOZ install, but plenty of problems with other aspects as detailed in previous posts...

12 Jul 2009, 9:01 PM
#873
wildfashions avatar

wildfashions

New Zenner

Join Date:
Oct 2007
Posts:
43
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

kiddo:

No, it just didn't work. I spend some time figuring it out. Oddly, other sites I've upgraded to 2.7 seem to have no problem. But as someone point out, this may be because of other (seo) mods masking the problem.

So I read these posts and try to figure out what it's really supposed to do (or what you think it's supposed to do) and set up test to see if it breaks for me too.

Yes it breaks for me.

So if the demo I make is what you are expecting to do, I post it here. I just trying to be sure Im not misunderstanding and post foolishness. If above is what you want, do this:

In includes/extra_configures/wordpress-config.php
find:

$i=strlen(DIR_WS_CATALOG);
$req=substr($_SERVER['REQUEST_URI'],$i,1);
if($req=='?') {
	$_GET['main_page']='wordpress';
}
> 
> and just BELOW that block, ADD this:
> 
> ```
	// kiddos patch for WP 2.7
	$i=strlen(DIR_WS_CATALOG);
	$req=substr($_SERVER['REQUEST_URI'],$i,1);
	if(($req=='i') && ($_GET['main_page']=='wordpress')) {
		$_SERVER['REQUEST_URI'] = str_replace("index.php","",$_SERVER['REQUEST_URI']);
	}

Only do this if the above demo is acting like you think it should.

If this makes other things explode I'll try to fix if I can reproduce the problem.

Just to say thank you for this! Worked a treat and saved me hours of headaches!

:clap:

13 Jul 2009, 10:21 AM
#874
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I've had WOZ integrated into my customer's site for sometime now. Up until recently I had it laid in quite nicely; however I'm not sure why, but the body of the site itself seems to have moved up causing header issues when in the blog.

What I'm trying to figure out, is how I can name a .css file that would reference the blog so that I can make some minor adjustments to the site itself when in that view.

I've done a ton of this with my other heavily customized Zen-Cart sites where I need to modify the base layout just a touch for a particular view - such as the add-to-cart or sometimes even within a particular category - Creating those custom .css files are easy to figure out - but when I view the URL when in the blog I see /?cat=8 or whatever WP cat I happen to be in at the time, which isn't helpful.

I hope I'm making myself clear, but these adjustments really can't be made within the woz.css - so I'm a bit stumped as how to clean this up.

Here's a link directly to a blog post to make it easy myblog-site

I'll keep playing with the layout to see if I can figure out how to fix this, but as you can see the left column is pushed down, but the cause is actually the margin of the body is off. I had a 10px top margin on the site itself and that has disappeared apparently, throwing everything out of wack. The largest issue is the flash banner I have in the header. As you can see it's scooted down about 10 Px or so.

Any suggestions would be welcomed - I'm getting a bit blury eyed trying to find the best way to attack this.

Thanks for listening! Hope someone can help.

Ruth

13 Jul 2009, 10:31 AM
#875
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Ah Ha! I was wrong - you can make changes to the main site in woz css (style.css) I just killed the bread crumb which is a quickie fix until I can make proper adjustments. I guess I just needed to post to hear myself think...LOL

13 Jul 2009, 1:17 PM
#876
yamitenshi avatar

yamitenshi

New Zenner

Join Date:
Dec 2008
Posts:
12
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Has anyone upgraded wordpress to 2.8.1 and encounter any problems? I did the upgrade automatically from wp-admin site. Now when i click on my blog, instead of being directed to http://domain.com/blog, it goes to http://domain.com/http:/domain.com/blog/.
Can anyone help please? Thanks.

14 Jul 2009, 8:00 AM
#877
yamitenshi avatar

yamitenshi

New Zenner

Join Date:
Dec 2008
Posts:
12
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Silly me. I managed to find out that the error above was because i tried changing the permalink settings, after i uninstall and reinstall WP and WOZ - -"
Seems like there is no way to set the permalinks if we integrate WP into ZC? If anyone finds a way, please do advise ^^

18 Jul 2009, 6:35 PM
#878
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

Just a quick note to let folks know that I have just installed WOZ using WP 2.8.1 and ZC 1.3.7.1 without any problems. I followed the instructions that come with the mod and it works fine.

The biggest issue, using the default template, is the css clashes. The problem is that WP and ZC have many css classes and ids that are the same. I had to go into the WP theme files and change the names of classes and ids, once that was done, along with some other css changes to WP to make it fit properly within the main ZC column, everything works as advertised.

I embedded WP into the ZC, I didn't experience any problem whatsoever like other folks seem to have. I think that embedding it makes sense in terms of link juice and keeping it all "under one roof".

Now I am going through and adding the plugins and widgets that we want. This is so so so awesome to have this. WP is so powerful, it is waaaayyyy more than a blog tool. We are going to use it for all of our CMS (non-ecommerce) content. Now, I am working on embedding different pages into different areas of ZC.

Thanks to the mod author and all of the community members for their support in this thread, although it seems as if a lot of non-installation issues people were having have thankfully been resolved with 2.8.1. But, I haven't gotten into the custom meta tags or SEO URLs yet so perhaps I'm speaking too soon.:D

23 Jul 2009, 9:13 PM
#879
digsshowroom avatar

digsshowroom

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I've sifted through this whole forum, and I apologize if I've missed the answer to my problem.

I got WOZ installed fine, and when the Blog Sidebar heading is clicked, it brings my blog up on the main page. However, if you click the Archives link (or categories, search, anything), it pops up a new window that doesn't look anything like my blog. The same is true when you click the comments link within the blog.

I can't tell if this is what Kiddo's patch is supposed to fix, but I've tried to use that without luck.

I also tried changing the settings in WP admin to use http://www.digsshowroom.com/index.php?main_page=wordpress as my blog address. This fixed it so the links didn't pop up a new window, but brought up a 404 on the main page and the following error messages on my WP admin:

Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home2/digs/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home2/digs/public_html/blog/wp-admin/includes/misc.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home2/digs/public_html/blog/wp-admin/includes/misc.php:130) in /home2/digs/public_html/blog/wp-includes/pluggable.php on line 865

Can anyone point me in the right direction? I would prefer the archives/categories/search to come up on the main page, but would settle for them coming up in a new window IF the styling was the same.

I'm using ZC 1.3.7 and WP 2.8.2. (Maybe I need an older version of WP?). WP is installed in /blog directory.

Site is here: http://www.digsshowroom.com

Thanks in advance.

23 Jul 2009, 10:49 PM
#880
digsshowroom avatar

digsshowroom

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

hmm... nevermind. i seemed to have gotten it sorted, and in the meantime lost access to the WP admin and my blog's own CSS styling.

it's gonna be another long night!