You can avoid the index.php issues by not copying over thw WordPress index.php..
Printable View
That's cool! I am currently able to hit each index file individually. The wordpress is stripped of title, head and sidebars via this plugins wp template needless to say.
I was under the incorrect assumption that the zencart index/script/woz plugin was including the wp components.
:oops: I am confused again...
I am very ignorant to this plugins functions. I have not read the script yet, just tried it. I will dive into it. I'll load up the noggin afore I go abloggin.. :shocking:
Thanks again! :clap:
Thanks for the tip.. But honestly I've installed and re-installed this mod so many times in the last week, and from my personal experience I found that if I install WordPress into the same directory as Zen Cart that not FTPing over the WordPress index.php works just fine for me.. If I need to, I rename the WordPress index.php and upload for testing purposes.. I've pretty much been leaving the Zen Cart index.php alone..
sorry please, so if I have
www.mysite.com/shop
www.mysite.com/blog
and a post www.mysite.com/blog/my-category/my-post
What I have to write?
I have to substitute permanent link in that code?
I have to substitute the path of ./wp-blog-header.php?
sorry and thank you in advance, it is urgent
@northpole I disabled this site that I am testing by robots.txt so search engines wouldn't see it
I have the real site in www.mysite.com and so I am restyling and create a new clean installation of all mods and mods added.
:smile:
I am also trying this... it was killing me that I could see the WP work when i had domain.com/? or ?main_page=wordpress worked, however, the "index.php" before the ? mark caused great problems. I'll let you know, I have a pretty modified zen cart... hope it works. thank you for working so hard on this
I am trying to uninstall but
Please delete the file which I uploaded from a server. In phpmyadmin, please delete table (wp_xxx) of WordPress afterwards.
I don't find this table on database wordpress :blink::blink:
maybe it was for this that it didn't go.
What table is?
Please
So it looks like I have this working... Almost. I had 2.5 installed, overwrote all my files in my Wordpress directory, and VIOLA! It just works. I'm almost amazed.
I'm not sure if this problem existed before, but everytime I submit a comment, the comment posts but takes me to the home page.
Anyone know how to fix?
Nevermind, I got this sorted out. I reinstalled my DB and it sorted the problem. Now everything works fine.
Can you guys tell me if I should install the wordpress DB inside of Zen cart? Or should it be it's own separate database? What do you recommend?
Personally, always use seperate database...much easier toQuote:
Can you guys tell me if I should install the wordpress DB inside of Zen cart? Or should it be it's own separate database? What do you recommend?
find problems, should any arise..
I've been trying to follow the last few posts, but I'm still confused :| I'd like to have just one of my categories show up on my index.. right when people come to the shop (e.g. ?cat=24) but I'm having a hard time figuring out what code to put and where. I was thinking of adding it into tpl_index_default.php. Is that correct? Any help is greatly appreciated.. sorry I'm unable to fully understand the thread. This is my first actual attempt at PHP so everything just flies right over my head. haha.
Here is my test site: http://thedonutlounge.com/zencart2009v2/index.php
Here's the category from my WP I'd like on the index page: http://thedonutlounge.com/zencart2009v2/?cat=18
Is there a way to truncate the "content" part of this on my cart's index page so just part 250 characters show up, not the whole post?
<?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; ?>
If you include the Quicktag button called more, in the body of your post, only the portion above that line will be displayed to viewers. So, if you only want your front page to show the first sentence or two of every post, simply insert more code after the first line into every post you make.
Info at
http://codex.wordpress.org/The_Loop
I'm trying to find a link to the patch? I am getting "Warning: Cannot modify header information" etc etc
I am using WordPress 2.7. Does this module work with that version? Will the patch fix this? Can someone tell me where the patch is, I have looked on pages 57 and 58 and can't see it?
Short answer yes.. Suggest you read through the thread a little.. (starting back on page 55 might be a good starting point to get a sense of the issue) I suggest in general that people should read through the support threads for the add-ons to get a temperature of what's going on etc.. The patch for this mod if you are using WordPress v2.7 is indeed posted on page 57.. (No link.. See Kiddo's post)
Thanks for that, I decided to use the RSS mod instead.
I have installed wp2.6 and it is working with this mod and opens correctly in the main page.
But I have a problem when I click on the category or comment link, the secondary page opens with a full page no longer in the ZC template.
I'm using the Forest Path template.
My site is www.forgottenwoods.net
Any suggestions on how to solve this problem?
Thanks
Hi folks; I need to take down the patch demo at the link mentioned in my previous post in a day or two. I seem by now there is no other probs with it to fix. Thanks for everyone's help testing it out.
Kiddo
Installed wordpress. Works fine in Firefox. However not in IE7. See: http://www.justaglass.co.uk/?cat=6
Anyone any idea what the issue maybe?
When using the Wordpress integration, which site theme controls?
Is it the Wordpress theme or the Zencart theme?
Many thanks :smile:
is there a way i can show comments from my blog as a preview on my homepage?
Supposed to be the ZenCart stylesheet, but I found that there are a few areas of the WordPress CSS that still need tweaking to make this work really well.. Basically I commented out or removed any background image, background color, font color, and font-family styles in the WordPress stylesheet.. That seemed to do the trick for me..
When I installed wordpress I did it by renaming the "wordpress" folder to "blog." In my wordpress admin, I have:
WordPress address (URL): http://www.storename.com/blog
Blog address: http://www.storename.com/wordpress
The problem is, when I look at my urls they all look like this:
http://www.storename.com/wordpress/w...an-do-at-home/
Can anybody tell me how to get my urls to display "blog" instead of "wordpress" ???
Thanks
Nevermind I got this sorted out. Sorry:unsure:
Hello all, I have 2 questions
1) how do i enable pinging, is it already enabled, or is there something in my settings
2) can i establish a rss feed for my blog in woz?
thanks
have a great evening
Yes, use CaRP and or mod in downloads sectionQuote:
2) can i establish a rss feed for my blog in woz?
Please take a look at the link, how do i keep the text from intruding the sideboxes
click here
Has anyone had an issue with posts not appearing in the blog..
If you look at the site with the WOZ mod in place here's what you will see:
http://lanikshair.com/?main_page=wordpress
So I re-named and added back the WP index.php file. Now if you go here you will see that one of the posts isn't showing:
http://lanikshair.com/index-wp.php
and if you go to the link for the missing post you get the message "Sorry, no posts matched your criteria."
http://lanikshair.com/?p=116
Anyone else run into this problem and know the answer??
Well here's what I discovered.. I deleted all my posts and reposted them.. I still had the same issue.. The links for the posts appear in the sidebox, but I get the above posted error when I click the link to view.. However when I changed the posting date of ALL my posts to the same date as the first blog post, they ALL re-appear.. I've no clue why WOZ behaves this way.. and this is DEFINITELY an issue with the WOZ mod..
So I have to decide if I should just roll back to WordPress v2.6 or simply abandon this mod altogether and just deal with WordPress seperately (which I'm more inclined to do..)
IMO, this mod is ALMOST there, but not quite ready for primetime using WordPres v2.7.. Seems that none of these strange issues ocurr with v2.6.. **sigh**
Strange..not had a problem on test site using WordPress 2.7
and posting on different days, after using kiddo's fix..
Hi all. Thanks for all the pointers and tips throughout this thread. I think Ive managed to get it working properly, although, even with the patch my side bar links are /?p=<number> and not /index.php?mainpage=wordpress&p=<number> and if I try to change the permalinks within wordpress it gets really confused and wont display anything properly!
Anyway, to help others get towhere I am, ive put a small howto together which hopefully will get some people up and running, even if the permalinks are not right yet.
heres the link http://www.techize.co.uk/news/57-how...er-nicely.html
Now if someone might help out and show me how to get the permalinks working properly I would be for ever greatful! The site that wordpress is on is here http://www.papatheo.co.uk/.
Many thanks to all.
Jonathan
Except there are variables on my blog that may not apply to your test blog.
1. There are two admins posting on this blog.. and what's strange is that it's almost as if as soon as the 2nd admin posted a blog article that the issue surfaced.. Though I'll need to do a lot more testing to see if this is related to this issue..
2. The blog was updated to Word Press v2.7.1 and this may be a contributing factor..
I need to rule out a few things so I am going to do some more testing tonight to see if I can figure out exactly what combo of things might be causing the posting issues..
Well more testing and I have determined that this is definitely not an issue due to the slightly updated version of WordPress, or the two admins.. I can't imagine that it's some conflict with an add-on I am running as there really isn't any obvious conflict between this add on and any other Zen add-on that I can see.. if there is the link is not clear..
What I do know is this.. The first posts for this particular blog were created on Feb 15th. Any posts dated after Feb 15th will NOT show up via WOZ until I go into the WordPress admin and change the posting date on them to February 15th. BUT if I view them using the WordPress index.php, I can see posts dated after Feb 15th just fine.. So what the heck is going on is anyone's guess..
So that said I have little patience at this point to try and figure out what little tiny thing is making this add-on go bonkers.. Gonna skin the WordPress blog to match the site, and move on.. Client is okay with this solution, so all's well I guess..:huh: Might look at that RSS mod myself now..
Have you tried wordpress site/forums...see if anyone else had this problem on updating..Quote:
The blog was updated to Word Press v2.7.1 and this may be a contributing factor..
Which WP sitemap plugin is the best? Does this intergrate into the zencart sitemap addon too?
I have the core zencart sitemap with ezpages integration plus I have the goolge XML sitemap installed to communicate with Google on zencart 1.3.7.1.
I really like wordpresss but I want Google and our customers to be able to locate both pages and posts from our integrate wordpress module from our sitemaps.
Please help!
I've searched the WordPress forums, and found nothing.. Then again, I didn't really expect to find anything there.. Based on my testing, it seems clear that the problem is not within WordPress, but with the WOZ add-on.. If I run WordPress as a standalone blog, the problem is non-existent. I'm plum out of ideas..:blink:
You mention have 2 admins posting..are they admins for
wordpress or zencart or both...just wondering if conflict
there
:unsure:
Nope that's not the problem either.. :no: Even if I delete all the posts and have only one admin re-enter them all.. (Which is what I did to test this) The very next day the same admin added one additional post, and it would not show up in WOZ, but was visible if I viewed WordPress standalone. Once I changed the posting date of the new post to match the posting date of the other posts, then WOZ displayed the new post just fine.. Whatever this issue is, it has everything to do with the posting date and WOZ. Running WordPress standalone displays no such issue..:blink: Very odd..
There is one bright side to all of this.. I decided to forego using this mod, and simply have a standalone blog that is skinned to look like the main site.. So on my dev site, I moved the blog to it's own directory, made the changes necessary to the WordPress options table to reflect the new blog location, and uploaded and applied my new WordPress template.. THEN.. Just for fun, I decided to see if the links in the WOZ sideboxes would now point to my new blog location.. And WHADAYAKNOW, they did.. :shocking: All the darn sideboxes work perfectly with my standalone WordPress blog!!! (I'm testing this on my dev site now to be COMPLETELY sure that this is not some fluke..)
Though the thing is, I'm not completely clear why they work..:laugh::laugh: Gonna do some testing to see if I can figure out the WHY.:P If I can get the sideboxes to consistently work, I think I will be okay with simply running WordPress as a standalone blog and using the WOZ sideboxes on the ZenCart side.. I'm using the links widget on the WordPress side to link back to featured product categories and the ZenContact form..
Well done for trying every possible scenario..might actually
be another bonus...always found in live zencart production site with
numerous categories, products, attributes etc,
that wordpress and zencart each run quicker when run seperately but dont
envisage problem using sidebox links..
:wink:
Color me persistent!:laugh:
I agree.. In fact my client and I think we like the blog better as a seperate entity.. I think the WOZ sideboxes are enough to help tie the two together.. (just gotta make sure they really will work, and it's not some fluke..)
Has anyone got some ideas about a woz sitemap plugin with integration into the google zencart XML sitemap addon?
I went to wordpress and there are a number of sitemap plugins and I would like too know if anyone has some first hand experince with any and if they will work with the googole XML sitemap for zencart.
Plus it would be nice to have the wordpress pages and posts on the zencart core sitemap too!
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)
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)
- 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
- Follow all of the install instructions for this mod -- you can skip using Kiddo's change for v2.7.x since you won't be embedding the blog inside
- Modify the "WP side bar" sidebox to comment out 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.
- Activate which ever WOZ sideboxes you want to use
Hope someone else finds any of my ramblings helpful..:laugh: I will post links to what I did soon.. My client is getting a new header graphic for her blog. As soon as we incorporate that new graphic, I will post an updated link in case anyone wants to see an example..
- 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
nice job
:clap::hug::wink::clap:
WOW! You've done a lot of work on this. And it's ironic that you would post your success on the very same day that I decided to try and find a WordPress blog solution for current Zen Cart (almost to the very same hour! ... that's just wierd...).
But let me make sure I understand (Newbie, here- and I WANT THIS): Does the blog on your Zen Cart begin in the sidebox heading that says "Lanik's Corner?" Or is that something else? Sorry if I appear dense but I get confused when I follow your link in above post, to wit-and then I see the page that says "AT LAST!!!! Check out Lanik's Corner, our (still new) now improved blog!!!" but without an archive of past blogs there ???Quote:
Again- I appologize for my lack of comprehension but what am I missing (having trouble connecting the dots, A to B, then back to A again)?
Look's great! Hope it doesn't end up being over my head (your efforts were epic)!
Hi! :thumbsup:
I'm a newbie & have some quick questions. I have the newest Zen Cart installed in my root & am looking for compatible community software to use to build a "Guild" for 3D Artists.
Will WOZ work with WordPress MU?
Can I prevent the WordPress section for showing on the shop's main page? I really only want products in the "Store" area, which is the home page, but I like the fact that I can integrate users so they automatically get community access.
I'm really loving Zen Cart as I've had none of the issues I've had with other shopping cart software.
Thanks in advance for your help.
Lynn
WOZ embeds WordPress into ZenCart, since I'm running a seperate instance of the blog I only wanted to use the WOZ sideboxes to ties my store to the blog. I am only using the WOZ sideboxes on the Zen Cart side. links to the blog are in the WOZ sidebox.. (I changed my sidebox header to the name we've given the blog - Laniks Corner)
If you don't want ANY of the blog content or links in your store, then you don't need this mod at all.. this mod is not a c"community builder" the WP and ZC users are not synchronized at all.. All this mod does is allow you to display WP content within Zen Cart.
Yes,install zencart,then wordpress,add wordpress mod to zencart...Quote:
Can I prevent the WordPress section for showing on the shop's main page? I really only want products in the "Store" area, which is the home page, but I like the fact that I can integrate users so they automatically get community access.
use sideboxes included in mod to direct visitors to WP..
OR use WordPress as standalone and use zencart ezpages
to link to it..
:wink:
I definitely want a link to the WordPress community within Zen Cart & vice versa. I just don't want the blog content of WP to show in the main page of ZenCart. There is a WP plugin that syncs users, but WOZ has to be installed.
Thanks will give it a try. :)
Hi guys
I use hostmonster's webhosting and i use the control panel to install Wordpress, and the system automatically setup another database that is different from the one i use. I am not sure whether this affect the result , i still have the error : can not find the wp-config.php, i installed it under /blog and ABS is set up to "http://mysite.com/blog/" is this correct? i use v2.7 WP and 1.3.8a zencart
Can any one help me with this?
Did you follow ALL the steps for installing this add-on?? Did you verify that WordPress is installed correctly?? (your post would indicate that the answer to this is no..)
If your issue is with the WordPress install you need to correct that issue first.. (and you may need to go to the WordPress forum or your host to get that all worked out..) Then follow the directions for installing this add-on and see how that works out....
(it also helps to post links..)
Thanks
Yes, the blog is working and you can access it through http://bagreplica4u.com/blog. I installed it first and it is in the directory of http://bagreplica4u.com/blog . then i installed the module , but i am not sure whether the abspath is set up as 'http://bagreplica4u.com/blog/' and i am not sure how to verify the integration is sucessful nor not.
Please re-read the WOZ install instructions.. You need to review the section that tells you how to correctly set your absolute path as well as the last part of the instructions that tell you how to validate your install is correct.
Also if you go back to page 65 and read hedgehog's post, he has a nice tutorial on how to configure this mod that might be easier to understand than the instructions that come with this add-on..
Looks like you are almost there.. (http://bagreplica4u.com/index.php?main_page=wordpress) Make sure that you don't forget the trailing slash ("/") in your absolute path..
Is anybody using COWOA Check out without an account successfully in conjunction with this mod?
I had WOZ running fine on a site, but after installing COWOA the Shopping cart status in the header and sidebar is gone after clicking on a blog link.
I'm also getting the 'headers already sent' error message when clicking on the wp_sidebar header link
So, is anybody using COWOAWOZ out there?
Initially I installed this on my ZC back when I first finished it in June of 08. I could have sworn - but can't seem to find anymore - where it was that I read that you could post articles in the administration section of my ZC install. That way it would eliminate the need for logging into two separate administration areas on the website to add the same information that you want on the whole of the website?
If I am wrong would someone who is more knowledgeable give me a response that clears up my confusion as to where I thought I had seen this?
I've been reading forums for hours and searched multiple ideas that I thought would relate and haven't found anything yet! I'm a bit frustrated at either my memory or the lack of me finding what it was I swore was there so any help would be AMAZING! :)
Thanks in advance,
Seth
Well, that's no fun :huh:
Oh well, I was just going to get it into one admin so I wouldn't have to worry about going into two - initially would have been harder, but in the long run it would have been very convenient. I guess I will just have to deal with it :smile:
Thanks for your response!
I think the problem is within the sidebox code. I inserted the code posted earlier in this thread:
<?php
$posts = get_posts('numberposts=5'); // change to whatever number of posts to show
foreach($posts as $post) :
setup_postdata($post);
?>
<hr />
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php the_date(); ?>
<?php the_content(); ?><hr />
<?php endforeach; ?>
directly into the tpl_index_default.php page and the problem with the 2nd post not being found does not happen and links and work correctly.
I'm still fiddling with it here:
http://asialuna.com/
I have asked this before but it seems like I am just a wall flower or something.
Has anyone got some ideas about a woz sitemap plugin with integration into the google zencart XML sitemap addon?
I went to wordpress and there are a number of sitemap plugins and I would like too know if anyone has some first hand experince with any and if they will work with the googole XML sitemap for zencart.
Plus it would be nice to have the wordpress pages and posts on the zencart core sitemap too!
Hello. I want to say thank you to everyone who has posted in this thread. I've found all the content to be helpful in overcoming most all of my hurdles so far. If something could go wrong in my installation it seemed to go wrong.
I am using the most updated versions of both Wordpress and Zen Cart. It is finally working and doing exactly what I want it to do overall. Thanks to the previous posts in this thread.
What I am experiencing now is likely my own lack of programming knowledge and capabilities with css. That is my guess anyway. I am using the Glacial Age theme template in zencart.
The word press template is not fitting nicely inside of the space intended for the main page information and thus pushes the right column well beyond the background and border.
I saw some spacing issues mentioned previously and someone said they had to comment out all of the background images, borders, and font families in the word press template css file. I tried that and it didn't change anything for me other than not having the blue word press header. Which I would be quite happy to get rid of if I could figure out how to move the main information up.
The site is: http://arcmassage.com/zencart/index....page=wordpress
Zencart is live and working, wordpress is new.
I also have the zencart-and-wordpress-user-integration plug in from Chris Black installed and I hoping to install the checkout without registering one as well.
Any assistance is greatly appreciated.
Dora
**deleted**
As with any help forum, answers not being posted don't mean you are being ignored.. It may simply mean that no one has an answer to your specific question.. Have you tried posing your question on the WordPress forum?? You might luck out by posing the question the other way around..
========================================================================
I appreciate the suggestion.. I'll test this out for the next time I use WOZ.. In the meantime for the sake of expediency, I had to come up with a resolution for my two clients who I'm using the WOZ add-on with. For these two clients, I opted to use the sideboxes only on the Zen Cart side, and then skin the WordPress blog to match. (I cheated a little by finding WordPress templates which were VERY similar to the Zen template I was creating.)
========================================================================
Sounds like you have more CSS adjustments to make.. My suggestion is to get the Firefox developer tools and have a look at the WordPress content and set the width of the the containers which hold the main WordPress content. If they are fixed widths, you may need to either remove the width settings or set them to 100%..
I am assuming this is some kind of WordPress plug-in. Can you confirm this??
Thank you very much. I will look into that. Anything to make this a little easier on a non-programmer. :) I know enough to get myself into trouble.Quote:
Sounds like you have more CSS adjustments to make.. My suggestion is to get the Firefox developer tools and have a look at the WordPress content and set the width of the the containers which hold the main WordPress content. If they are fixed widths, you may need to either remove the width settings or set them to 100%..
Yes it is a WordPress plug-in, but everything is installed in the Zen Cart directory. Here is the link: http://wordpress.org/extend/plugins/...r-integration/Quote:
I am assuming this is some kind of WordPress plug-in. Can you confirm this??
Can anyone tell me if they've had any luck installing any of the SEO plugins for this application? I have 2.71 successfully installed on my site with the Simple SEO URL's mod for Zen.
My urls look beautiful but I have no control over the title, description, or keywords on my blog. Does anybody have any luck with this?
Glad that helped.. The Firefox dev tools are very useful..
Thanks for the information! :)
My guess is that you can't control them since they are generated by WordPress and not Zen Cart.. Have you tried posing this question on the SEO support thread as well??
Using: WP 2.51, ZC 1.38a, Simple SEO URL 3.6.6
I'm also not interested to upgrade to WP 2.71. I don't think upgrading will solve this problem. As it is, WOZ is working on my site, just the URLs are not showing up properly.
Main WP page in zen cart: http://www.singaporevault.com/store/...page=wordpress
I need help with the following:
Archives Sidebox:
Current: http://www.singaporevault.com/store/?m=200903
Need it change to: http://www.singaporevault.com/store/...press&m=200903
Categories Sidebox:
Current: http://www.singaporevault.com/store/?cat=3
Need it change to: http://www.singaporevault.com/store/...ordpress&cat=3
Individual Post:
Current: http://www.singaporevault.com/store/?p=71
Need it change to: http://www.singaporevault.com/store/...wordpress&p=71
Individual Page:
Current: http://www.singaporevault.com/store/?page_id=3
Need it change to: http://www.singaporevault.com/store/...ress&page_id=3
I can't seem to figure out what and where needs to be adjusted. It doesn't seem too difficult but I'm at a lost.
I think I've narrowed my problem further.
Currently my URL comes up as: www.mysite.com/store/?cat=1
I needthe URL to show up as any one of the following:
1) www.mysite.com/store/wordpress?cat=1 or
2) http://www.mysite.com/store/index.ph...ordpress&cat=1 or
3) http://www.mysite.com/store/?index.p...ordpress&cat=1
Basically I need to add:
1) "wordpress" before of "?" or
2) "index.php?main_page=wordpress&" after "?"
Your question (and the answer) sounds more like a question for the SEO support thread.. Have you tried posing it there??? If you read through this support thread, most of the questions and answers are dedicated to configuring the WOZ mod to work. I do believe that part of the issue with SEO mods and this mod may be related to the fact that URL's are actually generated by WordPress (the URLS you are indicating are being generated as examples are indeed the way the URLs will be formatted). But that would be something that someone in the SEO support thread might be able to answer..
Some additional thoughts.. To get URLs formatted the way you want would require changes to the WOZ mod.. With the exception of the main blog page URL, the URLs generated by WordPress are indeed WordPress generated URLs, not Zen Cart generated URLs. Therefore Zen Cart SEO mods will not be able to manage these URLS.. A possible solution is to install a WordPress SEO mod instead.. The most likely solution is a modification of the WOZ mod..
The original developer of this mod is LONG gone (he hasn't made an appearance here in well over a year and is absent on his own blog). If no one pops into this thread with a solution and you really want this, you might try posting your needs on the commercial forum.. I've had good success with postings there for things clients insisted on having..
I've also posted this question in the SEO thread. But as this is more of a Wordpress issue, those people in the SEO thread can't help much.
I know that Wordpress generates URLs on its own and my problem is the way Wordpress generates it. I'm trying to figure out how to change that.
If someone can point to me how WOZ makes the main page for Wordpress to become "index.php?main_page=wordpress", I might be able to figure something out on how to add it in front of all Wordpress generated URLs.
Edit:
opps... didn't read your 2nd post. I might try to use a Wordpress SEO mod to add in the word "wordpress" but I highly doubt it would work. I'm now trying to figure out how to mod the WOZ files. I can't seem to find anything inside WOZ that calls the URL from Wordpress and mod it from there.
I know there's another user who is using WP 2.7 and ZC and the ZC SSU who has success but the person doesn't know how it was done. They were fooling around with the programs and it just happened to work.
I don't see why it wouldn't.. In theory it should work. WOZ is simplyWordPress within a Zen Cart wrapper so to speak.. (Hence why the URLS -- except ONE -- are URLs that are generated by WordPress) So a WordPress SEO might do the trick..
A hint on how to accomplish this via WOZ might be found in Kiddo's fix for the WOZ + WordPress v2.7.X main links. Her fix might provide you with a hint on how to accomplish what you are trying to achieve within WOZ.
Hi there,
thanks again for your advice. I did try the Kiddo's fix for WP 2.7 yesterday when I was testing out various options but it was a no-go. After reading your suggestion, I went back and tried the fix and with a little tweaking, I got it to work. Not a perfect SEO type of URL but at least my ZC SEO program works and does not interfere with WP now.
Thanks again for your advice and help!!
No no no.. You don't get away that easily!!!:laugh: Time to SHARE what you did.. Especially since you were the second person to ask about this very thing in the last week.. Gotta give back to those who held your hand while you sweated out a solution!:laugh::laugh: (Okay the last part is OVER the top..:laugh: but you get my point!)
I can't program, but I can troubleshoot!:laugh: Glad you found an answer that works though!
i have tried this and i get an error......
ok well i have no idea what just happened i just applyed the code to the define_mainpage and now it works??:shocking:??? now is there a way to make the main wp section the home page? or would i just point my domain name to http://sirryche.com/pawnshop/index.p...page=wordpress. i would like to have the wp as the main home page. an not just a recap of the current blogs. thnaks
waa just found out that when i click on a link on the sidebox it will go to that link but then the sidebox will be empty and at the bottom of that new page would have the links displaying . i looked around for wp sidebox problems so if somebody could point the way i be a very happy puppy :)
Look inside wordpress-config.php for the following code:
Then insert:Code:
$i=strlen(DIR_WS_CATALOG);
$req=substr($_SERVER['REQUEST_URI'],$i,1);
if($req=='?'){
$_GET['main_page']='wordpress';
}
I don't think the code I came up with is written properly but it works for me. Now my WP in ZC pages (eg: cat, page_id, p) do not go to the 404 Page Not Found. If anyone knows how to write the code properly, please let me know. The last sentence of the code looks wrong but it works for now.Code:
$i=strlen(DIR_WS_CATALOG);
$req=substr($_SERVER['REQUEST_URI'],$i,1);
if(($req=='?') && ($_GET['main_page']=='wordpress')) {
$_SERVER['REQUEST_URI'] = str_replace("?","wordpress?",$_SERVER['REQUEST_URI']);
}
The above code is to solve my issue with regards to SSU 3.3.6, ZC 1.38a, WOZ.
Hello all,
I've gotten Wordpress working with a pretty-heavily-customized 1.3.7 install of Zen Cart, and it's working great except for one problem.
When I add the "Recent Posts" widget to the sidebar, it suddenly can't find a number of the posts. Here's what I mean.
* I have the "Categories" widget enabled (not in dropdown mode)
* I click, say, the "Zen Cart" category
* It loads just fine
Then I enable "Recent Posts" and:
* I click the "Zen Cart" category again
* It says "Sorry, but there aren't any posts in the Zen Cart category yet."
Not to mention that only a few (one, right now) links in the Recent Posts area work. The rest go to the Wordpress 404 page, still loading in my ZC template of course.
The Post Count in parentheses next to the category name says that there are 3 posts, which is correct, whether I have Recent Posts enabled or not.
Has anyone encountered anything like this before? I'm fine with PHP, but this is for a client whose site we're migrating - everything needs to stay the same, thus the need to have Recent Posts enabled in the first place - and we can't afford to dig through the Wordpress code for hours on end. Any help would be very greatly appreciated.
The only fix I have found for this is to include the code found earlier in this thread on the define_main_page.php file
but then the posts appear in the center content area
There is something wrong with the wordpress sidebox code
whats up with the original dev of this plugin? Is it abandoned?
I always recommend to people to read through the entire support thread for the add-ons. Not to be snarky, but becasue it really is incredibly helpful. Teh support threads gives you a sense of the common issues (and sometimes solutions to those issues), and a general sense of what you can expect to encounter when installing an add-on.. The problem you speak of sounds a LOT like the problem I reported..
The answer is that there is no solution, but a workaround. Please go back to around page 63-65.. Somewhere in there is my saga, and workaround solution. Basically I decided to fore go the primary function of WOZ (embedding WordPress inside Zen Cart) and opted instead to run WordPress as a standalone blog and using the widgets function in WordPress create links back to my Zen Cart store, and on the Zen Cart side I used only the WOZ sideboxes. This requires some slight adjustments in how you configure WOZ, but it solved my immediate issue and still tied WordPress to Zen in a nice way (IMO at least)
HTH