Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
NorthPoleWholesale
Well, going to my gut yes, no hope for my head though... I can exercise to help my gut. :flex: THNX! :D
Before I continue though, I am gonna re-install it all in the same directory. The advantages outweigh the extra work to keep them seperate... I am sure I will run into index.php issues but, I noticed lots of info previously in this thread that will prob answer my issues.
Thanks again all..
You can avoid the index.php issues by not copying over thw WordPress index.php..
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
DivaVocals
You can avoid the index.php issues by not copying over thw WordPress index.php..
Safest way is to rename zencart index.php to index_ZENCART.php before moving or installing WordPress
:wink:
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
DivaVocals
You can avoid the index.php issues by not copying over thw WordPress index.php..
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:
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
misty
Safest way is to rename zencart index.php to index_ZENCART.php before moving or installing WordPress
:wink:
Thanks Misty,
I read that earlier from you too. You posted a bunch of good info I will refer to.
I am outta here for now. A cold YBOR GOLD Amber Lager is calling my name. (Along with the kids wanting fed...) :hug:
GREAT SUPPORT FORUM AND MEMBERS! :bigups:
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
misty
Safest way is to rename zencart index.php to index_ZENCART.php before moving or installing WordPress
:wink:
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..
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
misty
Show wordpress posts on main page of zencart..
Post following code into define_main_page.php
Code:
<?php
require('./wp-blog-header.php');
?><?php
$posts = get_posts('numberposts=2'); // change to whatever number of posts to show
foreach($posts as $post) :
setup_postdata($post);
?>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php the_date(); ?>
<?php the_content(); ?><hr />
<?php endforeach; ?>
Alter 2, marked red, to number of posts to show..
:smile:
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:
Re: Wordpress On Zencart / Released
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
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
cpixi
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
Should work just fine on a modded cart.. I just uploaded to my client's modded dev site, and all is very right in the world..:smile:
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
DivaVocals
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..
As you have installed wordpress mod many times, am sure that method works for you..However, for newbies to this mod,
renaming zencart index.php is much safer method..
:wink:
Re: Wordpress On Zencart / Released
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