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

Wordpress On ZC [Support Thread]

Views: 620,659

Results 461 to 480 of 1,861
12 Aug 2008, 8:02 AM
#461
jenn8five avatar

jenn8five

New Zenner

Join Date:
Aug 2008
Posts:
54
Plugin Contributions:
0

Wordpress On ZC [Support Thread]

ok, the part that says --

Upload the contents of [ZC_ROOT] to [Path of Zen-Cart] on the server.
Upload the contents of [WP_ROOT] to [Path of WordPress] on the server.

does the first point mean i drop the ZC_ROOT folder into /public_html?
and then the second point means i drop the WP_ROOT folder into /public_html/blog?

12 Aug 2008, 8:32 AM
#462
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

jenn8five:

does the first point mean i drop the ZC_ROOT folder into /public_html?
Exactly. Unless you have your ZC store files located in a sub-folder which you probably don't.

jenn8five:

and then the second point means i drop the WP_ROOT folder into /public_html/blog?
Yes

12 Aug 2008, 8:35 AM
#463
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

jenn8five:

Upload the contents of [WP_ROOT] to [Path of WordPress] on the server.
I don't mean to make matters more confusing but I should probably tell you that I did not put the WP files in a separate folder because I couldn't get it to work that way. I put them all in the public_html. But go ahead and try putting them in your "blog" folder. If it doesn't work you can go back and do it the other way.

12 Aug 2008, 9:32 AM
#464
jenn8five avatar

jenn8five

New Zenner

Join Date:
Aug 2008
Posts:
54
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

ok, i've got it all installed, but the blog page doesn't "look" like my website. it's the regular WP template. is this contribution supposed to only add WP to ZC or make it look all the same?

also, i can't access WP admin.

http://indiediggs.com/blogwp

12 Aug 2008, 9:47 AM
#465
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

jenn8five:

ok, i've got it all installed, but the blog page doesn't "look" like my website. it's the regular WP template. is this contribution supposed to only add WP to ZC or make it look all the same?

also, i can't access WP admin.

http://indiediggs.com/blogwp
It should look like it is a part of your website. If I remember correctly I had this same problem. I suggest you try the installation again but this time put the WP files directly into your public_html folder.

12 Aug 2008, 10:14 AM
#466
jenn8five avatar

jenn8five

New Zenner

Join Date:
Aug 2008
Posts:
54
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

arghhhhhhh ok i'll try storing it all w/o creating a new blog folder. :cry:

12 Aug 2008, 10:46 AM
#467
babltd avatar

babltd

New Zenner

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

Re: Wordpress On ZC [Support Thread]

In the WOZ install I want to be able to get the WP title and keyword datd to out put instead of the zens cart one.s on the pages that are WP.

In the header file I wanted to write an if/else statement but this doesnt deem to work.

I was going to do it the simple way and just have the wp_head loop first to get the titles and keywords out first where they exsist. So i have

<?php /** * Common Template /** * load the module for generating page meta-tags */ require(DIR_WS_MODULES . zen_get_module_directory('meta_tags.php')); /** * output main page HEAD tag and related headers/meta-tags, etc */ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>> <head> <?php wp_head(); ?> <title><?php echo META_TAG_TITLE; ?></title> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" /> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" /> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" />

is there another way of doing this?

13 Aug 2008, 11:05 PM
#468
rainthebat avatar

rainthebat

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

The wordpress stylesheet loads on every zen cart page - making certain css code changes finicky or impossible.

Anyone know what would be necessary to make the woz.css file load only on the 'WordPress Within Zen-Cart' pages?

14 Aug 2008, 9:50 PM
#469
rainthebat avatar

rainthebat

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

O.k. This actually is a tough one I believe, as it would require some code to recognize if a page is a WordPress page or not.

Normally disabling the right column is an easy task by adding some code to the tpl_main_page.php or to the stylesheet, but this is not possible with the WordPress pages because stylesheet_woz.css is global, so disabling the right column would obviously shut them off on all pages that load that stylesheet (which is all pages because it is global).

I'm thinking there must be some sort of an 'if else' statement that could help in disabling the right column for wordpress only pages.

Any Help?

This would actually be a helpful thing for many people.

15 Aug 2008, 9:46 PM
#470
blogboutit avatar

blogboutit

New Zenner

Join Date:
Aug 2008
Posts:
2
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Normally disabling the right column is an easy task by adding some code to the tpl_main_page.php or to the stylesheet,

You can turn the right column off in zen cart's admin without editing the css file, which would may solve your problem.

16 Aug 2008, 1:31 PM
#471
rainthebat avatar

rainthebat

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

BlogBoutIt:

You can turn the right column off in zen cart's admin without editing the css file, which would may solve your problem.

That would be nice and easy, just that I want the right column on for some pages and off for all the wordpress pages.

I tried putting the $flag_disable_right variable into the tpl_wordpress_default.php and although it works, it works too well and turns off right column on every page. I am thinking that if there is a way to disable the right column with that variable and then somehow enable it again?? Something to that effect.

16 Aug 2008, 5:44 PM
#472
rainthebat avatar

rainthebat

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

To disable just the right column of ONLY WordPress pages, put the following:

<?php $flag_disable_right = true;?>

at the very top line of tpl_wordpress_default.php - which is located in your templates/Custom_template/ folder.

Sorry for posting so many times, but I figured it would be important for some people to have their blog take up a larger portion of the page by disabling the right column only. Seeing as how WordPress has its own sidebar, I would think people would want to disable zen cart's left or right side.

18 Aug 2008, 3:58 PM
#473
rainthebat avatar

rainthebat

Zen Follower

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

Re: Wordpress On ZC [Support Thread]

I am wondering if it would be possible to move the header information for WordPress up to the Zen-Cart heading.

It would be oh so nice to have a WordPress within Zen-Cart that would actually validate too! As it stands, having the head in the middle of your page really screws with the whole valid xhtml thing.

I think that in the Zen-Cart heading you would need to have something that can detect whether or not it is a wordpress page, then select the proper stylesheet and javascript.

There has got to be some way to do this, any really smart people out there?

19 Aug 2008, 10:40 PM
#474
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I just installed the wordpress for zencart, and it seem as if everything went well, until I activited the archieve side bar and clicked on one of the blog titles, and it took me to my site map with the following error:

Page Not Found

Custom 404 Error Page with Site Map Sample Text ...
Put your custom "page not found" message here. You can change this text in the Define Pages Editor located under Tools in the Admin.

How can I correct this problem so that customers and vistiors don't get an error message and be sent to site map page of my store.

Please check out my installation below & click on one of the titles to see a example of the problems that is showing up

http://divaboutiques.com/store/index.php?main_page=wordpress/

20 Aug 2008, 1:47 AM
#475
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Can someone hel me with this, I'm trying to figure out why my links side boxes are showing error:

Custom 404 Error Page with Site Map Sample Text ...
Put your custom "page not found" message here. You can change this text in the Define Pages Editor located under Tools in the Admin.

20 Aug 2008, 6:05 PM
#476
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I just installed the wordpress for zencart, and it seem as if everything went well, until I activited the archieve side bar and clicked on one of the blog titles, and it took me to my site map with the following error:

Page Not Found

Custom 404 Error Page with Site Map Sample Text ...
Put your custom "page not found" message here. You can change this text in the Define Pages Editor located under Tools in the Admin.

How can I correct this problem so that customers and vistiors don't get an error message and be sent to site map page of my store.

Please check out my installation below & click on one of the titles to see a example of the problems that is showing up

**http://divaboutiques.com/store/index...age=wordpress/**


21 Aug 2008, 3:29 PM
#477
alisammeredith avatar

alisammeredith

New Zenner

Join Date:
Apr 2008
Location:
Hill Country, Texas
Posts:
37
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

rlfreshwater:

I don't mean to make matters more confusing but I should probably tell you that I did not put the WP files in a separate folder because I couldn't get it to work that way. I put them all in the public_html. But go ahead and try putting them in your "blog" folder. If it doesn't work you can go back and do it the other way.
Has anybody made Wordpress work when it was installed in a subfolder? Mine is at http://twelvesteppets.com/index.php?main_page=wordpress&zenid=3s4gc80hqu9mnmsjnoou27oba4
that looks fine, but click on any other link to the blog, archives, or categories and it loses the stylesheet and zen components. I'm afraid to reinstall and lose everything. Ideas?

25 Aug 2008, 3:40 PM
#478
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

alisaammeredith-

That is the same infomation I'm trying to get, so now I have a module installed that I can't use, right now because no one is answering our question. regarding the links working right in the sidebar our blog.

30 Aug 2008, 8:25 AM
#479
kezan98 avatar

kezan98

Zen Follower

Join Date:
Nov 2007
Location:
UK
Posts:
98
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hi all

Sorry if this questions been asked already but I have a problem with the layout of the blog

you can see this at http://www.weddingandgems.co.uk/?p=1

As you can see the blog post is overlapping the nav colomn. I'm sure there will be something to fix this one of the css files but I'm a bit confused and I really don't want to mess everything up.

Any help would be appreciated.

Thanks

30 Aug 2008, 10:14 AM
#480
misty avatar

misty

Inactive

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

Re: Wordpress On ZC [Support Thread]

kezan98:

Hi all

Sorry if this questions been asked already but I have a problem with the layout of the blog

you can see this at http://www.weddingandgems.co.uk/?p=1

As you can see the blog post is overlapping the nav colomn. I'm sure there will be something to fix this one of the css files but I'm a bit confused and I really don't want to mess everything up.

Any help would be appreciated.

Thanks
Easiest way is to diable right hand column for blog pages
as per
i.e
http://www.zen-cart.com/forum/showpost.php?p=597977&postcount=472