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

Wordpress On ZC [Support Thread]

Views: 622,033

Results 41 to 60 of 1,861
26 Jan 2007, 6:04 PM
#41
hira avatar

hira

Zen Follower

Join Date:
Jun 2004
Location:
Japan
Posts:
169
Plugin Contributions:
1

Wordpress On ZC [Support Thread]

andrabr:

I have successfully managed to install Wordpress and Zen cart into separate directories, so I put together a small HOWTO here: http://n0tablog.wordpress.com/howtos/wordpress-zen-cart-integration/

Just keep in mind that it worked for me and may not work for you. Take it with a pinch of salt.

If you find something wrong with it - you got to let me know, Ok?

Enjoy!

Thank you for an introduction.
In fact, woz of a former version installed ZenCart and WordPress in a different directory.
I became the same directory from update of November, but there is a method to define ABSPATH directly.
I will refer to it by all means.

http://www.s-page.net/en/
I develop the module which Zen-Cart integrates with other CMS. (WordPress and XOOPS)
It may be funny English, but please endure it. (I am weak in English)

26 Jan 2007, 10:00 PM
#42
trinityseo avatar

trinityseo

New Zenner

Join Date:
Dec 2006
Posts:
13
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

This is a really great contribution. Thank you!

I have two questions. I spent considerable time searching but I'm sure there must be an answer or perhaps someone could send a link to a solution that I may have overlooked.

Here goes. I had developed a ZC 1.3.7 and wp 2.0.5 locally (also has Ultimate SEO URL port of Chemo) Everything worked fine. I uploaded to production server. ZC works fine including SSL. WP Administration works fine after commenting out language file issue.

Here are the problems:

  1. The wp-related sidebox links when clicked point to http://localhost/old_install_dir rather than new production directory. I currently have categories, pages, and archives side boxes published in left menu.

What file do I change this in? I have looked a number of times and the only files that reference localhost as a base are the dist-configure files which aren't used. I know I'm missing it somewhere.

  1. When I click on any manufacturers in manufacturer sidebox I am taken to the main blog page rather than the mfgr page.

here is the site: h##p://www.trackhaus.com

I hope you can help. Many thanks!

-Greg

26 Jan 2007, 10:14 PM
#43
trinityseo avatar

trinityseo

New Zenner

Join Date:
Dec 2006
Posts:
13
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Since my post I have discovered that the Ultimate SEO URLs are causing issues with the manufacturer sidebox. So please ignore that portion of my post (unless you know the solution :-). I will post that issue in its respective.

I still have a problem with the WP sidebox links. Any help on that one is much appreciated.

-Greg

27 Jan 2007, 12:13 AM
#44
hira avatar

hira

Zen Follower

Join Date:
Jun 2004
Location:
Japan
Posts:
169
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

TrinitySEO:

  1. The wp-related sidebox links when clicked point to http://localhost/old_install_dir rather than new production directory. I currently have categories, pages, and archives side boxes published in left menu.

What file do I change this in? I have looked a number of times and the only files that reference localhost as a base are the dist-configure files which aren't used. I know I'm missing it somewhere.
mmm...
Access /wp-admin/options-general.php, and please confirm two URL.

http://www.s-page.net/en/
I develop the module which Zen-Cart integrates with other CMS. (WordPress and XOOPS)
It may be funny English, but please endure it. (I am weak in English)

27 Jan 2007, 4:39 AM
#45
trinityseo avatar

trinityseo

New Zenner

Join Date:
Dec 2006
Posts:
13
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

hira:

mmm...
Access /wp-admin/options-general.php, and please confirm two URL.
in /wp-admin/options-general.php I changed

Line 26 I changed:

<th scope="row"><?php _e('WordPress address (URI):') ?></th>

to:

<th scope="row"><?php _e('http://www.trackhaus.com') ?></th>

Line 30 I changed:

<th scope="row"><?php _e('Blog address (URI):') ?></th>

to:

<th scope="row"><?php _e('http://www.trackhaus.com') ?></th>

This did not help. The links are still going to http://localhost/myoldinstall

Since it did not work I changed file back to its orignal state. Here is phps version for your viewing:

http://www.trackhaus.com/wp-admin/options-general.phps

Any further thoughts? Your help is appreciated.

Thank you!

31 Jan 2007, 3:13 AM
#46
trinityseo avatar

trinityseo

New Zenner

Join Date:
Dec 2006
Posts:
13
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Bump. Does anyone have a solution for above?

I appreciate your help.

-Greg

1 Feb 2007, 1:27 AM
#47
trinityseo avatar

trinityseo

New Zenner

Join Date:
Dec 2006
Posts:
13
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I went to the database then wp_options table. Changed siteurl and home field. Problem solved.

1 Feb 2007, 5:52 PM
#48
gene6482 avatar

gene6482

New Zenner

Join Date:
Jan 2007
Location:
Pennsylvania - USA
Posts:
4
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

hey, first of all great contrib,

secondly, here's my issue.

I'm trying to ping different blogging sites like google blogs, technorati, etc, but it doesn't see my blog content, any ideas?

using latest wordpress and zen-cart 1.3.7.

Thanks in advance.

BestGiftsLowPrices.Com
Special for All Zen Posters - 15% off anything, use code
052fed2c16

2 Feb 2007, 8:42 AM
#49
andrabr avatar

andrabr

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

gene6482:

hey, first of all great contrib,

secondly, here's my issue.

I'm trying to ping different blogging sites like google blogs, technorati, etc, but it doesn't see my blog content, any ideas?

using latest wordpress and zen-cart 1.3.7.

Thanks in advance.

A good start for the troubleshooting would be to check if you can access your Wordpress directly, without any ZenCart involvement whatsoever. That's where I would start...

2 Feb 2007, 2:37 PM
#50
gene6482 avatar

gene6482

New Zenner

Join Date:
Jan 2007
Location:
Pennsylvania - USA
Posts:
4
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

andrabr:

A good start for the troubleshooting would be to check if you can access your Wordpress directly, without any ZenCart involvement whatsoever. That's where I would start...

If it's integrated, i don't think that there's any way to do that, but if you mean do the sideboxes, etc. work, yes they do

BestGiftsLowPrices.Com
Special for All Zen Posters - 15% off anything, use code
052fed2c16

4 Feb 2007, 10:22 AM
#51
pablosan avatar

pablosan

Zen Follower

Join Date:
Jan 2007
Location:
Bellingham, Wa
Posts:
171
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Whats this in the readme refer to.

----------------
Design adjustment
----------------

1.Please revise a header of a Wordpress theme, a footer, a sidebar, a style sheet. 
  (Please just upload a reference file if troublesome.)
  Reference [/SAMPLE/wp-content/themes/]

2.Please add the following to a style sheet of ZenCart.

/* bigin */
.leftboxcontent ul li, .rightboxcontent ul li , .singleboxcontent ul li{
  list-style-type: none;
  margin:0px;
  padding-left: 0px;
}

.leftboxcontent ul, .rightboxcontent ul , .singleboxcontent ul{
  margin:0px;
  padding-left:0px;
}

.leftboxcontent ul ul, .rightboxcontent ul ul, .singleboxcontent ul ul{
  list-style-type: square;
  margin:0px;
  padding-left:5px;
}
/* end */

Am I supposed to add this the zens stylesheet.css ?

or style.css from wordpress?

Confused. I'm having a hardtime getting this thing to squeeze in between the two columns.
http://www.estore.haskellgraphics.com/?cat=1

4 Feb 2007, 11:23 AM
#52
pablosan avatar

pablosan

Zen Follower

Join Date:
Jan 2007
Location:
Bellingham, Wa
Posts:
171
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

BTW I tried changing tpl_wordpress_default.php width to lower and it didn't affect anything.

Also changing style.css DID reduce width in a few things but the text still goes beyond right column and side box is way out there.

So I put it back to normal.

If anybody knows how I'd like to have my sidwboxes not show on blog page so it will fit right

or just a way to squeeze it well.

Thanks.

7 Feb 2007, 3:40 PM
#53
cyfarian avatar

cyfarian

New Zenner

Join Date:
Mar 2006
Posts:
29
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Great Contrib! I was a bit confused by the readme, so I actually installed it twice, because I misread the directions the first time and had to do it again. However, my sideboxes are blank. I can successfully add them, but there is nothing in them at all. Did I do something wrong?

7 Feb 2007, 4:25 PM
#54
cyfarian avatar

cyfarian

New Zenner

Join Date:
Mar 2006
Posts:
29
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Nevermind, the wordpress_config.php file, I had changed the $woz_install=1; to $woz_install=0;

It works now!

7 Feb 2007, 4:27 PM
#55
cyfarian avatar

cyfarian

New Zenner

Join Date:
Mar 2006
Posts:
29
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Next question...can you have a zencart sidebox with the most recent posts? I didn't see that as one of the sidebox options.

Thanks.

9 Feb 2007, 10:12 PM
#56
kusogaki avatar

kusogaki

New Zenner

Join Date:
Feb 2006
Location:
San Diego, CA
Posts:
28
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

onakat:

i currently have zen cart loaded in the root directory. i installed wordpress in the root directory. i then copied all zencar/wordpress additional files into their respective directories.

i changed the wordpress options.

i copy wordpress-onfig.php to my web site and get the following message:

It doesn't look like you've installed WP yet. Try running install.php.

HELP.

I don't know if you've already solved the problem, but be sure to edit wordpress-config.php as well with your database information. That fixed it for me just now.

cyfarian:

Next question...can you have a zencart sidebox with the most recent posts? I didn't see that as one of the sidebox options.

Thanks.

I don't have answer for this...yet. However, I have noticed that a number of wordpress blogs has this feature so I imagine its something you can set up in the wordpress admin settings? Or maybe its a matter of making a sidebox to display that information. @_@

And while I am at it, a quick question. I want to be able to display entries on the front page of my shopping cart. I used to use one of the news management modules that has been mentioned on the forums and for that I added a line to an overridden /template/tpl_index_default.php:

<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_SUMMARY_MODULE));?>

However, since WOZ lacks a module file(?) I can't write similar code to do the same thing. I'm sure if I was better at php this wouldn't even be a real question.

Hopefully someone can offer me some insight. I'll keep probing around for a solution in the meanwhile. ^_^;

Hira-san, thank you again for this wonderful modification! This is exactly what I've been searching for. 本当にありがとう!助かりますぜ。

9 Feb 2007, 10:27 PM
#57
cyfarian avatar

cyfarian

New Zenner

Join Date:
Mar 2006
Posts:
29
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

kusogaki,

I would either like to put the latest posts in a sidebox or on the front page of the cart, like you want to. If you find a way, please do let me know. I have a quick, dumb question....Since the blog has an rss feed, could you embed an rss reader into the shopping cart's front page?

Thanks,
Cyfarian

10 Feb 2007, 12:04 AM
#58
kusogaki avatar

kusogaki

New Zenner

Join Date:
Feb 2006
Location:
San Diego, CA
Posts:
28
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Ugh no, dice on the loading of wordpress on the main page. I really imagine this shouldn't be difficult...but I'm not making any ground here. :(

Cyfarian, since I've been stuck on the above situation I haven't looked into the recent posts modding yet. However, I do know that wordpress has a method called "The Loop" that basically adds that functionality. Why it's not an included feature...I don't know.

Information on that can be found here: http://codex.wordpress.org/The_Loop

I imagine you could whip up another sidebox (or just use an existing one as a template) and throw the looping code in there and it should do the trick. Once I solve the initial quandary I have, I will give that a go. :)

Chris

10 Feb 2007, 12:16 AM
#59
cyfarian avatar

cyfarian

New Zenner

Join Date:
Mar 2006
Posts:
29
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Chris,

Thanks! I took a quick look at the loop code and it is too late in the day to get involved in that headache! But I will definitely look into it later and try to add it to a sidebox and let you know how I do. Thanks again for your help and good luck on your attemps.

Cyfarian

10 Feb 2007, 6:44 AM
#60
misty avatar

misty

Inactive

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

Re: Wordpress On ZC [Support Thread]

Wordpress (where wordpress is installed in its own folder) on main page via admin/define main page is

<?php
require('./wordpress/wp-blog-header.php');
?><?php
$posts = get_posts('numberposts=1'); // change to whatever number of posts to show
foreach($posts as $post) :
setup_postdata($post);
?>
<h2><strong><font color="red"><?php the_title(); ?></font></strong></h2>
<?php the_date(); ?>
<?php the_content(); ?><hr />
<?php endforeach; ?>

as at http://dezinacart.co.uk

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others