Zen Cart Logo
Forums / All Other Contributions/Addons / WordPress® for Zen Cart® (wp4zen) [Support Thread]

WordPress® for Zen Cart® (wp4zen) [Support Thread]

Views: 43,270

Results 21 to 40 of 110
24 May 2014, 6:27 AM
#21
wwwd avatar

wwwd

Inactive

Join Date:
Nov 2012
Posts:
100
Plugin Contributions:
0

WordPress® for Zen Cart® (wp4zen) [Support Thread]

I made the mistake of setting up my WP Blog to use a variant of my domain name. This explains why this plug in doesn't work for my store. Is there any way to remedy this?

24 May 2014, 2:27 PM
#22
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

WWWD:

I made the mistake of setting up my WP Blog to use a variant of my domain name. This explains why this plug in doesn't work for my store. Is there any way to remedy this?I'm not sure what you mean by "setting up my WP Blog to use a variant of my domain name". "doesn't work" doesn't tell me much more..

What is your blog's URL, your store, URL, do they bothe share the same DB as the prerequisites require.. I need WAAAAAY more details than you've provided..

13 Jun 2014, 7:24 PM
#23
swjake avatar

swjake

New Zenner

Join Date:
Feb 2012
Posts:
20
Plugin Contributions:
0

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

This installed easy. I had used a earlier version to incorporate zen headers and footers. Are there some easy coding changes to load, at least, zen cart headers, if not footers as well? How about a call to open blog pages in a new tab or window? Many thanks in advance...hoping this is possible as I'd like to take it live.

13 Jun 2014, 8:02 PM
#24
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

swjake:

I had used a earlier version to incorporate zen headers and footers. Are there some easy coding changes to load, at least, zen cart headers, if not footers as well?Not sure what you mean by this.. Details of what it is you are asking here would be appreciated..

swjake:

How about a call to open blog pages in a new tab or window?No.. blog page open in the same window, and I'm not sure I'll be making this particular change anytime soon.. The reason is simple.. Your blog is as much a part of the "landscape" that makes up your site as your store, or forums are.. They all share the same domain name.. They are part of the same "site".. Your blog is not some red headed step child to be wished away to the cornfield.. Your blog should contain links/navigational elements that bring your site visitors back to your store which negates the need to open the blog links in a new window.

13 Jun 2014, 11:45 PM
#25
swjake avatar

swjake

New Zenner

Join Date:
Feb 2012
Posts:
20
Plugin Contributions:
0

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

DivaVocals:

Not sure what you mean by this.. Details of what it is you are asking here would be appreciated..
Sorry for the confusion. I had used another mod in the past, no affiliation with yours. It allowed me to use the header and, I believe, sideboxes and footer as well, and populated the page with the blog post.

DivaVocals:

No.. blog page open in the same window, and I'm not sure I'll be making this particular change anytime soon.. The reason is simple.. Your blog is as much a part of the "landscape" that makes up your site as your store, or forums are.. They all share the same domain name.. They are part of the same "site".. Your blog is not some red headed step child to be wished away to the cornfield.. Your blog should contain links/navigational elements that bring your site visitors back to your store which negates the need to open the blog links in a new window.
I would rather not open in a new tab or window; but hope to have just the site header (along with the top menu) for continuity and navigation, as opposed to adding the nav elements to the WP pages. Is that possible to have the store header on the WP pages?

14 Jun 2014, 2:22 AM
#26
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

swjake:

Sorry for the confusion. I had used another mod in the past, no affiliation with yours. It allowed me to use the header and, I believe, sideboxes and footer as well, and populated the page with the blog post.

I would rather not open in a new tab or window; but hope to have just the site header (along with the top menu) for continuity and navigation, as opposed to adding the nav elements to the WP pages. Is that possible to have the store header on the WP pages?

Anything is possible.. but this mod doesn't do that..

14 Jun 2014, 7:29 PM
#27
swjake avatar

swjake

New Zenner

Join Date:
Feb 2012
Posts:
20
Plugin Contributions:
0

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

Thanks for the quick responses. I'll hack away at it. Think you did the updated COWOA? Just merged that with "minimum customer account" info and got it working in 3 steps:smile:

By the way, thanks for all you do: mods, forum posting/helping us newbies. Hat's off to you!

14 Jun 2014, 7:52 PM
#28
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

swjake:

Thanks for the quick responses. I'll hack away at it. Think you did the updated COWOA? Just merged that with "minimum customer account" info and got it working in 3 steps:smile:
Fantastic!
swjake:

By the way, thanks for all you do: mods, forum posting/helping us newbies. Hat's off to you!
awwwww.. happy to help!

16 Jun 2014, 11:39 AM
#29
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

swjake:

Sorry for the confusion. I had used another mod in the past, no affiliation with yours. It allowed me to use the header and, I believe, sideboxes and footer as well, and populated the page with the blog post.

I would rather not open in a new tab or window; but hope to have just the site header (along with the top menu) for continuity and navigation, as opposed to adding the nav elements to the WP pages. Is that possible to have the store header on the WP pages?

That's how the Numinix method works.

16 Jun 2014, 12:50 PM
#30
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

swjake:

Sorry for the confusion. I had used another mod in the past, no affiliation with yours. It allowed me to use the header and, I believe, sideboxes and footer as well, and populated the page with the blog post.

I would rather not open in a new tab or window; but hope to have just the site header (along with the top menu) for continuity and navigation, as opposed to adding the nav elements to the WP pages. Is that possible to have the store header on the WP pages?

stevesh:

That's how the Numinix method works.
And if I may step in here.. just want to make sure that this support thread doesn't turn in to a full on discussion about blog embedding.. In the readme, and description of this module I declare VERY clearly that this module is NOT a blog embedding solution.. and there are NO PLANS to make it one.. This solution is a blog "content display" integration solution. However, if one knows WordPress and Zen Cart templating and theming structures, this plugin lays the foundation for one to have Zen Cart and WOrdPress "share" some theme/template elements. See examples here: http://eyeitalia(dot)com, http://laserdiscvault(dot)com, http://ecopowerparts(dot)com, and my own web site -- see my signature.. Again.. not a topic for this support thread.. but totallly doable..

19 Jun 2014, 3:14 PM
#31
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

OK here is a stupid Q? for all you supper smart gurus..

I am to upload all the contents of the "folder" into the root.. Not the folder itself....

all folders and files are names with a prefix of wp_ to differentiate them from the admin ;includes of the zencart.. except the index .php which already exists in the root.... I will assume that the "new" index is agreeable and is to integrate the two programs together???? and is necessary to overwrite the existing one.

19 Jun 2014, 3:36 PM
#32
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

stitchnkitty:

OK here is a stupid Q? for all you supper smart gurus..

I am to upload all the contents of the "folder" into the root.. Not the folder itself....

all folders and files are names with a prefix of wp_ to differentiate them from the admin ;includes of the zencart.. except the index .php which already exists in the root.... I will assume that the "new" index is agreeable and is to integrate the two programs together???? and is necessary to overwrite the existing one.

I don't know where/how you see an index.php file, but it is NOT part of this plugin..

On that same note I just noticed that I didn't seperate out the the uninstall SQL and readme from the rest of the install files.. You do NOT need to copy those files to your store root..

20 Jun 2014, 12:30 AM
#33
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

I don't know where/how you see an index.php file, but it is NOT part of this plugin..

No you are very correct.. I notice that the index.php is actually a part of the Wordpress package and if I install wordpress folders and files in the root directory, it will overwrite the existing Zencart index.php...

20 Jun 2014, 6:29 AM
#34
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

stitchnkitty:

No you are very correct.. I notice that the index.php is actually a part of the Wordpress package and if I install wordpress folders and files in the root directory, it will overwrite the existing Zencart index.php...

Truly this thread is NOT the place to walk you through how to install WordPress, but IN GENERAL you need WordPress in a subdirectory of Zen Cart or Zen Cart in a sub-directory of WordPress. You don't install them BOTH in the root of your domain..

20 Jun 2014, 1:52 PM
#35
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

Hea thankyou for you time - that pretty well answered it -

24 Jun 2014, 6:06 AM
#36
ohmslaw avatar

ohmslaw

New Zenner

Join Date:
Dec 2007
Posts:
6
Plugin Contributions:
0

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

Greetings DivaLocals!

I mistook the instructions about the database and put Wordpress into its own database. After seeing the error of my ways, I removed the separate database and put it into the zen database. Wordpress is working and I can post to it using the URL, but when I turn on any one of the sideboxes to access it from my cart, all of the other sideboxes after it in the sort order disappear and don't show up until I turn it off again. If it's the last sidebox, everything shows up except the footer. If it's first in the sort order, nothing appears. I'm not sure where in the zen database this is influenced, or if it's in the header file. The path to the Wordpress location is correct in the admin and has the trailing "/". Any suggestions?

24 Jun 2014, 6:31 AM
#37
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

A partial page (missing content) may indicate an error occured. Zen Cart 1.5+ will usually generate a debug log when an error occurs. Can you check if any debug log was generated?

There could also be an issue with some malformed HTML... When you view the HTML source, are the other sideboxes / footer present? Or does the HTML content just "end" after the added sidebox?

It may also be useful to know which versions of Zen Cart and WordPress are involved.

1 Jul 2014, 4:09 AM
#38
ohmslaw avatar

ohmslaw

New Zenner

Join Date:
Dec 2007
Posts:
6
Plugin Contributions:
0

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

Thanks for the reply. The error message I'm receiving is strange:

Failed opening required 'includes/templates/template_default/sideboxes/tpl_wp_pages_sidebox.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<my-user>/public_html/store/includes/modules/sideboxes/<my-custom>/wp_pages_sidebox.php on line 7

I receive to similar warnings prior to that. The oddity is that the TPL files were copied into <my-custom> templates folder, and not into the template_default location. For kicks, I copied them into the default, but received the same results. All of the Wordpress mod files have been copied to the respective custom folders where indicated to do so.

The versions of Zen Cart and Wordpress are 1.5.1 and 3.9.1; I have this working on another store, using the correct procedure to install it. I tried to reproduce the correct procedure on this store after trying to repair the damage.

1 Jul 2014, 4:16 AM
#39
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

ohmslaw:

Thanks for the reply. The error message I'm receiving is strange:

Failed opening required 'includes/templates/template_default/sideboxes/tpl_wp_pages_sidebox.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<my-user>/public_html/store/includes/modules/sideboxes/<my-custom>/wp_pages_sidebox.php on line 7

I receive to similar warnings prior to that. The oddity is that the TPL files were copied into <my-custom> templates folder, and not into the template_default location. For kicks, I copied them into the default, but received the same results. All of the Wordpress mod files have been copied to the respective custom folders where indicated to do so.

The versions of Zen Cart and Wordpress are 1.5.1 and 3.9.1; I have this working on another store, using the correct procedure to install it. I tried to reproduce the correct procedure on this store after trying to repair the damage.

You need to roll back to the point the store was before you installed this and START OVER with installing this module.. Your issues are CLEARLY related to an install gone wrong, and I would be guessing at what is the actual issue.. Suggest going over EVERY SINGLE step of the installation..

1 Jul 2014, 5:20 PM
#40
ohmslaw avatar

ohmslaw

New Zenner

Join Date:
Dec 2007
Posts:
6
Plugin Contributions:
0

Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

Thank you for the reply. I've looked at the SQL logic for the uninstall and compared that to a dump of the database. I'm wondering if there are other database entries that have to be removed. Please advise. Thank you!