Page 70 of 186 FirstFirst ... 2060686970717280120170 ... LastLast
Results 691 to 700 of 1859
  1. #691
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Wordpress On Zencart / Released

    Quote Originally Posted by Svault View Post
    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.

  2. #692
    Join Date
    May 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: Wordpress On Zencart / Released

    Quote Originally Posted by DivaVocals View Post
    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!!

  3. #693
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Wordpress On Zencart / Released

    Quote Originally Posted by Svault View Post
    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!!! 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! (Okay the last part is OVER the top.. but you get my point!)

    I can't program, but I can troubleshoot! Glad you found an answer that works though!

  4. #694
    Join Date
    Feb 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: Wordpress On Zencart / Released

    Quote Originally Posted by misty View Post
    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..

    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????? 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
    http://www.tias-lingerie.com ######## lingerie for ######## ladies
    http://www.oohlalalingerie.com ###### and have some fun!
    http://www.top100lingeriewebsites.com

  5. #695
    Join Date
    Feb 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: Wordpress On Zencart / Released

    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 :)
    http://www.tias-lingerie.com ######## lingerie for ######## ladies
    http://www.oohlalalingerie.com ###### and have some fun!
    http://www.top100lingeriewebsites.com

  6. #696
    Join Date
    May 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: Wordpress On Zencart / Released

    Quote Originally Posted by DivaVocals View Post
    No no no.. You don't get away that easily!!! 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! (Okay the last part is OVER the top.. but you get my point!)

    I can't program, but I can troubleshoot! Glad you found an answer that works though!
    Look inside wordpress-config.php for the following code:

    Code:
    	
    $i=strlen(DIR_WS_CATALOG);
    	$req=substr($_SERVER['REQUEST_URI'],$i,1);
    	if($req=='?'){
    		$_GET['main_page']='wordpress';
    	}
    Then insert:

    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']);
    	}
    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.

    The above code is to solve my issue with regards to SSU 3.3.6, ZC 1.38a, WOZ.
    Last edited by Svault; 25 Mar 2009 at 07:05 AM.

  7. #697
    Join Date
    Aug 2005
    Location
    Santa Cruz, CA
    Posts
    26
    Plugin Contributions
    0

    Default Re: Wordpress On Zencart / Released

    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.

  8. #698

    Default Re: Wordpress On Zencart / Released

    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?

  9. #699
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Wordpress On Zencart / Released

    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
    Quote Originally Posted by tfortan View Post
    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.

  10. #700
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Wordpress On Zencart / Released

    Quote Originally Posted by loosefast View Post
    whats up with the original dev of this plugin? Is it abandoned?
    Yep.. it would appear that way.. Such is the nature of open source..

 

 

Similar Threads

  1. EasyPopulate 4.0 Support Thread
    By chadderuski in forum Addon Admin Tools
    Replies: 3662
    Last Post: 30 Apr 2025, 04:14 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 20
    Last Post: 23 Apr 2025, 08:49 AM
  3. WordPress® for Zen Cart® (wp4zen) [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 109
    Last Post: 1 Dec 2024, 01:36 PM
  4. PurpleShades Support Thread
    By kobra in forum Addon Templates
    Replies: 122
    Last Post: 18 May 2011, 07:18 PM
  5. ZJ Black 2 support thread
    By Liamv in forum Addon Templates
    Replies: 1
    Last Post: 15 Feb 2010, 02:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR